Skip to content
Letta Platform Letta Platform Letta Docs
Sign up

Access Tokens

List tokens (Cloud-only)
GET/v1/client-side-access-tokens
Create token (Cloud-only)
POST/v1/client-side-access-tokens
Delete token (Cloud-only)
DELETE/v1/client-side-access-tokens/{token}
ModelsExpand Collapse
AccessTokenListResponse object { hasNextPage, tokens }
hasNextPage: boolean
tokens: array of object { token, expiresAt, hostname, policy }
token: string
expiresAt: string
hostname: string
policy: object { data, version }
data: array of object { id, access, type }
id: string
access: array of "read_messages" or "write_messages" or "read_agent" or "write_agent"
One of the following:
"read_messages"
"write_messages"
"read_agent"
"write_agent"
type: "agent"
version: "1"
AccessTokenCreateResponse object { token, expiresAt, hostname, policy }
token: string
expiresAt: string
hostname: string
policy: object { data, version }
data: array of object { id, access, type }
id: string
access: array of "read_messages" or "write_messages" or "read_agent" or "write_agent"
One of the following:
"read_messages"
"write_messages"
"read_agent"
"write_agent"
type: "agent"
version: "1"
AccessTokenDeleteResponse = unknown