---
title: "Export artifact"
method: GET
path: "/v1/artifacts/{artifact_id}/export"
---

# Export artifact

`GET /v1/artifacts/{artifact_id}/export`

## Request

- Base URL: `https://api.turos.app`
- URL: `https://api.turos.app/v1/artifacts/{artifact_id}/export`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns the saved artifact with its manifest for `json` or `compact_json`. With `format=markdown`, the response is a download envelope rather than inline markdown; follow its download details. Compact JSON is intentionally reduced and may truncate large content or arrays.

## Path parameters

- `artifact_id` string, required

## Query parameters

- `format` 'json' | 'markdown' | 'compact_json'

## Response `200`

Artifact export envelope in the requested representation.

- ArtifactExport
  - `object` 'artifact_export', required
  - `artifactId` string, required
  - `format` 'json' | 'markdown' | 'compact_json', required
  - `manifest` ArtifactManifest, required
    - `object` 'artifact_manifest', required
    - `id` string, required
    - `artifactId` string, required
    - `kind` string, required
    - `status` string, required
    - `filename` string, required
    - `contentType` string, required
    - `storageMode` 'local' | 'r2', required
    - `objectKey` string, nullable, required
    - `byteLength` integer, required
    - `lineCount` integer, required
    - `checksumSha1` string, required
    - `filing` object, nullable, required
    - `section` object, nullable, required
    - `exportedFormats` string[], required
    - `createdAt` string, date-time, required
    - `entity` object, nullable
    - `links` object
    - `citation` object
  - `artifact` object
  - `download` object

## Other responses

- `default`: Contract-aware error response

---

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