---
title: "Run scratch metadata"
method: GET
path: "/v1/admin/runs/{run_id}/artifacts"
tags: ["admin"]
---

# Run scratch metadata

`GET /v1/admin/runs/{run_id}/artifacts`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/admin/runs/{run_id}/artifacts`
- Auth: HTTP bearer

## Path parameters

- `run_id` string, uuid, required

## Query parameters

- `limit` integer: How many rows to return, 1 to 200. Defaults to 50.
- `pq` string, nullable: The page marker from the `next` or `previous` value of an earlier answer.
- `from_prev` boolean: True when the page marker came from `previous`.

## Response `200`

Successful Response

- AdminRunArtifactList
  - `state` 'complete' | 'partial' | 'expired_or_swept' | 'unavailable' | 'not_applicable', required
  - `items` AdminRunArtifactItem[], required
    - `id` string, uuid, required
    - `key` string, required
    - `byte_size` integer, required
    - `expires_at` string, date-time, nullable
    - `created_at` string, date-time, required
  - `first` string, nullable
  - `next` string, nullable
  - `previous` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
