For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

Voice agentsData collection

Get what the agent collected in a chat

GET
/v1/agent-media/chat-conversations/{conversationId}/collected

The values the agent recorded during one chat, one submission per agent (a chat that switched agents can have more than one). Empty when the agent collected nothing. Values are personal data the visitor gave.

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Path Parameters

conversationId*string

The conversation's visitor-facing id, or the id it reports under in Call Logs.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agent-media/chat-conversations/string/collected"
{  "submissions": [    {      "conversationId": "string",      "channel": "voice",      "agentId": "string",      "values": {        "property1": {          "label": "string",          "kind": "string",          "status": "provided",          "value": "string",          "reason": "string",          "recordedAt": "2019-08-24T14:15:22Z"        },        "property2": {          "label": "string",          "kind": "string",          "status": "provided",          "value": "string",          "reason": "string",          "recordedAt": "2019-08-24T14:15:22Z"        }      },      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}