Browse documentation
API referenceGET/v1/batch/jobs/{job_id}/resultsFree

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-Key or api_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.

FieldLocationRequiredNotes
job_idpathYesBatch job id.
api_keyqueryNoOptional alternative to the X-API-Key header. Prefer the header for server-side applications.

Response

Returns final JSONL results for a completed job.

JSONL file containing the job resultsapplication/jsonl
{"id": "req-001", "custom_id": "req-001", "response": {"status_code": 200, "body": {"summary": "Market summary for RELIANCE and TCS..."}}, "error": null}

Request pattern

bash
curl "https://developers.manasija.in/v1/batch/jobs/batch_a1b2c3d4e5f67890/results" \
  -H "X-API-Key: $DRISHTI_API_KEY"

JavaScript / TypeScript SDK

ts
const results = await client.getBatchJobsJobIdResults({ job_id: "batch_a1b2c3d4e5f67890" })

Python SDK

python
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.