GET /v1/{account_id}/{project_id}/conversations
Returns all conversations matching filters.
Request
- Base URLhttps://api.us.poly.ai
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Account ID.
Project ID.
Query parameters
Client environment – sandbox, pre-release or live.
Start of the time range of the conversations to get, in ISO8601 format.
End of the time range of the conversations to get, in ISO8601 format.
Max number of conversations to return per API call. If the result set is larger than this, it will be paginated.
Offset within the result set to fetch.
Return all conversations under this variant_id. You may specify either variant_id or variant_name, not both.
Return all conversations under this variant_name. You may specify either variant_id or variant_name. Encode spaces as "%20".
If false, only return finished conversations. If true, only return conversations still in progress. If omitted, return all conversations.
Response
OK.
Example response
{
"conversations": [
{
"id": "CAabcd1234567abcdef1250065d4fc7389",
"metrics": {
"CALL_DURATION": "30",
"CALL_TURN": [
"2022-02-18T12:09:05.12677Z",
"2022-02-18T12:09:17.90602Z",
"2022-02-18T12:09:29.57732Z",
"2022-02-18T12:09:35.36996Z"
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.