---
title: "Start Asset Discovery"
method: POST
path: "/api/v1/assets/{asset_id}/schema-discovery"
tags: ["asset-jobs"]
---

# Start Asset Discovery

`POST /api/v1/assets/{asset_id}/schema-discovery`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/{asset_id}/schema-discovery`
- Auth: none declared

Start asset discovery job for an asset (TECH-194 migrated endpoint).

This endpoint delegates to the distributed jobs system.
For direct workflow submission, use POST /jobs/workflows with workflow_name=WORKFLOW_ASSET_DISCOVERY.

Args:
    asset_id: Asset ID (UUID string) to discover schema for
    ctx: Application context with user and session
    workflow_service: Workflow service instance

Returns:
    Job submission response with job_id

## Path parameters

- `asset_id` string, uuid, required

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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