Blue Guardrails

Get Conversation

GET
/v1/conversations/{conversation_id}

Get a specific conversation with its details.

Retrieve a single conversation by ID. Use embed=(messages) to include the full message history with generation metadata (tokens, model, latency).

Path Parameters

conversation_id*Conversation Id
Formatuuid

Query Parameters

embed?|

Embed resources: (messages)

Header Parameters

x-workspace-id?|

Workspace UUID for session-authenticated calls.

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "external_id": "string",  "type": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "message_count": 0,  "annotation_count": 0,  "tool_call_annotation_count": 0,  "total_input_tokens": 0,  "total_output_tokens": 0,  "generation_models": [    "string"  ],  "tags": {    "property1": "string",    "property2": "string"  },  "first_message_preview": "string",  "messages": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "role": "string",      "parts": [        {}      ],      "sequence_number": 0,      "origin_agent_run_id": "string",      "origin_run_tags": {        "property1": "string",        "property2": "string"      },      "event_time": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "generation": {        "model": "string",        "input_tokens": 0,        "output_tokens": 0,        "cost_usd": 0,        "latency_ms": 0,        "time_to_first_token_ms": 0,        "cache_creation_input_tokens": 0,        "cache_read_input_tokens": 0,        "input_without_cache_tokens": 0,        "reasoning_output_tokens": 0,        "output_without_reasoning_tokens": 0,        "operation_cost_usd": 0,        "calculated_cost_usd": 0,        "input_cost_usd": 0,        "input_without_cache_cost_usd": 0,        "cache_creation_cost_usd": 0,        "cache_read_cost_usd": 0,        "output_cost_usd": 0,        "output_without_reasoning_cost_usd": 0,        "reasoning_cost_usd": 0,        "response_id": "string",        "provider": "string",        "finish_reasons": [          "string"        ],        "agent_description": "string",        "agent_id": "string",        "agent_name": "string",        "request_parameters": {}      }    }  ]}