---
title: Artifact schema
description: Metadata for a downloadable PDF attached to an execution.
canonical_url: "https://cascades.crscreditapi.com/docs/api/schemas/Artifact"
doc_version: "1.0.0"
last_updated: "2026-10-09T18:04:24Z"
source: "public/api-docs/v1/swagger.yaml#/components/schemas/Artifact"
---

# Artifact

Metadata for a downloadable PDF attached to an execution.

Defined in [openapi.json](https://cascades.crscreditapi.com/openapi.json#/components/schemas/Artifact) ([YAML](https://cascades.crscreditapi.com/openapi.yaml)).

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | Artifact id; pass it as `artifact_id` to the matching download endpoint. |
| `object` | string | no |  One of: `"report_artifact"`, `"notice_artifact"`. |
| `execution_id` | integer | no |  |
| `filename` | string | no |  |
| `content_type` | string | no |  |
| `byte_size` | integer | no |  |
| `generated_at` | string (date-time), nullable | no |  |
| `downloadable` | boolean | no | `false` when the record exists but its file is no longer stored. Downloading it then returns `404 not_found`. |

```json
{
  "id": 1,
  "object": "report_artifact",
  "execution_id": 1,
  "filename": "Adverse_Action_Notice.pdf",
  "content_type": "application/pdf",
  "byte_size": 1,
  "generated_at": "2026-05-08T18:41:05Z",
  "downloadable": true
}
```

## Sitemap

See the full [sitemap](https://cascades.crscreditapi.com/sitemap.md) for all pages.
