Snoze Developers
API referenceRag

List Sources

GET
/v1/workspaces/{workspaceId}/rag/chats/{chatId}/sources
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
chatId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/rag/chats/string/sources"
{  "data": [    {      "sourceKind": "page",      "sourceId": "string",      "sourceLabel": "string",      "chunkCount": 0,      "selected": true    }  ]}