---
title: "A screenshot PNG named in the report, whole or cropped to a report region"
method: GET
path: "/jobs/{id}/files/{filename}"
---

# A screenshot PNG named in the report, whole or cropped to a report region

`GET /jobs/{id}/files/{filename}`

## Request

- Base URL: `https://app.difficat.com/api/v1`
- URL: `https://app.difficat.com/api/v1/jobs/{id}/files/{filename}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, required
- `filename` string, required

## Query parameters

- `x` integer
- `y` integer
- `width` integer
- `height` integer

## Response `200`

OK

## Other responses

- `400`: Invalid filename, a partial or invalid set of crop parameters, or a rectangle outside the image
- `401`: Missing job token
- `404`: Unknown job or wrong token
- `429`: Two crops are already running on the instance (Retry-After)

---

[API](https://skmtc.dev/difficat/apis/difficat-agent-api.md) · [All operations](https://skmtc.dev/difficat/apis/difficat-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/difficat/apis/difficat-agent-api/revisions/49c291e77659?raw)
