For the complete documentation index, see llms.txt. This page is also available as Markdown.

Storage objects

Lists all objects (files) in a bucket

get

Required Permission: buckets.objects.list

Resource: buckets/:bucketId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
bucketIdstringRequired
Responses
200

List of all objects.

application/json
errorstringOptional

Optional error message.

get
/v1/buckets/{bucketId}/objects

Uploads a new object (file) to a bucket

post

Required Permission: buckets.objects.create

Resource: buckets/:bucketId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
bucketIdstringRequired
Body
datastring · binaryRequired

The file to be uploaded.

filenamestringOptional

An optional filename. If not specified, the original name of the file will be used.

Responses
post
/v1/buckets/{bucketId}/objects

Retrieves a specific object

get

Required Permission: buckets.objects.get

Resource: buckets/:bucketId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
bucketIdstringRequired
objectIdstringRequired

The ID (name/path) of the object to retrieve

Responses
200

Object details.

application/json
errorstringOptional

Optional error message.

get
/v1/buckets/{bucketId}/objects/{objectId}

Deletes an object from a bucket

delete

Required Permission: buckets.objects.delete

Resource: buckets/:bucketId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
bucketIdstringRequired
objectIdstringRequired

The ID (name/path) of the object to delete

Responses
200

Result of the deletion operation.

application/json
deletedbooleanRequired

Indicates whether the deletion operation was successful.

Example: true
errorstringOptional

Optional error message.

delete
/v1/buckets/{bucketId}/objects/{objectId}

Last updated