Interlaken
API referenceAgents and workflowsWorkspaces

List a workspace's chats newest-first (kind run|team + ref_id to open the run/team surface). Cursor: before=<seq>.

GET
/api/v1/workspaces/{id}/chats

Requires the workspaces:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Query Parameters

before?string
limit?integer

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/workspaces/string/chats"
{  "items": [    {      "created_at": "2019-08-24T14:15:22Z",      "kind": "string",      "ref_id": "58ed4a6c-926f-4b2f-b688-ecd86db2ed34",      "seq": "string",      "title": "string"    }  ],  "total": 0}