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
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 tenant_id
for which you would like to fetch conversations.
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
id
String
Conversation ID to fetch.
Query Parameters
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 tenant_id
for which you would like to fetch conversations.
If tenant_id
is passed, the conversation must be associated to the given tenant, else a permissions exception will be raised.
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