cloadyDocs
API ReferenceEndpointsWorkspaces

Read a logged prompt

The prompt and response kept for one request of the log, when prompt logging was on (developer role). `at`, the entry's time from listAiLogs, narrows the search; without it the whole retention period is read.

GET
/api/workspaces/{workspaceSlug}/ai/logs/{entryId}
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
entryId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Query Parameters

at?string
Lengthlength <= 40

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/ai/logs/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "prompt": "string",  "response": "string"}