---
title: "Preflight Capability Document"
method: POST
path: "/core/agents/{agent_id}/capability-document/preflight"
tags: ["capability_documents"]
---

# Preflight Capability Document

`POST /core/agents/{agent_id}/capability-document/preflight`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/agents/{agent_id}/capability-document/preflight`
- Auth: HTTP bearer

## Path parameters

- `agent_id` string, required

## Query parameters

- `config_version` integer, nullable

## Headers

- `x-anyreach-org` string, nullable: Organization ID for user PATs (pat_ prefix tokens)

## Response `200`

Successful Response

- PreflightResponse: What generating right now would produce, without producing it. `blockers` is the point of the endpoint: evidence the configuration does not carry, reported before a run is started rather than as residue afterwards. It is computed per request and never stored — the row keeps only what a finished document needs.
  - `agent_id` string, required
  - `config_version` integer, required
  - `eligible` boolean, required
  - `eligibility_reasons` object[]
  - `planning_validation_required` boolean
  - `blockers` object[]
  - `warnings` object[]
  - `skipped_sections` object[]

## Other responses

- `422`: Validation Error

---

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