v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
OpenAI Integration

Delete file from container (OpenAI format)

Deletes a file from a container.

Note: This endpoint also works without the /v1 prefix (e.g., /openai/containers/{container_id}/files/{file_id}).

delete/openai/v1/containers/{container_id}/files/{file_id}

Path parameters

container_idstring required

Container ID

file_idstring required

File ID to delete

Query parameters

providerstring

Provider for the container (defaults to openai)

Response

Successful response

idstring

The ID of the deleted file

objectstring

The object type (always "container.file.deleted")

deletedboolean

Whether the file was successfully deleted