---
title: "Agent Extract"
method: POST
path: "/v1/agent/extract"
tags: ["v1", "agent"]
---

# Agent Extract

`POST /v1/agent/extract`

## Request

- Base URL: `https://api.parsera.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.parsera.org/v1/agent/extract`
- Auth: API key in header `X-API-KEY`

Start a one-shot agent extraction. Does NOT create a reusable scraper.

## Request body

- AgentExtractInput
  - `url` string, required
  - `prompt` string, required
  - `attributes` Attribute[], nullable
    - `name` string, required
    - `description` string
    - `type` 'string' | 'integer' | 'number' | 'bool' | 'list' | 'object' | 'any' | 'image'
  - `callback_url` string, nullable
  - `source` string

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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