{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tale-dev/json-schema/tale-dev-retry-indexing-result-schema.json",
  "title": "RetryIndexingResult",
  "description": "What a retry-indexing request did — the one answer the Hub document door and the project-file door share.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tale-dev-projects-api-openapi.yml#/components/schemas/RetryIndexingResult",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "indexing",
        "skipped"
      ],
      "description": "`indexing` — the blob was queued (an opt-out lifted); `skipped` — nothing was queued, `reason` says why"
    },
    "reason": {
      "type": "string",
      "enum": [
        "content-only",
        "untracked-blob",
        "unsupported",
        "in-progress"
      ],
      "description": "Why indexing was skipped; absent when `status` is `indexing`. `content-only`: inline text never enters the search corpus (a Hub document without a file — never a project file); `untracked-blob`: the platform does not track the blob; `unsupported`: terminal — the platform cannot index these bytes and a retry reproduces the answer; the row’s `indexing.errorCode` names the cause (`unsupported_type`, `image_no_vision`, `empty`, `not_text`, `malformed`); `in-progress`: a fresh index job is already queued or running — poll `indexing` instead."
    }
  }
}