Browse documentation
Get batch results
GET /v1/batch/jobs/{job_id}/results
Download the final JSONL results for a completed batch job by id; use this after the job status reaches completed.
When to use it
Use this endpoint after a job reaches a completed status.
Authentication and billing
- Requires
X-API-Keyorapi_key. - Credit cost: Free. Non-billable download route for completed batch output.
- See pricing for plan allowances and full billing details.
Request
This endpoint does not require a request body.
| Field | Location | Required | Notes |
|---|---|---|---|
job_id | path | Yes | Batch job id. |
api_key | query | No | Optional alternative to the X-API-Key header. Prefer the header for server-side applications. |
Response
Returns final JSONL results for a completed job.
{"id": "req-001", "custom_id": "req-001", "response": {"status_code": 200, "body": {"summary": "Market summary for RELIANCE and TCS..."}}, "error": null}
Request pattern
curl "https://developers.manasija.in/v1/batch/jobs/batch_a1b2c3d4e5f67890/results" \
-H "X-API-Key: $DRISHTI_API_KEY"JavaScript / TypeScript SDK
const results = await client.getBatchJobsJobIdResults({ job_id: "batch_a1b2c3d4e5f67890" })Python SDK
results = client.get_batch_jobs_job_id_results(job_id="batch_a1b2c3d4e5f67890")Interactive reference
Use the Scalar API client for executable requests, schemas, and the full OpenAPI contract.