Expand AI logo
DocsAPI ReferenceAPI Reference
Glow Active
Login

API Reference

Getting Started

API ReferenceRate LimitingError Handling

Endpoints

Start Batched FetchCancel Batched FetchFetchFetch JSON ModeHighlightsGet Batched Status
Browse docs

Getting Started

API ReferenceRate LimitingError Handling

Endpoints

Start Batched FetchCancel Batched FetchFetchFetch JSON ModeHighlightsGet Batched Status

Cancel Batched Fetch

Request cancellation. QUEUED work is cancelled immediately; CANCELLING means running work is draining. Repeated cancellation is idempotent.

Authorization

x-expand-api-key<token>

In: header

Path Parameters

Response Body

application/json

application/json

application/json

Empty

application/json

POST
/v1/fetch/batched/{id}/cancel
id*nonEmptyString

a non empty string

Length1 <= length

application/json

application/json

application/json

application/json

{
  "id": "string",
  "status": "CANCELLING"
}
{
  "issues": [
    {
      "_tag": "Pointer",
      "path": [
        "string"
      ],
      "message": "string"
    }
  ],
  "

{
  "reason": "InvalidApiKey",
  "description": "string",
  "_tag": "AuthFailed"
}
{
  "id": "string",
  "status": "COMPLETED",
  "_tag": "BatchedCancellationConflict"
}
{
  "_tag": "PayloadTooLarge"
}
{
  "_tag": "TooManyRequests"
}
{
  "_tag": "InternalError"
}
{
  "message": "string",
  "requestId": "string",
  "_tag": "ServiceUnavailable"
}
message
"
:
"string"
,
"_tag": "HttpApiDecodeError"
}