playground

Delete Playground File

Changed on

Delete one of the caller's files. Another identity's answers 404, as a nonexistent one does.

A saved transcript that attached the file keeps its record of the attachment, but the file is gone, so sending that turn again does not send its contents.

delete/api/v1/playground/files/{file_id}

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Path parameters

file_idstring required

Query parameters

workspace_idstring uuid nullable

Workspace to act in. Defaults to the caller's organization's default workspace. A workspace the caller is not a member of answers 404, as a nonexistent one does.

Response

Successful Response

deletedtrue
idstring required
object'file'

Changes