Skip to content
OperadeDocs

Search documentation

Type to search documentation.

Documentation
Copy page
Open raw Markdown

List conversations

List workspace conversations with supported filters and pagination.

Endpoint

GET/api/v1/workspaces/{workspace_id}/conversations

Authentication

Operation classAuthenticationMinimum roleAPI key
customer-apiBearer API key or dashboard session cookie; dashboard mutations also require X-CX-Request: 1.memberAllowed

Parameters

NameInTypeRequiredDescription
workspace_idpathstringYes—
agent_idquerystring or nullNo—
branch_idquerystring or nullNo—
sourcequerystring or nullNo—
statusquerystring or nullNo—
sincequerystring or nullNo—
qquerystring or nullNo—
resultquerystring or nullNo—
topic_idquerystring or nullNo—
workflow_node_idquerystring or nullNo—
version_idquerystring or nullNo—
analysis_criterion_idquerystring or nullNo—
analysis_definition_fingerprintquerystring or nullNo—
error_typequerystring or nullNo—
end_reasonquerystring or nullNo—
tool_namequerystring or nullNo—
tool_errorqueryboolean or nullNo—
fromquerystring or nullNo—
toquerystring or nullNo—
pagequeryintegerNo—

Request body

This operation has no request body.

Example

cURL
curl --request GET 'https://operade.ai/api/v1/workspaces/ws_demo/conversations' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

StatusDescriptionContent
4XXHandled client errorapplication/json: ErrorResponse
200Successful Responseapplication/json: ConversationListResponse

4XX application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectErrorResponse—NoYes——
errorobjectErrorItem—NoYes——
error.codestring——NoYes——
error.detailsobject——NoNo——
error.messagestring——NoYes——

200 application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectConversationListResponse—NoYes——
itemsarray<ConversationSummary>——NoYes——
items[]objectConversationSummary—NoYes——
items[].agent_idstring——NoYes——
items[].agent_namestring——NoYes——
items[].analysis_statusstring——NoYes"pending", "processing", "done", "skipped", "failed"—
items[].branch_idstring——NoYes——
items[].branch_namestring——NoYes——
items[].call_successfulboolean or null——YesYes——
items[].cost_usdstring——NoYes——
items[].duration_secondsinteger——NoYes——
items[].end_reasonstring or null——YesYes——
items[].ended_atstring or null—date-timeYesYes——
items[].external_user_idstring or null——YesYes——
items[].idstring——NoYes——
items[].input_tokensinteger——NoYes——
items[].is_draft_runboolean——NoYes——
items[].output_tokensinteger——NoYes——
items[].sourcestring——NoYes"test_chat", "widget", "api", "channel", "agent_test"—
items[].started_atstring—date-timeNoYes——
items[].statusstring——NoYes"active", "ended", "failed"—
items[].titlestring or null——YesYes——
items[].turn_countinteger——NoYes——

Response example

Response body JSON
{
  "items": []
}

Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the distributed error index to find each code's canonical domain page.

StatusCodeDescription
401unauthenticatedAuthentication is missing, invalid, or revoked.
403forbiddenThe authenticated caller does not have access to this operation.
404not_foundThe requested workspace resource was not found.
On this page
  1. Endpoint
  2. Authentication
  3. Parameters
  4. Request body
  5. Example
  6. Responses
  7. 4XX application/json response schema
  8. 200 application/json response schema
  9. Response example
  10. Errors
  11. Related operations