containers
Create Container
Container creation endpoint for creating new containers.
Follows the OpenAI Containers API spec: https://platform.openai.com/docs/api-reference/containers
Example:
curl -X POST "http://localhost:4000/v1/containers" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H "Content-Type: application/json" -d '{
"name": "My Container",
"expires_after": {
"anchor": "last_active_at",
"minutes": 20
}
}'
Or specify provider via header:
curl -X POST "http://localhost:4000/v1/containers" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H "custom-llm-provider: azure" -H "Content-Type: application/json" -d '{
"name": "My Container"
}'
post/v1/containers
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/v1/containers
- Auth: API key in header x-litellm-api-key
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.