List files
Returns the organization's non-deleted files ordered newest first, with cursor pagination (default 50 per page, max 200). By default only ready files appear; pass status=pending to list incomplete uploads that have not passed their upload expiry window (cancel them with DELETE /api/v1/files/{fileId}). Scope the list with folderId or path (mutually exclusive); path=/ means the root folder, and omitting both lists every folder. Each file includes contentUrl, a stable authenticated API URL for opening the file content.
Request
- Base URLhttps://app.khotan.com
- URLhttps://app.khotan.com/api/v1/files
- Auth
- HTTP bearer
- or API key in header x-api-key
Query parameters
A folder path such as "/invoices/2026". Segments match active folders case-insensitively; "/" means the root.
File status filter. Default ready. Use pending to list incomplete uploads that have not passed their upload expiry window; cancel them with DELETE /api/v1/files/{fileId}.
Response
One page of the organization's files.
Changes
No recorded changes to this operation across all 1 revision of this API.