---
title: "Queue an AI tracking run"
method: POST
path: "/projects/{project_id}/ai-tracking/runs"
tags: ["ai-tracking"]
---

# Queue an AI tracking run

`POST /projects/{project_id}/ai-tracking/runs`

## Request

- Base URL: `https://eu.bisibility.com/api/v1`
- URL: `https://eu.bisibility.com/api/v1/projects/{project_id}/ai-tracking/runs`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `/api/auth/oauth2/authorize`, token URL `/api/auth/oauth2/token`, scopes: `api:write`)

## Path parameters

- `project_id` string, required

## Headers

- `Bisibility-API-Version` 'v1'
- `Idempotency-Key` string, required
- `X-Bisibility-Source` 'sdk' | 'cli' | 'mcp'

## Request body

- object: Queues paid work with explicit consent. Credential, budget and consent revisions must match a fresh preview. Manual runs require at least one prompt. schedule_id and planned_at must be supplied together. No per-request max_cost_cents is supported; admission checks the project provider budget.
  - `prompt_ids` string[], required
  - `configurations` object[], required
    - `provider` 'dataforseo', required
    - `endpoint` string, required
    - `engine` 'chat_gpt' | 'gemini' | 'claude' | 'perplexity' | 'google', required
    - `source` 'consumer_scrape' | 'model_api' | 'google_aio', required
    - `model` string, nullable, required
    - `parameters` object, required: Provider parameters; values are arbitrary JSON.
  - `credential_connection_id` string, required: Public connection ID resolved within the project.
  - `credential_version` string, required
  - `budget_revision` string, required
  - `consent_revision` string, required
  - `consent` true, required
  - `deadline` string, date-time, required
  - `schedule_id` string: Public schedule ID resolved within the project.
  - `planned_at` string, date-time
  - `retry_of_run_id` string: Compatibility plan field forwarded to the planner.

## Response `201`

Project-scoped tracking data with retained provenance and explicit unknown measurements.

- AiTrackingRunResponse
  - `data` AiTrackingRun, required
    - `id` string, required
    - `state` 'planned' | 'running' | 'completed' | 'partial' | 'blocked' | 'failed' | 'cancelled' | 'skipped', required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `finished_at` string, date-time, nullable, required
    - `planned_at` string, date-time, nullable, required
    - `sample_count` integer, nullable, required

## Other responses

- `400`: Invalid input or cursor
- `401`: Authentication required
- `403`: Project membership or credential scope denied
- `404`: Project-scoped resource not found
- `409`: Idempotency key payload or state conflict; Unsupported API version
- `422`: Unsupported source, model, consent or cost policy
- `423`: Project is read-only
- `429`: Rate limited

## Changes

- **2026-10-19** `a6e1ec0dec82`: 5 breaking, 1 warning, 13 info
  - for the `header` request parameter `Idempotency-Key`, the minLength was increased from `0` to `1`
  - request property `configurations/items/model` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `credential_connection_id` request property's minLength was increased from `0` to `1`
  - the `prompt_ids/items/` request property's minLength was increased from `0` to `1`
  - …15 more

[Operation history](https://skmtc.dev/bisibility/apis/bisibility-public-api/changes/projects/:project_id/ai-tracking/runs/post.md)

---

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