Chat

Home Search

Homepage search across the authenticated user's chats and reports.

Each result represents a chat (one row per chat); when the chat has a generated report, the latest report's title/poster are surfaced too. The search query (q) matches case-insensitively against both chat_title and the latest report's title. The matched_on field on each item indicates which field actually matched.

All filters are additive (AND). Chats with no report are treated as having status draft and domain standard.

Authentication Required: Yes (JWT token)

get/api/v1/home-search

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: token

Query parameters

qstring nullable

Case-insensitive substring matched against chat title and latest report title

domainstring nullable

Comma-separated category slugs to filter by (e.g. 'standard,due_diligence')

statusstring nullable

Comma-separated report status values to filter by (e.g. 'draft,analysis-completed')

created_afterstring nullable

ISO-8601 datetime; only chats created at/after this time are returned

created_beforestring nullable

ISO-8601 datetime; only chats created at/before this time are returned

limitinteger

Page size

offsetinteger

Pagination offset

Response

Successful Response

successboolean
totalinteger required

Total matching items (use with limit/offset)

limitinteger required

Page size applied

offsetinteger required

Offset applied

Changes

No recorded changes to this operation across all 1 revision of this API.