# prov.attest.capture_requests.files

prov.attest.capture_requests.files in Python SDK. Time-limited links to the images that count (60–3600 seconds, default 900).

## Signature

```python
prov.attest.capture_requests.files(request_id: str, expires_in: int | None = …) -> Any
```

## Parameters

- `request_id` (str)
- `expires_in` (int | None, optional)

## Returns

`Any`

## HTTP operation

[`GET /v1/attest/capture_requests/{id}/files`](https://provenanceauth.com/docs/api/capture-requests.md#get-v1-attest-capture-requests-id-files): List the images with time-limited links

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

## Example

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/capture_requests/capr_01M6VQBD873JECJ1PKTECEGXNH/files`, {
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/capture_requests/capr_01M6VQBD873JECJ1PKTECEGXNH/files", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}).json()
```
