Suggested Topics
API methods related to the Context.ai generated topics
List Suggested Topics
All suggested topics
GET
https://api.context.ai/api/v1/suggested_topics
Fetches a list of all suggested topics. If tenant_id
is provided, fetches the suggested topics for the given tenant, otherwise fetches the suggested topics for the top level Context.ai account associated with the API key.
Query Parameters
Name | Type | Description |
---|---|---|
tenant_id | String | The |
path | Integer | Page number of results to return. Defaults to 1. |
per_page | Integer | Number of results to return per page. Defaults to 20. |
List Conversations
All conversations within a suggested topic
GET
https://api.context.ai/api/v1/suggested_topics/:id/conversations
Fetches conversations within a suggested topic. If tenant_id
is provided, fetches the conversations for the given tenant, otherwise fetches the conversations for the top level Context.ai account associated with the API key.
Path Parameters
Name | Type | Description |
---|---|---|
id | String | ID of the suggested topic |
Query Parameters
Name | Type | Description |
---|---|---|
tenant_id | String | The If |
end_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to now. |
start_time | String | ISO-8601 timestamp indicating the start of when you would like to fetch conversations. Defaults to 7 days ago. |
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