AI Chat

List one directory of the chat's sandbox: folders first, then files.

Changed on
get/ai/conversations/{public_id}/sandbox/files

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/conversations/{public_id}/sandbox/files
  • Auth: HTTP bearer

Path parameters

public_idstring required

Conversation public id

Query parameters

pathstring nullable

Absolute, or relative to the sandbox work directory.

Response

Directory listing

pathstring required

Absolute path of the directory listed.

truncatedboolean required

True when the directory has more than the entries returned.

work_dirstring required

The sandbox work directory, where the assistant's relative paths start.

Changes