---
title: "Downloads the error logs for a specific job as a text file."
method: GET
path: "/api/JobLogs/{jobId}/error/download"
tags: ["Job Logs"]
---

# Downloads the error logs for a specific job as a text file.

`GET /api/JobLogs/{jobId}/error/download`

Downloads the error logs for a job that has failed or encountered errors. Returns a text file containing the log output. This endpoint is not available in hosted production environments.

## Path parameters

- `jobId` string, required

## Response `200`

The job error logs as a text file

## Other responses

- `400` — Invalid request
- `403` — User does not have permission to access this job's logs, or endpoint is disabled in hosted production
- `404` — Job not found, or job completed successfully and has no error logs

---

[API](https://skmtc.net/tonic/apis/textual-api.md) · [All operations](https://skmtc.net/tonic/apis/textual-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonic/textual-api/revisions/41da8739a690/schema)
