---
title: "Create an ingestion job for an asset"
method: POST
path: "/v1/index"
tags: ["Assets"]
---

# Create an ingestion job for an asset

`POST /v1/index`

## Headers

- `Idempotency-Key` string, required

## Request body

- IndexRequest
  - `asset_id` string, required
  - `library_id` string, required
  - `execution_policy` 'local_only' | 'prefer_local' | 'cloud_allowed' | 'cloud_required', required

## Response `202`

Indexing job

- JobResponse
  - `request_id` string, required
  - `execution` Execution, required
    - `location` 'local' | 'cloud', required
    - `capability_id` string, nullable
    - `capability_version` string, nullable
  - `usage` Usage, required
    - `billable` boolean, required
    - `quantity` number, required
    - `unit` string, required
    - `credits` number
  - `warnings` string[], required
  - `data` Job, required
    - `id` string, required
    - `status` 'queued' | 'running' | 'succeeded' | 'failed' | 'cancel_requested' | 'canceled', required
    - `capability_id` string, nullable
    - `capability_version` string, nullable
    - `workflow` WorkflowReference
      - `id` string, required
      - `version` string, required
    - `execution_policy` 'local_only' | 'prefer_local' | 'cloud_allowed' | 'cloud_required', required
    - `scope` Scope, required
      - `library_ids` LibraryId[], required
      - `asset_ids` AssetId[], required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `default` — Standard Cerul error envelope

## Changes

- **2026-07-27** `c15615d54993` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cerul-ai/apis/cerul-api/changes/v1/index/post.md)

---

[API](https://skmtc.dev/cerul-ai/apis/cerul-api.md) · [All operations](https://skmtc.dev/cerul-ai/apis/cerul-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerul-ai/cerul-api/revisions/c15615d54993/schema)
