POST /v1/brands/{brand_id}/autopilot/items/{item_id}/answers

Answer an article update's question

An article_update or a page item waiting for an approval (status: proposed) can ask facts only the brand knows (questions in GET .../autopilot/items); it cannot be approved while one is open. Send one answer per call, or answer: null to go on without that fact. A page item puts the answer where its change asked it (null keeps a number as written). Once an update has none open and at least one answered, it is written again with the answers as the brand's facts (status: generating, then proposed), free: it was paid when it was first written. 409 when the question is already closed or the item moved on. Free on any plan.

Path parameters

Query parameters

  • dry_run boolean optional

    Preview the call without executing it. Runs auth, scope, eligibility and body validation, then returns 200 with a dry_run object reporting the request-unit and credit cost plus a non-consuming quota snapshot. Nothing is debited, reserved, dispatched or mutated. An invalid body still returns 422.

    default: false

Header parameters

  • Idempotency-Key string required

    Required with an API key, else 400 idempotency_key_required: a new value per operation (a UUID works). A retry with the same key and body within 24 hours replays the first success instead of running again; a 4xx or 5xx is not stored, so the same key runs once the cause is fixed. Ignored with dry_run=true.

Request body

application/json required
Type: AutopilotAnswer
  • answer string (nullable) nullable required

    The fact, as the brand states it; null goes on without it (nothing is written in its place).

  • question_id string required

    questions[].id of the item.

    min length: 1 · max length: 200

Responses

Answer an article update's question application/json
Type: AutopilotItem
  • credits integer required

    On a planned item, an estimate of what writing it costs (an article at the month's article price); once written, the credits it reserved.

  • id string required

    Item id (UUID).

  • kind enum required

    page_change, new_page, new_article or article_update.

  • origin enum required

    Who started it: scan, schedule, manual, task, agent, api, example.

  • status enum required

    planned (in the plan, nothing written), generating, proposed (waits for an approval), awaiting_client, approved, scheduled, applying, in_review (a pull request), to_paste, applied, verified (seen on the live page), partial, rolled_back, removed, rejected, failed, expired, paused or skipped (an article day the owner skipped).

  • applied_at string (nullable) nullable

    When it went out on the site.

    format: `date-time`

  • brief_id string (nullable) nullable

    An article's content brief, once written.

  • created_at string (nullable) nullable

    format: `date-time`

  • credits is the most it costs, not the exact charge: a page item with language versions is priced per version and each version it cannot write (one that shows another page, or one that fails) is given back.

    default: `false`

  • decided_at string (nullable) nullable

    When it was approved or rejected.

    format: `date-time`

  • hold_reason enum (nullable) nullable

    Why a written article waits: quality_low, links_invalid or banned_phrases.

  • issues_left array of AutopilotIssueLeft

    What an article_update's run left open, with why: an issue it found, a target it could not truthfully answer, or an item a task asked for that it did not do.

  • object string

    Always autopilot_item.

    default: `autopilot_item`

  • page_id string (nullable) nullable

    The page of the site it changes, when one.

  • questions array of AutopilotQuestion

    An article_update's facts only the brand knows, asked by its run (at most five, once per item), or the open gaps of a page item's changes. While one is open the item cannot be approved; answer each with POST .../autopilot/items/{item_id}/answers.

  • removed_at string (nullable) nullable

    When it was taken down or seen gone.

    format: `date-time`

  • removed_by enum (nullable) nullable

    On a removed article: us (taken down from Rank Prompt) or site (gone from the site: two 404 or 410 reads apart, or one and its exit from the sitemap).

  • slot_at string (nullable) nullable

    An article's day.

    format: `date-time`

  • target_url string (nullable) nullable

    The address it changes or creates.

  • topic string (nullable) nullable

    An article's topic.

  • undo_until string (nullable) nullable

    A live article can be taken back in the app until then.

    format: `date-time`

  • updated_at string (nullable) nullable

    format: `date-time`

  • verified_at string (nullable) nullable

    When it was seen on the live page.

    format: `date-time`

Request validation failed application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "validation_error",
    "message": "Request validation failed"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Missing or invalid credentials application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid credentials"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
You do not have permission to access this resource application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "forbidden",
    "message": "You do not have permission to access this resource"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Resource not found application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "not_found",
    "message": "Resource not found"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Resource conflict application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "conflict",
    "message": "Resource conflict"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Request body did not match the expected schema application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "body_validation_error",
    "message": "Request body did not match the expected schema"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Per-minute rate limit exceeded application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "rate_limit_exceeded",
    "message": "Per-minute rate limit exceeded"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
An unexpected error occurred application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "internal_error",
    "message": "An unexpected error occurred"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}
Service temporarily unavailable, please retry application/json
Type: ApiError
  • error object required
    Show fields
    • code string required

      Stable machine-readable error code from the catalog.

    • message string required

      Human-readable description suitable for logging.

    • details object

      Optional, code-specific context (e.g. errors array for validation_error, retry_after for service_unavailable). Shape depends on error.code; treat as opaque otherwise.

      Show fields

      Empty object (no properties).

  • Server-generated correlation id for the request. Mirrors the X-Correlation-ID response header. Include this when contacting support.

    format: `uuid`

Example response
{
  "error": {
    "code": "service_unavailable",
    "message": "Service temporarily unavailable, please retry"
  },
  "request_id": "9f6c4e8a-1d3b-4c8b-9f1e-7a3b1c2d3e4f"
}