Conversations

Get conversation

GET /api/v1/agents/{agentId}/conversations/{conversationId}

Get conversation

Returns a conversation summary for an agent configured for a company.

Parameters

Name In Type Description
agentId * path integer

Internal agent id.

conversationId * path integer

Internal conversation id.

Responses

Status Schema Description
200 ConversationDetail | null

Conversation summary

401 AgentError

Missing or invalid auth

403 AgentError

Caller cannot access this conversation

Example 200 response
{
    "id": 1,
    "agentId": 1,
    "identifier": "string",
    "title": "string",
    "resolved": true,
    "createdAt": "string",
    "updatedAt": "string",
    "messageCount": 1,
    "metadataCount": 1
}
Example 401 response
{
    "error": "string",
    "message": "string",
    "issues": [
        {
            "path": [
                "string"
            ],
            "message": "string",
            "code": "string"
        }
    ]
}
Example 403 response
{
    "error": "string",
    "message": "string",
    "issues": [
        {
            "path": [
                "string"
            ],
            "message": "string",
            "code": "string"
        }
    ]
}