Skip to contents

Cancel a background Responses API response

Usage

foundry_response_cancel(response_id, api_key = NULL, endpoint = NULL)

Arguments

response_id

Character. The response ID to cancel.

api_key

Character. Optional API key override.

endpoint

Character. Optional endpoint override.

Value

A one-row tibble parsed like foundry_response().

Examples

if (FALSE) { # \dontrun{
foundry_response_cancel("resp_abc123")
} # }