POST / audit / conversations; GET / audit / conversations / { conversationId }; POST / audit / prompt - runs; GET / audit / prompt - runs / { promptRunId };
Overview of the Audit Report API endpoints
POST /audit/conversations
{ "conversations": [ { "id": "string", "name": "string", "createdAt": "string", "updatedAt": "string", "externalUserId": "string" } ], "total": 0 }
GET /audit/conversations/{conversationId}
{ "id": "string", "conversationId": "string", "messages": [ { "role": "user|assistant", "content": "string", "timestamp": "string" } ], "metadata": { "key": "value" } }
POST /audit/prompt-runs
{ "promptRuns": [ { "id": "string", "promptId": "string", "promptVersionId": "string", "createdAt": "string", "status": "string" } ], "total": 0 }
GET /audit/prompt-runs/{promptRunId}
{ "id": "string", "promptId": "string", "promptVersionId": "string", "input": { "replacements": { "key": "value" } }, "output": "string", "createdAt": "string", "completedAt": "string", "status": "string" }