Skip to main content
List a chat's current workspace file heads

Authorizations

Authorization
string
header
required

Authorization: Bearer stefan_sk_... (API key — bills the API wallet) or stefan_oat_... (OAuth member token — bills your plan pool).

Query Parameters

chat_id
string
required

The chat whose files to list (a chat UUID or chat_... id).

limit
integer

Opt into pages of 1 to 200 files in path order. Omit for the unchanged full listing.

Required range: 1 <= x <= 200
cursor
string

Opaque next_cursor from the preceding page. Requires limit and expires after 15 minutes.

Response

Current workspace file heads.

object
string
Allowed value: "workspace_file_list"
chat
string
complete
boolean

True for the full listing or the last page; false when next_cursor names another page.

files
object[]
next_cursor
string | null

Present for paged responses. Pass it with limit to continue; null on the last page.