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

Get Batched Status

Get persisted Batched Fetch status and paginated results with each URL's lifecycle state. CANCELLING means accepted cancellation is still draining.

Authorization

x-expand-api-key<token>

In: header

Path Parameters

Query Parameters

Response Body

application/json

Empty
GET
/v1/fetch/batched/{id}
id*nonEmptyString

a non empty string

Length1 <= length
limit?string

Maximum number of results per page (default 10, max 100)

offset?string

Offset from start (default 0)

include?string

JSON-encoded Include Options selecting captured content. When omitted, the original POST include is used. A provided include must be a subset of content captured by the POST.

application/json

application/json

application/json

application/json

application/json

application/json

{
  "id": "string",
  "status": "QUEUED",
  "batchedStatus": "QUEUED",
  "totalUrls": 0,
  "results": [
    {


















































































































































































































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

{
  "reason": "InvalidApiKey",
  "description": "string",
  "_tag": "AuthFailed"
}
{
  "_tag": "PayloadTooLarge"
}
{
  "retryable": true,
  "retryAfterSeconds": 0,
  "_tag": "TooManyRequests"
}
{
  "retryable": true,
  "_tag": "InternalError"
}
{
  "message": "string",
  "requestId": "string",
  "dispatchOutcome": "cancelled_before_start",
  "retryable": true,
  "_tag": 
"status": "QUEUED",
"data": {
"response": {
"url": "https://stripe.com/docs/api",
"requestedUrl": "https://www.stripe.com/docs/api",
"originStatusCode": 200,
"redirectStatusCode": 301,
"contentType": "text/html",
"headers": {
"content-type": "text/html; charset=utf-8"
}
},
"meta": {
"title": "Stripe API Reference",
"description": "Complete reference for the Stripe API.",
"canonicalUrl": "https://stripe.com/docs/api",
"language": "en",
"charset": "utf-8",
"favicon": "/favicon.ico",
"icons": [
{
"href": "/favicon.ico",
"rel": "icon",
"type": "image/png",
"sizes": "32x32"
}
],
"openGraph": {
"title": "Stripe | Payment Processing Platform",
"description": "Online payment processing for internet businesses.",
"type": "website",
"url": "https://stripe.com",
"siteName": "Stripe",
"locale": "en_US",
"images": [
{
"url": "https://example.com/og-image.png",
"width": 1200,
"height": 630,
"alt": "Product screenshot showing dashboard"
}
]
},
"twitter": {
"card": "summary",
"site": "@stripe",
"creator": "@johndoe",
"title": "Stripe API Reference",
"description": "Complete reference documentation for the Stripe API.",
"image": "https://stripe.com/twitter-card.png"
}
},
"json": [
{
"property1": null,
"property2": null
}
],
"snapshotId": "string",
"html": "<html><body><h1>Welcome to our API</h1></body></html>",
"markdown": "# API Documentation\n\nWelcome to our API. This guide will help you get started...",
"screenshot": {
"url": "https://s3.amazonaws.com/bucket/snapshots/abcd/screenshot.jpeg?X-Amz-Signature=...",
"fullPage": true
},
"document": {
"url": "https://s3.amazonaws.com/bucket/snapshots/abcd/document/original.pdf?X-Amz-Signature=...",
"contentType": "application/pdf",
"sizeBytes": 48213
},
"usage": {
"documentPages": 12,
"ocrPages": 0,
"audioSeconds": 0,
"videos": 0
},
"video": {
"provider": "youtube",
"videoId": "dQw4w9WgXcQ",
"title": "string",
"channel": "string",
"channelUrl": "string",
"durationSeconds": 213,
"publishedAt": "2009-10-25",
"viewCount": 0,
"language": "en",
"transcript": {
"source": "captions",
"kind": "manual",
"language": "en"
},
"segments": [
{
"startSeconds": 0,
"text": "string"
}
],
"chapters": [
{
"title": "string",
"startSeconds": 0
}
],
"storyboard": {
"frameWidth": 320,
"frameHeight": 180,
"rows": 3,
"columns": 3,
"sheets": [
{
"url": "string",
"durationSeconds": 0
}
]
}
},
"search": {
"query": "string",
"snippets": [
{
"type": "text",
"source": "markdown",
"text": "string",
"json": null,
"score": 0,
"location": {
"evidenceId": 1,
"markdownBlockId": "string",
"nodeIds": [
0
],
"stateJsonSourceId": 0,
"jsonPath": "string"
}
}
],
"meta": {
"durationMs": 0,
"sources": [
{
"source": "markdown",
"chunkCount": 0,
"batchCount": 0,
"ranker": "zeroentropy",
"fallback": true,
"fallbackReason": "timeout",
"durationMs": 0
}
]
}
},
"links": [
{
"url": "https://example.com/page",
"text": "Click here"
}
],
"appendix": "string",
"renderEngines": {
"capture": "rust",
"markdown": "rust",
"tree": "rust"
},
"assets": [
{
"id": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"kind": "data-url",
"placeholder": "expand-asset:data-url:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"archiveKey": "data-url:sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"mimeType": "image/svg+xml",
"sha256": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"bytes": 312
}
],
"degraded": {
"reason": "pageTooLarge",
"skipped": [
"hfc"
],
"limitKind": "domsnapshot_bytes",
"measuredBytes": 0,
"thresholdBytes": 0,
"measuredTokens": 0,
"thresholdTokens": 0
}
},
"error": {
"url": "string",
"blockedType": "botProtection",
"_tag": "FetchBlocked"
},
"originError": {
"url": "string",
"kind": "http",
"contentAvailable": false,
"finalUrl": "string",
"redirectLimitReached": true,
"originStatusCode": 404,
"upstreamError": null,
"retryable": true,
"_tag": "FetchOriginError"
}
}
],
"pagination": {
"total": 0,
"limit": 0,
"offset": 0,
"hasMore": true
}
}
message
"
:
"string"
,
"_tag": "HttpApiDecodeError"
}
"ServiceUnavailable"
}