authed

Read a conversation

One conversation's exchanges with their status, cost and token counts. Returns the newest exchanges, oldest first; page backwards for earlier ones. It holds what visitors wrote but not the assistant's replies: read those with get_conversation_transcript. A full page means earlier exchanges may exist; turn_count always counts the whole conversation.

get/api/v1/conversations/{thread_id}

Request

  • Base URL
    https://api.teaflask.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.teaflask.com/api/v1/conversations/{thread_id}
  • Auth
    none declared

Path parameters

thread_idstring uuid required

The conversation's id, as list_conversations or search_conversations returns it.

Query parameters

before_created_atstring date-time nullable

The created_at of the oldest exchange already read; pass with before_id to read earlier ones.

before_idstring uuid nullable

The id of the oldest exchange already read; pass with before_created_at.

limitinteger

The most exchanges to return.

Response

Successful Response

stream_thread_idstring required

The conversation's id in its event stream.

Changes

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