Delete a batch file
Deletes a batch input, output, or error file and its content. The input file of a batch that has not ended returns 409 with the code file_in_use; delete it after the batch ends.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
file_id
Id of a batch input, output or error file.
Response
File deleted.
id
object
Allowed values:
deleted
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
503
Service Unavailable Error
