# Read owned request status (/api-reference/data-api/getDataRequestsById)

Reads the current status of one request of this tenant without waiting; the id comes from data_create_request or data_list_requests. Use data_wait_request to block until it finishes and data_get_result for the fetched output. An unknown id or one owned by another tenant returns 404.

## GET /api/v1/data/requests/{id}

Read owned request status

- Operation ID: `getDataRequestsById`

- Tags: `Data API`

Reads the current status of one request of this tenant without waiting; the id comes from data_create_request or data_list_requests. Use data_wait_request to block until it finishes and data_get_result for the fetched output. An unknown id or one owned by another tenant returns 404.

### Security

- Required scope: `requests:read`

- `ApiKey` (apiKey, X-API-Key)

- `ApiKeyBearer` (http)

### Parameters

- `id` (path, required) — string (uuid); UUID of the target request or batch, as returned in the id field when it was created or listed.

### Responses

- **200** — Safe request DTO. Structured extraction adds extraction state and preserves page_error/page_user_error. Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/DataRequestResponse

  - Example: `{
  "id": "9a20bd58-ed33-4a5b-b63f-b52bb1a62248",
  "status": "pending"
}`

- **400** — Invalid public UUID Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/PublicError

  - Example: `{
  "error": "Request failed",
  "code": "VALIDATION_ERROR",
  "message": "Invalid public UUID Error body uses the documented PublicError DTO.",
  "requestId": "req_01J2QG"
}`

- **404** — Not found in this tenant Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/PublicError

  - Example: `{
  "error": "Request failed",
  "code": "VALIDATION_ERROR",
  "message": "Not found in this tenant Error body uses the documented PublicError DTO.",
  "requestId": "req_01J2QG"
}`

- **503** — The public Data API is disabled Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/PublicError

  - Example: `{
  "error": "Request failed",
  "code": "PRICING_NOT_ACTIVE",
  "message": "The public Data API is disabled Error body uses the documented PublicError DTO.",
  "requestId": "req_01J2QG"
}`

### Referenced OpenAPI components

#### `#/components/parameters/PublicId`

```json

{
  "name": "id",
  "in": "path",
  "required": true,
  "description": "UUID of the target request or batch, as returned in the id field when it was created or listed.",
  "schema": {
    "type": "string",
    "format": "uuid"
  }
}

```

#### `#/components/schemas/DataRequestResponse`

```json

{
  "oneOf": [
    {
      "$ref": "#/components/schemas/DataJob"
    },
    {
      "$ref": "#/components/schemas/DataExtractionJob"
    }
  ]
}

```

#### `#/components/schemas/PublicError`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "error",
    "code",
    "message",
    "requestId"
  ],
  "properties": {
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string",
      "description": "Stable public error code. PROXY_QUOTE_EXPIRED means the optional quote_version supplied at admission is no longer current; refresh the pricing view and submit again."
    },
    "message": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    }
  }
}

```

#### `#/components/schemas/DataJob`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "batch_id",
    "url",
    "status",
    "cached",
    "protected",
    "pricing_version",
    "base_tokens",
    "protected_tokens",
    "captcha_tokens",
    "captcha_type",
    "token_state",
    "request",
    "debug_artifacts",
    "error",
    "user_error",
    "result_meta",
    "proxy_used",
    "created_at",
    "started_at",
    "finished_at",
    "result_expires_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "batch_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Target origin only."
    },
    "status": {
      "$ref": "#/components/schemas/DataVisibleStatus"
    },
    "cached": {
      "type": "boolean"
    },
    "protected": {
      "type": "boolean"
    },
    "pricing_version": {
      "type": "integer",
      "minimum": 1
    },
    "base_tokens": {
      "type": "integer",
      "minimum": 0
    },
    "protected_tokens": {
      "type": "integer",
      "minimum": 0
    },
    "captcha_tokens": {
      "type": "integer",
      "minimum": 0
    },
    "captcha_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "captcha",
        null
      ]
    },
    "token_state": {
      "$ref": "#/components/schemas/DataTokenState"
    },
    "request": {
      "$ref": "#/components/schemas/DataRequestSummary"
    },
    "debug_artifacts": {
      "$ref": "#/components/schemas/PublicDebugArtifacts"
    },
    "error": {
      "$ref": "#/components/schemas/PublicRedactedError"
    },
    "user_error": {
      "$ref": "#/components/schemas/PublicTaskError"
    },
    "result_meta": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/DataResultMeta"
        },
        {
          "type": "null"
        }
      ]
    },
    "proxy_used": {
      "type": [
        "string",
        "null"
      ],
      "description": "Redacted transport marker; platform for RunHarvester proxies, customer for your own node, or null."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "started_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "finished_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "result_expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

```

#### `#/components/schemas/DataExtractionJob`

```json

{
  "allOf": [
    {
      "$ref": "#/components/schemas/DataJob"
    },
    {
      "type": "object",
      "required": [
        "page_status",
        "page_error",
        "page_user_error",
        "result_kind",
        "extraction"
      ],
      "properties": {
        "page_status": {
          "$ref": "#/components/schemas/DataJobStatus"
        },
        "page_error": {
          "$ref": "#/components/schemas/PublicRedactedError"
        },
        "page_user_error": {
          "$ref": "#/components/schemas/PublicTaskError"
        },
        "result_kind": {
          "type": "string",
          "const": "extraction"
        },
        "extraction": {
          "$ref": "#/components/schemas/DataExtractionRun"
        }
      }
    }
  ]
}

```

#### `#/components/schemas/DataVisibleStatus`

```json

{
  "type": "string",
  "enum": [
    "pending",
    "waiting_for_page",
    "queued",
    "running",
    "solving_captcha",
    "completed",
    "failed",
    "cancelled"
  ],
  "description": "Job status in a detail/list DTO. Structured extraction requests expose extraction-run status at the top level."
}

```

#### `#/components/schemas/DataTokenState`

```json

{
  "type": "string",
  "enum": [
    "reserved",
    "settlement_pending",
    "settled",
    "refunded"
  ]
}

```

#### `#/components/schemas/DataRequestSummary`

```json

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "origin": {
      "type": "string",
      "format": "uri"
    },
    "has_path": {
      "type": "boolean"
    },
    "has_query": {
      "type": "boolean"
    },
    "proxy": {
      "type": "string",
      "enum": [
        "random",
        "off",
        "own"
      ]
    },
    "proxy_type": {
      "$ref": "#/components/schemas/ProxyNetworkType"
    },
    "mode": {
      "$ref": "#/components/schemas/DataRouteMode"
    },
    "execution_strategy": {
      "type": "string"
    },
    "execution_start_hint": {
      "type": "string"
    },
    "geo_country": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 2
    },
    "javascript": {
      "type": "boolean"
    },
    "resource_policy": {
      "type": "string",
      "enum": [
        "compatible",
        "adaptive"
      ]
    },
    "timeout_ms": {
      "type": "integer",
      "minimum": 5000,
      "maximum": 300000
    },
    "has_headers": {
      "type": "boolean"
    },
    "has_cookies": {
      "type": "boolean"
    },
    "debug_artifacts_enabled": {
      "type": "boolean"
    }
  }
}

```

#### `#/components/schemas/PublicDebugArtifacts`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "enabled",
    "state",
    "expires_at"
  ],
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "state": {
      "type": "string",
      "enum": [
        "not_requested",
        "pending",
        "available",
        "unavailable",
        "not_available",
        "expired"
      ]
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

```

#### `#/components/schemas/PublicRedactedError`

```json

{
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "Stable public failure code; budget_exhausted means a paid stage was stopped by the request-wide credit ceiling."
        },
        "message": {
          "type": "string"
        }
      }
    },
    {
      "type": "null"
    }
  ]
}

```

#### `#/components/schemas/PublicTaskError`

```json

{
  "anyOf": [
    {
      "$ref": "#/components/schemas/UserError"
    },
    {
      "type": "null"
    }
  ]
}

```

#### `#/components/schemas/DataResultMeta`

```json

{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "version": {
      "type": "integer",
      "const": 1
    },
    "final_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Final HTTP(S) response URL. Query string and fragment are preserved; embedded credentials are removed. Invalid or unsupported URLs are omitted."
    },
    "http_status": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 100,
      "maximum": 599
    },
    "content_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "redirect_count": {
      "type": "integer",
      "minimum": 0
    },
    "timings_ms": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "navigation": {
          "type": "integer",
          "minimum": 0
        },
        "challenge": {
          "type": "integer",
          "minimum": 0
        },
        "browser_actions": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "selector_wait": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "text_wait": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "extraction": {
          "type": "integer",
          "minimum": 0
        },
        "total": {
          "type": "integer",
          "minimum": 0
        }
      }
    },
    "wait": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "browser_actions": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "configured": {
              "type": "boolean"
            },
            "completed_count": {
              "type": "integer",
              "minimum": 0
            },
            "total_count": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "selector": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "configured": {
              "type": "boolean"
            },
            "satisfied": {
              "type": "boolean"
            }
          }
        },
        "text": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "configured": {
              "type": "boolean"
            },
            "satisfied": {
              "type": "boolean"
            },
            "outcome": {
              "type": "string",
              "enum": [
                "not_configured",
                "end_text",
                "stable",
                "timeout_with_text",
                "timeout_empty"
              ]
            }
          }
        }
      }
    },
    "resource_policy": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "requested": {
          "type": "string",
          "enum": [
            "compatible",
            "adaptive"
          ]
        },
        "effective": {
          "type": "string",
          "enum": [
            "compatible",
            "adaptive"
          ]
        },
        "fallback_used": {
          "type": "boolean"
        },
        "blocking_enabled": {
          "type": "boolean"
        },
        "initial_mode": {
          "type": "string",
          "enum": [
            "full",
            "site_light"
          ]
        },
        "final_mode": {
          "type": "string",
          "enum": [
            "full",
            "site_light"
          ]
        },
        "challenge_detected": {
          "type": "boolean"
        },
        "blocked_total": {
          "type": "integer",
          "minimum": 0
        },
        "blocked_by_type": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "document": {
              "type": "integer",
              "minimum": 0
            },
            "script": {
              "type": "integer",
              "minimum": 0
            },
            "stylesheet": {
              "type": "integer",
              "minimum": 0
            },
            "image": {
              "type": "integer",
              "minimum": 0
            },
            "media": {
              "type": "integer",
              "minimum": 0
            },
            "font": {
              "type": "integer",
              "minimum": 0
            },
            "fetch": {
              "type": "integer",
              "minimum": 0
            },
            "xhr": {
              "type": "integer",
              "minimum": 0
            },
            "websocket": {
              "type": "integer",
              "minimum": 0
            },
            "manifest": {
              "type": "integer",
              "minimum": 0
            },
            "wasm": {
              "type": "integer",
              "minimum": 0
            },
            "serviceworker": {
              "type": "integer",
              "minimum": 0
            },
            "other": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "blocked_by_reason": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "heavy_type": {
              "type": "integer",
              "minimum": 0
            },
            "known_advertising": {
              "type": "integer",
              "minimum": 0
            },
            "known_analytics": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    },
    "transport": {
      "type": "string",
      "enum": [
        "browser",
        "http"
      ]
    },
    "execution": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "terminal_engine": {
          "type": "string",
          "enum": [
            "http",
            "browser"
          ]
        },
        "residential": {
          "type": "boolean"
        },
        "fallback_reasons": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "javascript_required",
              "challenge",
              "unsupported_api",
              "invalid_dom",
              "browser_unavailable",
              "protection"
            ]
          }
        },
        "initial_engine": {
          "type": "string",
          "enum": [
            "http",
            "browser"
          ]
        },
        "recommendation_applied": {
          "type": "boolean"
        },
        "total_duration_ms": {
          "type": "integer",
          "minimum": 0
        },
        "stages": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "engine": {
                "type": "string",
                "enum": [
                  "http",
                  "browser"
                ]
              },
              "duration_ms": {
                "type": "integer",
                "minimum": 0
              },
              "outcome": {
                "type": "string",
                "enum": [
                  "completed",
                  "fallback"
                ]
              }
            }
          }
        }
      }
    },
    "storage": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "html": {
          "$ref": "#/components/schemas/ResultStorageMetadata"
        },
        "text": {
          "$ref": "#/components/schemas/ResultStorageMetadata"
        }
      }
    },
    "proxy_usage": {
      "$ref": "#/components/schemas/ProxyUsage"
    },
    "proxy_usage_billing": {
      "$ref": "#/components/schemas/ProxyUsageBilling"
    },
    "request_budget": {
      "$ref": "#/components/schemas/RequestBudget"
    },
    "challenge": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "type",
        "state",
        "reason"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "captcha",
            "browser_protection",
            "queue",
            "unknown"
          ],
          "description": "Provider-neutral class of the challenge."
        },
        "state": {
          "type": "string",
          "enum": [
            "detected",
            "solving",
            "solved",
            "queued",
            "blocked",
            "unknown"
          ],
          "description": "Public processing state of the challenge."
        },
        "reason": {
          "type": "string",
          "enum": [
            "challenge_detected",
            "queue_detected",
            "unsupported",
            "solver_unavailable",
            "verification_failed",
            "still_blocked",
            "deadline_exceeded",
            "cancelled",
            "unknown"
          ],
          "description": "Provider-neutral outcome reason."
        }
      }
    },
    "markdown": {
      "$ref": "#/components/schemas/MarkdownResultMeta"
    }
  },
  "description": "Result metadata. Challenge metadata contains only provider-neutral type, state and reason. Proxy usage is measured transport traffic; proxy_usage_billing is the post-paid token settlement state."
}

```

#### `#/components/schemas/DataJobStatus`

```json

{
  "type": "string",
  "enum": [
    "pending",
    "running",
    "solving_captcha",
    "completed",
    "failed",
    "cancelled"
  ]
}

```

#### `#/components/schemas/DataExtractionRun`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "recipe_id",
    "recipe_name",
    "run_id",
    "status",
    "kind",
    "version_id",
    "error",
    "user_error",
    "progress",
    "llm_attempts",
    "llm_charged_tokens",
    "created_at",
    "finished_at"
  ],
  "properties": {
    "recipe_id": {
      "type": "string",
      "format": "uuid"
    },
    "recipe_name": {
      "type": "string"
    },
    "run_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "waiting_for_page",
        "running",
        "completed",
        "failed",
        "cancelled"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "generate",
        "execute",
        "repair"
      ]
    },
    "version_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "data": {
      "description": "Present only for completed result responses."
    },
    "tool": {
      "$ref": "#/components/schemas/WebsiteToolMetadata"
    },
    "coverage": {
      "$ref": "#/components/schemas/WebsiteToolCoverage"
    },
    "budget": {
      "$ref": "#/components/schemas/WebsiteToolBudget"
    },
    "error": {
      "$ref": "#/components/schemas/PublicRedactedError"
    },
    "user_error": {
      "$ref": "#/components/schemas/PublicTaskError"
    },
    "progress": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/RecipeRunProgress"
        },
        {
          "type": "null"
        }
      ]
    },
    "llm_attempts": {
      "type": "integer",
      "minimum": 0
    },
    "llm_charged_tokens": {
      "type": "integer",
      "minimum": 0
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "finished_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}

```

#### `#/components/schemas/ProxyNetworkType`

```json

{
  "type": "string",
  "enum": [
    "datacenter",
    "residential",
    "premium"
  ]
}

```

#### `#/components/schemas/DataRouteMode`

```json

{
  "type": "string",
  "enum": [
    "direct",
    "auto",
    "browser",
    "http",
    "residential",
    "residential_browser",
    "mixed"
  ]
}

```

#### `#/components/schemas/UserError`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "code",
    "message",
    "retryable",
    "category"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Stable machine-readable task failure code."
    },
    "message": {
      "type": "string",
      "description": "Redacted display-safe message suitable for the frontend."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether the frontend may offer the task retry action."
    },
    "category": {
      "type": "string",
      "enum": [
        "page",
        "generation",
        "execution",
        "provider",
        "billing",
        "processing",
        "timeout",
        "target",
        "proxy",
        "readiness",
        "payload",
        "cancelled"
      ]
    },
    "attempts": {
      "type": "integer",
      "minimum": 0,
      "description": "Actual AI-generation attempts made for a recipe failure. Present only for recipe failures."
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Deduplicated safe field paths, including output fields such as news.news_date and recipe DSL fields such as dsl.items. Present only when known for a recipe generation failure."
    }
  }
}

```

#### `#/components/schemas/ResultStorageMetadata`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "original_bytes",
    "stored_bytes",
    "truncated"
  ],
  "properties": {
    "original_bytes": {
      "type": "integer",
      "minimum": 0
    },
    "stored_bytes": {
      "type": "integer",
      "minimum": 0
    },
    "truncated": {
      "type": "boolean"
    }
  }
}

```

#### `#/components/schemas/ProxyUsage`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "requested_type",
    "request_bytes",
    "response_bytes",
    "total_bytes"
  ],
  "properties": {
    "requested_type": {
      "$ref": "#/components/schemas/ProxyNetworkType"
    },
    "request_bytes": {
      "type": "integer",
      "minimum": 0
    },
    "response_bytes": {
      "type": "integer",
      "minimum": 0
    },
    "total_bytes": {
      "type": "integer",
      "minimum": 0
    }
  }
}

```

#### `#/components/schemas/ProxyUsageBilling`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "status",
    "requested_type",
    "request_bytes",
    "response_bytes",
    "total_bytes",
    "charged_tokens"
  ],
  "properties": {
    "status": {
      "$ref": "#/components/schemas/ProxyTrafficUsageStatus"
    },
    "requested_type": {
      "$ref": "#/components/schemas/ProxyNetworkType"
    },
    "request_bytes": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "response_bytes": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "total_bytes": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "charged_tokens": {
      "type": "integer",
      "minimum": 0
    },
    "requested_tokens": {
      "type": "integer",
      "minimum": 0,
      "description": "Traffic charge calculated from measured bytes before applying the request budget."
    },
    "budget_limit_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Request-wide credit ceiling captured when the job was accepted."
    },
    "budget_used_credits": {
      "type": "integer",
      "minimum": 0,
      "description": "Credits charged across execution, CAPTCHA and traffic at settlement time."
    },
    "budget_remaining_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Remaining request budget after settlement; null means no request-wide ceiling was set."
    },
    "budget_limit_reached": {
      "type": "boolean",
      "description": "True when the request budget prevented the full traffic charge or another paid stage."
    },
    "measurement_reason": {
      "$ref": "#/components/schemas/ProxyTrafficMeasurementReason"
    }
  }
}

```

#### `#/components/schemas/RequestBudget`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "budget_limit_credits",
    "budget_used_credits",
    "budget_remaining_credits",
    "budget_limit_reached"
  ],
  "properties": {
    "budget_limit_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "budget_used_credits": {
      "type": "integer",
      "minimum": 0
    },
    "budget_remaining_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "budget_limit_reached": {
      "type": "boolean"
    }
  },
  "description": "Request-wide credit budget across execution, protection, CAPTCHA and traffic. Nullable limit and remainder mean no ceiling was supplied."
}

```

#### `#/components/schemas/MarkdownResultMeta`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "source",
    "source_truncated",
    "original_bytes",
    "returned_bytes",
    "truncated"
  ],
  "properties": {
    "source": {
      "type": "string",
      "const": "stored_html"
    },
    "source_truncated": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True or false only when stored result metadata explicitly records whether the source HTML was truncated; null when that metadata is unavailable."
    },
    "original_bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "UTF-8 byte length before the Markdown result limit."
    },
    "returned_bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "UTF-8 byte length returned to the client."
    },
    "truncated": {
      "type": "boolean",
      "description": "Whether the converted Markdown was shortened to fit the result limit."
    }
  }
}

```

#### `#/components/schemas/WebsiteToolMetadata`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "recipe_id",
    "version_id",
    "site_origin",
    "input_schema",
    "output_schema"
  ],
  "properties": {
    "recipe_id": {
      "type": "string",
      "format": "uuid"
    },
    "version_id": {
      "type": "string",
      "format": "uuid"
    },
    "site_origin": {
      "type": "string",
      "format": "uri"
    },
    "input_schema": {
      "type": "object",
      "additionalProperties": true
    },
    "output_schema": {
      "type": "object",
      "additionalProperties": true
    }
  }
}

```

#### `#/components/schemas/WebsiteToolCoverage`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "pages",
    "complete",
    "stop_reason"
  ],
  "properties": {
    "pages": {
      "type": "integer",
      "minimum": 0
    },
    "complete": {
      "type": "boolean"
    },
    "stop_reason": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "source_exhausted",
        "result_limit",
        "page_limit",
        "no_progress",
        null
      ]
    }
  }
}

```

#### `#/components/schemas/WebsiteToolBudget`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "max_credits",
    "charged_credits",
    "reserved_credits",
    "remaining_credits"
  ],
  "properties": {
    "max_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Task credit cap, or null when no task-wide cap is set."
    },
    "charged_credits": {
      "type": "integer",
      "minimum": 0,
      "description": "Credits charged for measured task usage."
    },
    "reserved_credits": {
      "type": "integer",
      "minimum": 0,
      "description": "Credits reserved while the task is running."
    },
    "remaining_credits": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "description": "Remaining task cap, or null when the task is uncapped."
    }
  }
}

```

#### `#/components/schemas/RecipeRunProgress`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "code",
    "message",
    "retryCycle"
  ],
  "description": "Safe retry status for recipe generation. Reasoning is disabled. Only curated progress is returned; raw provider/model details and diagnostics are never exposed.",
  "properties": {
    "code": {
      "type": "string",
      "const": "RECIPE_GENERATION_RETRYING"
    },
    "message": {
      "type": "string",
      "description": "Curated display-safe reason for the retry."
    },
    "retryCycle": {
      "type": "integer",
      "minimum": 1,
      "description": "Current recipe-generation retry cycle."
    }
  }
}

```

#### `#/components/schemas/ProxyTrafficUsageStatus`

```json

{
  "type": "string",
  "enum": [
    "settled",
    "budget_limited",
    "unavailable"
  ]
}

```

#### `#/components/schemas/ProxyTrafficMeasurementReason`

```json

{
  "type": "string",
  "enum": [
    "transport_bytes_not_collected",
    "transport_bytes_zero"
  ]
}

```

### Complete operation object

```json

{
  "operationId": "getDataRequestsById",
  "tags": [
    "Data API"
  ],
  "summary": "Read owned request status",
  "x-required-scope": "requests:read",
  "x-mcp-name": "data_get_request",
  "x-mcp-annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "parameters": [
    {
      "$ref": "#/components/parameters/PublicId"
    }
  ],
  "responses": {
    "200": {
      "description": "Safe request DTO. Structured extraction adds extraction state and preserves page_error/page_user_error. Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/DataRequestResponse"
          },
          "example": {
            "id": "9a20bd58-ed33-4a5b-b63f-b52bb1a62248",
            "status": "pending"
          }
        }
      }
    },
    "400": {
      "description": "Invalid public UUID Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PublicError"
          },
          "example": {
            "error": "Request failed",
            "code": "VALIDATION_ERROR",
            "message": "Invalid public UUID Error body uses the documented PublicError DTO.",
            "requestId": "req_01J2QG"
          }
        }
      },
      "x-docs-retryable": false
    },
    "404": {
      "description": "Not found in this tenant Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PublicError"
          },
          "example": {
            "error": "Request failed",
            "code": "VALIDATION_ERROR",
            "message": "Not found in this tenant Error body uses the documented PublicError DTO.",
            "requestId": "req_01J2QG"
          }
        }
      },
      "x-docs-retryable": false
    },
    "503": {
      "description": "The public Data API is disabled Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PublicError"
          },
          "example": {
            "error": "Request failed",
            "code": "PRICING_NOT_ACTIVE",
            "message": "The public Data API is disabled Error body uses the documented PublicError DTO.",
            "requestId": "req_01J2QG"
          }
        }
      },
      "x-docs-retryable": true
    }
  },
  "description": "Reads the current status of one request of this tenant without waiting; the id comes from data_create_request or data_list_requests. Use data_wait_request to block until it finishes and data_get_result for the fetched output. An unknown id or one owned by another tenant returns 404.",
  "security": [
    {
      "ApiKey": []
    },
    {
      "ApiKeyBearer": []
    }
  ],
  "servers": [
    {
      "url": "https://api.runharvester.com",
      "description": "RunHarvester public API"
    }
  ]
}

```