Archive a chat

This endpoint marks a chat as archived by setting its archived_at timestamp. Archived chats can be filtered out from the recent chats listing by default. Delegated runs spawned from the chat are archived along with it, except those whose run has not finished yet.

post/api/v1beta/chats/{chat_id}/archive

Request

  • The document declares no server URL.
  • Auth: bearer_auth (a scheme the document does not define)

Path parameters

chat_idstring required

The ID of the chat to archive

Request body

ArchiveChatRequest required

Request to archive a chat

Response

Successfully archived the chat

archived_atstring date-time required

The time when the chat was archived

chat_idstring required

The ID of the archived chat

Changes

No recorded changes to this operation across all 51 revisions of this API.