Admin

Chat History Paginated

Get paginated chat history with server-side filtering and sorting.

This endpoint replaces client-side pagination for better performance.

get/api/chat_history_paginated

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/chat_history_paginated
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Query parameters

pageinteger

Page number (1-indexed)

per_pageinteger

Items per page

sort_bystring

Sort column

sort_orderstring

Sort direction

filter_typestring

Type filter: all, agentic (Analysis), app (App building: chats that built or edited an app), context_agent (Root), proposals, scheduled (has a schedule), is_scheduled (created by a schedule), shared, training or archived

searchstring nullable

Search term

labelsstring nullable

Comma-separated label names

usersstring nullable

Comma-separated user display names

start_datestring nullable

First day (YYYY-MM-DD) of last activity, included, in tz

end_datestring nullable

Last day (YYYY-MM-DD) of last activity, included, in tz

tzstring nullable

Viewer's IANA timezone for the date range (default UTC)

reviewstring nullable

Comma-separated review outcomes; a chat matching any of them is kept

Response

Successful Response

unknown required

Changes

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