latestOpenAPI 3.1.02026-08-22172405521.1 KB

6dac6bb49f72

chat

List chat completions

List stored chat completions, one per conversation.

Only conversation tips are returned: a completion is listed unless another stored completion continues from it via previous_completion_id.

get/v1/chat/completions

Query parameters

limitinteger

Number of completions to return

Number of completions to return

afterstring nullable

Completion ID to list completions after (older than)

Completion ID to list completions after (older than)

qstring nullable

Filter by title (case-insensitive substring)

Filter by title (case-insensitive substring)

includestring[] nullable

Extra fields to include, e.g. store_search_call.results, store_grep_call.results, store_list_chunks_call.results or transcript; unsupported values are ignored

Extra fields to include, e.g. store_search_call.results, store_grep_call.results, store_list_chunks_call.results or transcript; unsupported values are ignored

Response

The latest completion of each conversation, newest first

object'list'
first_idstring nullable
last_idstring nullable
has_moreboolean