AiSearchStatus

A request or response body; the type column links to the schemas it refers to.

AiSearchStatus

FieldTypeRequiredDescription
configurationAiSearchConfigurationyes—
countsarray of AiSearchIndexCountyes

Chunks of the current model, by the entity they answer for and their modality.

stale_chunksintegeryes

Chunks embedded by another provider or model; a full run removes them.

minimum 0

last_completed_atstring (date-time) | nullyes—
recent_runsarray of SearchIndexRunyes

Newest first.

jsonExample
{
  "configuration": {
    "enabled": true,
    "embedding_provider": "openai",
    "embedding_model": "text-embedding-3-small",
    "embedding_dimensions": 0,
    "embedding_base_url": "string",
    "embeds_images_natively": true,
    "media_provider": "none",
    "media_model": "string",
    "max_file_bytes": 0,
    "problems": [
      "string"
    ]
  },
  "counts": [
    {
      "entity_kind": "job_aid",
      "modality": "text",
      "sources": 0,
      "chunks": 0
    }
  ],
  "stale_chunks": 0,
  "last_completed_at": "2026-01-01T00:00:00.000Z",
  "recent_runs": [
    {
      "id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
      "trigger": "scheduled",
      "mode": "incremental",
      "status": "running",
      "provider": "openai",
      "model": "text-embedding-3-small",
      "started_at": "2026-01-01T00:00:00.000Z",
      "finished_at": "2026-01-01T00:00:00.000Z",
      "indexed_count": 0,
      "skipped_count": 0,
      "failed_count": 0,
      "error": "string"
    }
  ]
}