Files

Delete a file and remove it from all vector stores.

delete/files/{file_id}

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/files/{file_id}
  • Auth
    HTTP bearer

Path parameters

file_idstring required

The ID of the file to use for this request.

Response

OK

idstring required
object'file' required
deletedboolean required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status