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
      • GETGet client token value
      • POSTRegenerate client token
      • GETList conversations for client token
Dashboard
LogoLogo
Runtype APIClient Tokens

List client tokens

GET
/v1/client-tokens
GET
/v1/client-tokens
$curl https://api.runtype.com/v1/client-tokens \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "clientTokens": [
3 {
4 "id": "a1b2c3d4-e5f6-7890-ab12-cdef34567890",
5 "name": "Customer Support Widget",
6 "flowIds": [
7 "flow-1234abcd",
8 "flow-5678efgh"
9 ],
10 "defaultFlowId": "flow-1234abcd",
11 "agentIds": [
12 "agent-9876zyxw",
13 "agent-5432vuts"
14 ],
15 "allowedOrigins": [
16 "https://app.example.com",
17 "https://dashboard.example.com"
18 ],
19 "environment": "live",
20 "pinToVersion": "v2.3.1",
21 "rateLimitPerMinute": 60,
22 "rateLimitPerHour": 1000,
23 "maxMessagesPerSession": 50,
24 "sessionIdleTimeoutMinutes": 15,
25 "config": {
26 "enableLogging": true,
27 "theme": "dark"
28 },
29 "isActive": true,
30 "tokenPrefix": "csw",
31 "tokenHint": "Customer Support Token",
32 "tokenValue": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",
33 "lastUsedAt": "2024-06-10T09:45:00Z",
34 "createdAt": "2023-11-01T12:00:00Z",
35 "updatedAt": "2024-06-01T08:30:00Z",
36 "conversationCount": 1245
37 }
38 ]
39}
Get all client tokens for the authenticated user's tenant.
Was this page helpful?
Previous

Create client token

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Response

List of client tokens
clientTokenslist of objects

Errors

401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error