OpenAI Integration
Create file in container (OpenAI format)
Creates a new file in a container. You can either upload file content directly via multipart/form-data or reference an existing file by its ID.
Note: This endpoint also works without the /v1 prefix (e.g., /openai/containers/{container_id}/files).
post/openai/v1/containers/{container_id}/files
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
container_idstring required
Container ID
Query parameters
providerstring
Provider for the container (defaults to openai)
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.