Response

Cancel a response

Changed on

Cancel a background response that is in progress. If the response is already completed, failed, or cancelled, this returns the response as-is.

post/responses/{id}/cancel

Request

  • Base URL
    https://api.cloudglue.dev/v1
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The ID of the response to cancel

Response

Response cancelled or current status returned

idstring uuid

Unique identifier for the response

object'response'

Object type identifier

status'in_progress' | 'completed' | 'failed' | 'cancelled'

Current status of the response

created_atinteger

Unix timestamp of when the response was created

modelstring

The model used for the response

instructionsstring nullable

The system instructions used

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      added to the / response property oneOf list for the response status

    • breaking

      the / response's property type changed from object to no type for status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status