Conversations
API methods for interacting with conversations and the associated analytics
List Conversations
All conversations
GET
https://api.context.ai/api/v1/conversations
Fetches a list of all transcripts. If tenant_id
is provided, fetches the conversations for the given tenant, otherwise fetches the conversations for the top level Context.ai account.
Query Parameters
Name | Type | Description |
---|---|---|
start_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to 7 days ago. |
end_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to now. |
tenant_id | String | The |
Get Conversation
Get a conversation
GET
https://api.context.ai/api/v1/conversations/:id
Fetches a single transcript by its ID. If tenant_id
is provided, uses the permissions of the provided tenant, otherwise fetches the conversations for the top level Context.ai account.
Path Parameters
Name | Type | Description |
---|---|---|
id | String | Conversation ID to fetch. |
Query Parameters
Name | Type | Description |
---|---|---|
start_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to 7 days ago. |
end_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to now. |
tenant_id | String | The If |
page | Integer | Page number of results to return. Defaults to 1. |
per_page | Integer | Number of results to return per page. Defaults to 20. |
Last updated