List container files
Lists the files in a container, in lexicographic path order. The container id is the canonical id returned in bash/shell tool results; a restarted session is a separate container with its own id. Paginate with limit and after (pass the previous page’s last_id); has_more: true always means the next page is fetchable that way.
Authorizations
API key as bearer token in Authorization header
Path Parameters
The canonical container id, exactly as returned in a bash/shell tool result — a restarted session has its own -r<nonce>-suffixed id. A session-derived id is always sess_ + the sanitized session key, which is not necessarily the raw session id that was sent.
"sess_abc123"
Query Parameters
Maximum number of files to return (1-1000). Defaults to 100 when absent.
1 <= x <= 1000100
Forward cursor: a container file id from a previous page (typically last_id); listing resumes strictly after that file.
"cfile_b3V0L3JlcG9ydC5jc3Y"
Response
The files in the container.
"cfile_b3V0L3JlcG9ydC5jc3Y"
True when another page can be fetched by passing after=last_id.
false
"cfile_b3V0L3JlcG9ydC5jc3Y"
list "list"