---
title: "Get Batch Result"
method: GET
path: "/batch"
tags: ["Routing"]
---

# Get Batch Result

`GET /batch`

## Query parameters

- `key` string, 32 character alphanumeric string, required
- `track_id` string, required

## Response `200`

- object
  - `status` string — Returns the overall status of the API request. Its value will always be one of success, failed, and pending.
  - `msg` string — Displays the error message in case of a failed request or operation. Please note that this parameter is not returned in the response in case of a successful request.
  - `track_id` string — Returns the unique ID of the batch processing task.
  - `responses` object[] — An array of objects returning the results of all the individual routing queries specified in the input. Each object represents the solution to an individual query in the input.
    - `status_code` integer — Returns the HTTP status code for the individual routing request. See the [API Errors Codes](#api-error-codes) section below for more information.
    - `response` object — An object returning the routing solution of an individual query. The JSON format and structure of the response would vary depending on the routing endpoint used in each individual query. However, it will be consistent with standard response for a given routing endpoint.

---

[API](https://skmtc.net/nextbillion-ai/apis/one-spec-service.md) · [All operations](https://skmtc.net/nextbillion-ai/apis/one-spec-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextbillion-ai/one-spec-service/versions/b647f1808dda/schema)
