Skip to main content
Version: Next

OpenAIFileDeleted

The OpenAIFileDeleted class represents the deletion status of a file in the OpenAI API.

Properties

Property NameTypeDescription
idTextThe ID of the deleted file (e.g., "file-abc123").
deletedBooleanWhether the file was successfully deleted. True if deletion succeeded.
objectTextThe object type, which is always "file".

Example Response

{
"id": "file-abc123",
"object": "file",
"deleted": true
}

Used by

See also