For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList client tokens
      • POSTCreate client token
      • GETGet client token
      • PUTUpdate client token
      • DELDelete client token
      • GETList conversations for client token
      • POSTRegenerate client token
      • GETGet client token value
Dashboard
LogoLogo
Runtype APIClient Tokens

List conversations for client token

GET
/v1/client-tokens/:id/conversations
GET
/v1/client-tokens/:id/conversations
$curl https://api.runtype.com/v1/client-tokens/id/conversations \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "conversations": [
3 {
4 "createdAt": "2024-06-10T09:15:00Z",
5 "firstMessage": "Hello, I need help with my account setup.",
6 "id": "c3f1a9d2-7b4e-4f8a-9d3e-2a1b5f6c7d8e",
7 "name": "Account Setup Inquiry",
8 "updatedAt": "2024-06-11T14:22:00Z"
9 }
10 ],
11 "pagination": {
12 "hasMore": true,
13 "limit": 1,
14 "offset": 1
15 }
16}
List conversations associated with a client token using offset pagination.
Was this page helpful?
Previous

Regenerate client token

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired

Query parameters

limitstringOptional
offsetstringOptional
flow_idstringOptional

Response

Paginated conversations
conversationslist of objects
paginationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error