---
title: "Create Catalog From Run"
method: POST
path: "/public/enrich/{job_id}/to-catalog"
tags: ["Enrich"]
---

# Create Catalog From Run

`POST /public/enrich/{job_id}/to-catalog`

## Request

- Base URL: `https://catalogapi.rastro.ai/api`
- URL: `https://catalogapi.rastro.ai/api/public/enrich/{job_id}/to-catalog`
- Auth: HTTP bearer

Create a new catalog from an enrichment run's results.

The new catalog's schema carries field types AND descriptions from the run's
enrichment template, and is populated with the run's enriched records. Works for
upload-based (catalog-less) runs that otherwise have no catalog to export to.

## Path parameters

- `job_id` string, required

## Headers

- `X-Organization-Id` string, nullable

## Request body

- CreateCatalogFromRunRequest
  - `name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rastro-ai/apis/rastro-public-api.md) - [All operations](https://skmtc.dev/rastro-ai/apis/rastro-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rastro-ai/apis/rastro-public-api/revisions/57c8ed4854bb?raw)
