Anthropic integration
Delete file (Anthropic format)
DELETE
/anthropic/v1/files/{file_id}Deletes an uploaded file.
Path Parameters
file_id*string
File ID to delete
Header Parameters
x-model-provider?string
Provider for the file
Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:8080/anthropic/v1/files/string"{
"id": "string",
"type": "file_deleted"
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}{
"type": "error",
"error": {
"type": "string",
"message": "string"
}
}Create message (Anthropic format) POST
Creates a message using Anthropic Messages API format. Supports streaming via SSE. Async inference: Send x-bf-async: true to submit the request as a background job and receive a job ID immediately. Poll with x-bf-async-id: <job-id> to retrieve the result. When the job is still processing, the response will have an empty content array. When completed, content will contain the full result. See Async Inference for details.
Get batch results (Anthropic format) GET
Retrieves results of a completed batch job.