v1

latestOpenAPI 3.0.32026-07-26710398.3 KB
Project

List Chats

List the chats of a project

get/chats

Query parameters

project_idstring

Required if using a company api key

Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
limitnumber
offsetnumber
start_datestring date

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Example:2025-09-22
end_datestring date

full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21

Example:2025-09-22
brand_idstring
prompt_idstring
model_id'chatgpt-scraper' | 'gpt-4o' | 'gpt-4o-search' | 'gpt-3.5-turbo' | 'llama-sonar' | 'perplexity-scraper' | 'sonar' | 'gemini-2.5-flash' | 'gemini-3.1-flash-lite-search' | 'gemini-scraper' | 'google-ai-overview-scraper' | 'google-ai-mode-scraper' | 'llama-3.3-70b-instruct' | 'deepseek-r1' | 'deepseek-v4-pro' | 'claude-3.5-haiku' | 'claude-haiku-4.5' | 'claude-sonnet-4' | 'grok-scraper' | 'microsoft-copilot-scraper' | 'grok-4' | 'grok-4.3' | 'qwen-3-6-plus' | 'qwen-3-7-plus' | 'amazon-rufus-scraper' | 'mistral-small-4' | 'mistral-medium-3-5'

Deprecated: use model_channel_id instead

model_channel_id'openai-0' | 'openai-1' | 'qwen-0' | 'openai-2' | 'perplexity-0' | 'perplexity-1' | 'google-0' | 'google-1' | 'google-2' | 'google-3' | 'google-4' | 'anthropic-0' | 'anthropic-1' | 'deepseek-0' | 'meta-0' | 'xai-0' | 'xai-1' | 'microsoft-0' | 'amazon-0' | 'mistral-0' | 'mistral-1'
featuresstring[]
include_archived_promptsstring
sort'asc' | 'desc'

Sort order by chat creation time. Defaults to asc (oldest first); use desc to get the most recent chats first.

Response

Success

total_countnumber required

Total number of matching chats, ignoring pagination

totalCountnumber required

Total number of matching chats, ignoring pagination

Example response

{
  "data": [
    {
      "id": "ch_61184892-36ad-4e1a-8178-3a83608f7711",
      "prompt": {
        "id": "pr_93f790de-5b7a-45ee-b782-61103c81f20d"
      },
      "model": {
        "id": "gpt-4o-search"
      },
      "model_channel": {
        "id": "openai-1"
      },
      "date": "2025-09-17"
    }
  ],
  "total_count": 42,
  "totalCount": 42
}