---
title: "Download Batch File With Token Auth"
method: GET
path: "/v0/batch/me/download/{job_id}/{filename}"
tags: ["batch", "log_post_param_vals"]
---

# Download Batch File With Token Auth

`GET /v0/batch/me/download/{job_id}/{filename}`

## Request

- Base URL: `https://api.databento.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.databento.com/v0/batch/me/download/{job_id}/{filename}`
- Auth: OAuth 2
  - Password
  - Token URL: `/v0/auth/login`

## Path parameters

- `job_id` string, required
- `filename` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: If user authentication fails
- `403`: If user does not have sufficient permissions
- `404`: If job file not found
- `410`: If job files are no longer available
- `422`: Validation Error
- `429`: If request rate limit exceeded

---

[API](https://skmtc.dev/databento/apis/databento-openapi-specification.md) - [All operations](https://skmtc.dev/databento/apis/databento-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/databento/apis/databento-openapi-specification/revisions/9cc41e22eead?raw)
