v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
Containers

Delete a file from a container

Deletes a file from a container.

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

Path parameters

container_idstring required

The ID of the container

file_idstring required

The ID of the file to delete

Query parameters

provider'openai' | 'azure' | 'anthropic' | 'bedrock' | 'cohere' | 'vertex' | 'vllm' | 'mistral' | 'ollama' | 'groq' | 'sgl' | 'parasail' | 'perplexity' | 'replicate' | 'cerebras' | 'deepseek' | 'gemini' | 'openrouter' | 'elevenlabs' | 'huggingface' | 'nebius' | 'xai' | 'runway' | 'fireworks' required

AI model provider identifier

The provider of the container

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