Skip to main content
Page items in a thread session object. Items are sorted by created_at.

POST /revisions/:id/data/query (Command: list_session_thread_items)

Request Body

Response

Pagination. Pass the response cursor back as the request cursor to fetch the next page; stop when cursor is null. The cursor is opaque — send it back verbatim. This is the same cursor + limit contract used by every list_* command. The created_since / created_before timestamps remain available as independent time filters.

Errors

  • invalid_thread_envelope — the alias does not exist or its value.type is not "thread".
  • invalid_cursor — the supplied cursor is malformed or expired.

Example

See also

  • BlobHub Worker — thread itemsmetadata.type discriminates worker-posted items (text, tool_call, tool_result, thinking, status, turn_end, pending_prompt, pending_prompt_resolved) from plain user posts.