---
title: "Get batch results"
method: GET
path: "/batches/{id}/results"
tags: ["Batch"]
---

# Get batch results

`GET /batches/{id}/results`

## Request

- Base URL: `https://openrouter.ai/api/v1`
- URL: `https://openrouter.ai/api/v1/batches/{id}/results`
- Auth: HTTP bearer

Returns a cursor-paginated page of normalized OpenRouter-format results for a finished batch. Pass the previous page's `next_cursor` as `cursor` to read the next page. Pages are stable across retries for the 30-day artifact retention window. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).

## Path parameters

- `id` string, required: The batch job id returned from submit.

## Query parameters

- `limit` integer: Maximum number of result items to return, from 1 through 1000.
- `cursor` string: Opaque pagination cursor from the previous page's `next_cursor`. Omit for the first page.

## Response `200`

A page of normalized batch result items.

- BatchResultsPageResponse: A cursor-paginated page of normalized batch result rows.
  - `data` BatchResult[], required
    - `custom_id` string, required
    - `error` object, nullable, required
      - `error_type` 'context_length_exceeded' | 'max_tokens_exceeded' | 'token_limit_exceeded' | 'string_too_long' | 'authentication' | 'permission_denied' | 'payment_required' | 'rate_limit_exceeded' | 'provider_overloaded' | 'provider_unavailable' | 'invalid_request' | 'invalid_prompt' | 'not_found' | 'precondition_failed' | 'payload_too_large' | 'unprocessable' | 'content_policy_violation' | 'refusal' | 'invalid_image' | 'image_too_large' | 'image_too_small' | 'unsupported_image_format' | 'image_not_found' | 'image_download_failed' | 'server' | 'timeout' | 'unmapped': Canonical OpenRouter error type, stable across all API formats
      - `message` string, required
      - `param` string, nullable, required
      - `type` string, required
    - `id` string, required
    - `response` object, nullable, required
      - `body` union, required
        - object
          - `alignment` Alignment: Beta. The result of the alignment plugin for this request; the shape may change.
            - `calls` AlignmentCallRecord[], required: One record per evaluated assistant message of the request, in the order the messages were produced. Empty when no message of the request had content to evaluate.
              - …
          - `choices` object[], required
            - `finish_reason` 'stop' | 'length' | 'tool_calls' | 'content_filter' | 'function_call', required
            - `index` integer, required
            - `logprobs` object, nullable, required
              - …
            - `message` object, required
              - …
            - `native_finish_reason` string, nullable, required
          - `created` integer, required
          - `debug` object
            - `echo_upstream_body` object
            - `timings` object
              - …
          - `id` string, required
          - `model` string, required
          - `object` 'chat.completion', required
          - `openrouter_metadata` OpenRouterMetadata
            - `attempt` integer, required
            - `attempts` RouterAttempt[]
              - …
            - `endpoints` EndpointsMetadata, required
              - …
            - `generation_time` integer: Milliseconds measured for the generation, from dispatching the upstream request until its response body ended. Divide the completion token count by this for throughput. Absent when no upstream request was dispatched.
            - `is_byok` boolean, required
            - `params` RouterParams
              - …
            - `pipeline` PipelineStage[]
              - …
            - `region` string, nullable, required
            - `requested` string, required
            - `strategy` 'direct' | 'auto' | 'free' | 'latest' | 'alias' | 'fallback' | 'pareto' | 'bodybuilder' | 'fusion', required
            - `summary` string, required
          - `provider` string, nullable
          - `safeguard_results` ArmorSafeguardResult[]: OpenRouter Armor's verdict for each client tool call of this response, present whenever Armor evaluated the response (even when nothing was flagged). Independent of the `openrouter_metadata` opt-in.
            - `status` object, required
              - …
            - `type` 'dangerous_tool_use', required
          - `service_tier` string, nullable
          - `system_fingerprint` string, nullable
          - `usage` object
            - `completion_tokens` integer, required: The tokens generated
            - `completion_tokens_details` object, nullable
              - …
            - `prompt_tokens` integer, required: Including images, input audio, and tools if any
            - `prompt_tokens_details` object, nullable: Breakdown of tokens used in the prompt.
              - …
            - `server_tool_use` object, nullable: Usage for server-side tool execution (e.g., web search)
              - …
            - `server_tool_use_details` object, nullable: Usage for server-side tool execution (e.g., web search)
              - …
            - `total_tokens` integer, required: Sum of the above two fields
        - OpenResponsesResult: Complete non-streaming response from the Responses API
          - [`BaseResponsesResult`](https://skmtc.dev/openrouterteam/apis/openrouter-api/revisions/f797e38f23b4/schema?at=%2Fcomponents%2Fschemas%2FBaseResponsesResult)
          - object
            - `access_programs` object, nullable: Access program the upstream provider reported for this response (OpenAI `access_programs`). `null` when the provider reported none, including OpenAI's implicit Standard program.
              - …
            - `alignment` Alignment: Beta. The result of the alignment plugin for this request; the shape may change.
              - …
            - `error` OpenResponsesErrorField, nullable: Error of a failed response; `metadata` carries OpenRouter-specific details.
              - …
            - `error_type` 'context_length_exceeded' | 'max_tokens_exceeded' | 'token_limit_exceeded' | 'string_too_long' | 'authentication' | 'permission_denied' | 'payment_required' | 'rate_limit_exceeded' | 'provider_overloaded' | 'provider_unavailable' | 'invalid_request' | 'invalid_prompt' | 'not_found' | 'precondition_failed' | 'payload_too_large' | 'unprocessable' | 'content_policy_violation' | 'refusal' | 'invalid_image' | 'image_too_large' | 'image_too_small' | 'unsupported_image_format' | 'image_not_found' | 'image_download_failed' | 'server' | 'timeout' | 'unmapped': Canonical OpenRouter error type, stable across all API formats
            - `input_transformations` ResponsesInputTransformation[]: Input items the upstream provider changed before inference (OpenAI `input_transformations`). Present only when the provider reported the field; empty when it changed nothing.
              - …
            - `openrouter_metadata` OpenRouterMetadata
              - …
            - `output` OutputItems[]
              - …
            - `safeguard_results` ArmorSafeguardResult[]: OpenRouter Armor's verdict for each client tool call of this response, present whenever Armor evaluated the response (even when nothing was flagged). Independent of the `openrouter_metadata` opt-in.
              - …
            - `service_tier` string, nullable
            - `text` TextExtendedConfig: Text output configuration including format and verbosity
              - …
            - `usage` Usage, nullable: Token usage information for the response
              - …
        - object
          - `container` AnthropicContainer, nullable, required
            - `expires_at` string, required
            - `id` string, required
            - `skills` AnthropicContainerSkill[], nullable
              - …
          - `content` ORAnthropicContentBlock[], required
            - union
              - …
          - `id` string, required
          - `input_transformations` AnthropicInputTransformation[], nullable
            - `path` string, nullable
            - `reason` string, nullable
            - `type` string, required
          - `model` string, required
          - `role` 'assistant', required
          - `stop_details` AnthropicRefusalStopDetails, nullable, required: Structured information about a refusal
            - `category` 'cyber' | 'bio' | 'frontier_llm' | 'reasoning_extraction' | 'general_harms' | 'null', nullable, required
            - `explanation` string, nullable, required
            - `type` 'refusal', required
          - `stop_reason` 'end_turn' | 'max_tokens' | 'model_context_window_exceeded' | 'stop_sequence' | 'tool_use' | 'pause_turn' | 'refusal' | 'compaction' | 'null', nullable, required
          - `stop_sequence` string, nullable, required
          - `type` 'message', required
          - `usage` intersection, required
            - [`AnthropicUsage`](https://skmtc.dev/openrouterteam/apis/openrouter-api/revisions/f797e38f23b4/schema?at=%2Fcomponents%2Fschemas%2FAnthropicUsage)
            - object
              - …
        - object: Embeddings response containing embedding vectors
          - `data` object[], required: List of embedding objects
            - `document_index` integer: Index of the source document when `input` was a list of documents (contextual embeddings). Absent otherwise.
            - `embedding` union, required: Embedding vector as an array of floats or a base64 string
              - …
            - `index` integer: Index of the embedding in the input list
            - `object` 'embedding', required
          - `id` string: Unique identifier for the embeddings response
          - `model` string, required: The model used for embeddings
          - `object` 'list', required
          - `usage` object: Token usage statistics
            - `cost` number, double: Cost of the request in credits
            - `cost_details` CostDetails, nullable: Breakdown of upstream inference costs
              - …
            - `is_byok` boolean: Whether a request was made using a Bring Your Own Key configuration
            - `prompt_tokens` integer, required: Number of tokens in the input
            - `prompt_tokens_details` object: Per-modality token breakdown. Only present when the input contains 2+ modalities (e.g. text + image) and the upstream provider returns modality-level usage data. Only non-zero modality counts are included.
              - …
            - `total_tokens` integer, required: Total number of tokens used
        - object
          - `audio` union, required
            - object
              - …
            - object
              - …
          - `model` string, required
          - `object` 'audio.speech', required
          - `usage` object, required
            - `completion_tokens` integer, required
            - `prompt_tokens` integer, required
            - `total_tokens` integer, required
        - BatchImageGenerationResponse: Image generation result of a batch request: image links and when they expire
          - `created` integer, required: Unix timestamp (seconds) when the image was generated
          - `data` BatchImageGenerationImage[], required
            - `layer` ImageGenerationLayer: Layer metadata, present when the request asked the provider to split the image into layers (Seedream: `provider.options.seed.layer_decomposition: true` with the required `layer_decomposition_options.max_images`, 2 to 16). Decomposition requires `n` to be 1 or omitted; the response returns up to `max_images` images (the base image plus its layers).
              - …
            - `media_type` string: Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined.
            - `url` string, uri, required
          - `expires_at` integer, required: Unix timestamp (seconds) when the image URLs in `data` stop working. Download the images before then.
          - `id` string: Generation ID of this request. Look up its cost and details with `GET /api/v1/generation?id=<id>`.
          - `usage` ImageGenerationUsage: Token and cost usage for the image generation request, when available
            - `cache_creation` AnthropicCacheCreation, nullable
              - …
            - `completion_tokens` integer, required: The tokens generated
            - `completion_tokens_details` object, nullable
              - …
            - `cost` number, double, nullable: Cost of the completion
            - `cost_details` CostDetails, nullable: Breakdown of upstream inference costs
              - …
            - `is_byok` boolean: Whether a request was made using a Bring Your Own Key configuration
            - `iterations` AnthropicUsageIteration[], nullable
              - …
            - `prompt_tokens` integer, required: Including images, input audio, and tools if any
            - `prompt_tokens_details` object, nullable: Breakdown of tokens used in the prompt.
              - …
            - `server_tool_use` object, nullable: Usage for server-side tool execution (e.g., web search)
              - …
            - `service_tier` string, nullable: The service tier used by the upstream provider for this request
            - `speed` 'fast' | 'standard' | 'null', nullable
            - `total_tokens` integer, required: Sum of the above two fields
      - `request_id` string, nullable, required
      - `status_code` integer, required
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required
  - `object` 'list', required

## Other responses

- `400`: Malformed or unsupported batch results query parameters or cursor.
- `401`: Missing or invalid API key.
- `402`: The finalized batch cost exceeds the available balance; metadata is returned with `results: null`. Top up credits and poll again to receive the persisted results.
- `404`: No batch exists for the given id.
- `409`: The batch has not finished finalizing its results yet.
- `410`: The batch results were deleted after the 30-day retention window.
- `413`: A single result row exceeds the maximum page payload size; lowering `limit` does not resolve this.
- `429`: Batch API rate limit exceeded for the billable entity.
- `500`: Unexpected error in the ingress or upstream batch-api.
- `502`: The batch service is unavailable, or an upstream provider operation failed.

## Changes

- **2026-12-01** `9b10084a2b06`: 1 info
  - added the optional property `data/items/response/body/anyOf[#/components/schemas/BatchImageGenerationResponse]/id` to the response with the `200` status
- **2026-12-01** `dd14c51d866f`: 5 warning
  - added the new `bedrock-amazon-responses-v1` enum value to the `data/items/response/body/anyOf[#/components/schemas/OpenResponsesResult]/allOf[subschema #2]/output/items/oneOf[#/components/schemas/OutputReasoningItem]/allOf[subschema #2]/format` response property for the response status `200`
  - added the new `bedrock-amazon-responses-v1` enum value to the `data/items/response/body/anyOf[subschema #1]/choices/items/message/reasoning_details/items/anyOf[#/components/schemas/ReasoningDetailEncrypted]/format` response property for the response status `200`
  - added the new `bedrock-amazon-responses-v1` enum value to the `data/items/response/body/anyOf[subschema #1]/choices/items/message/reasoning_details/items/anyOf[#/components/schemas/ReasoningDetailServerToolCall]/format` response property for the response status `200`
  - added the new `bedrock-amazon-responses-v1` enum value to the `data/items/response/body/anyOf[subschema #1]/choices/items/message/reasoning_details/items/anyOf[#/components/schemas/ReasoningDetailSummary]/format` response property for the response status `200`
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/openrouterteam/apis/openrouter-api/changes/batches/:id/results/get.md)

---

[API](https://skmtc.dev/openrouterteam/apis/openrouter-api.md) - [All operations](https://skmtc.dev/openrouterteam/apis/openrouter-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openrouterteam/apis/openrouter-api/revisions/f797e38f23b4?raw)
