Tale · Schema

ProjectFile

CompanyArtificial IntelligenceAgentsAutomationKnowledge ManagementMCPOpen SourceSelf-Hosted

Properties

Name Type Description
id string
fileName stringnull
folderId stringnull
mimeType stringnull Resolved from the file name’s extension at the bind — a declared `contentType` never stands in for it — and the `Content-Type` the download carries
size integernull The landed bytes, from the blob’s metadata row — the size the upload policy judged; null when the platform does not track the blob
indexing object Where the file stands in the search corpus — the vocabulary `Document.indexing` speaks. A file bound with the default `skipRagIndexing: true` reads `skipped` until someone indexes it (**Index now** on
createdAt integer Epoch milliseconds
View JSON Schema on GitHub

JSON Schema

tale-dev-project-file-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tale-dev/json-schema/tale-dev-project-file-schema.json",
  "title": "ProjectFile",
  "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/ProjectFile",
  "type": "object",
  "required": [
    "id",
    "createdAt",
    "size"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "fileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "folderId": {
      "type": [
        "string",
        "null"
      ]
    },
    "mimeType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Resolved from the file name’s extension at the bind — a declared `contentType` never stands in for it — and the `Content-Type` the download carries"
    },
    "size": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The landed bytes, from the blob’s metadata row — the size the upload policy judged; null when the platform does not track the blob"
    },
    "indexing": {
      "type": "object",
      "required": [
        "status"
      ],
      "additionalProperties": false,
      "description": "Where the file stands in the search corpus — the vocabulary `Document.indexing` speaks. A file bound with the default `skipRagIndexing: true` reads `skipped` until someone indexes it (**Index now** on the project’s Knowledge tab, `POST …/files/{documentId}/retry-indexing`, or a bind with `skipRagIndexing: false`) and is not found by `POST …/knowledge/search` until then; absent when the platform does not track the blob.",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "queued",
            "running",
            "completed",
            "failed",
            "unsupported",
            "skipped"
          ],
          "description": "`pending` — never queued; `skipped` — the file opts out of indexing; `unsupported` — TERMINAL: the platform cannot index these bytes and a retry reproduces the answer, `errorCode` says why (`unsupported_type`, `image_no_vision`, `empty`, `not_text`, `malformed`); `failed` — see `error` / `errorCode`: the job retries `embedding_upstream`, `indexer_error` and `index_rebuilding` by itself, `usage_limit` resumes by itself once the usage limit allows it, the rest wait for an admin (a provider account, the organization’s policy) and a `retry-indexing`; a `failed` with no `errorCode` is a failure the platform settled without classifying it, usually an indexing run that stopped before it finished (a lost job, a stopped worker) — request a `retry-indexing` rather than wait for one"
        },
        "indexedAt": {
          "type": "integer",
          "minimum": 0,
          "description": "Epoch ms of the last completed indexing"
        },
        "error": {
          "type": "string",
          "description": "A sentence for a person, present with `failed` and `unsupported`; never a storage-engine diagnostic — the raw cause stays in the platform log."
        },
        "errorCode": {
          "type": "string",
          "enum": [
            "unsupported_type",
            "image_no_vision",
            "empty",
            "not_text",
            "malformed",
            "secret_detected",
            "pii_blocked",
            "embedding_not_configured",
            "embedding_provider_refused",
            "embedding_upstream",
            "index_rebuilding",
            "index_repair_failed",
            "usage_limit",
            "indexer_error"
          ],
          "description": "The stable cause to branch on, present with `unsupported`, and with `failed` whenever the platform classified the cause — a `failed` without one was settled unclassified, usually after its indexing run stopped before it finished; request a `retry-indexing` for it. Terminal (`unsupported`): `unsupported_type` — no extractor for the type; `image_no_vision` — an image and no OCR lane; `empty` — no text to index; `not_text` — binary bytes behind a text extension, re-export as UTF-8; `malformed` — the bytes do not parse as the format the extension claims. Retried by the job (`failed`): `embedding_upstream` — the provider was unreachable, rate-limited or 5xx; `indexer_error` — a platform-side store fault; `index_rebuilding` — the search index is being rebuilt. Waits for a usage limit (`failed`): `usage_limit` — a limit that binds whoever the file is indexed for (its uploader, a synced drive’s owner, the organization for an emailed attachment) has too little room for its embeddings; indexing resumes by itself within the hour after the limit resets or is raised, after what it already embedded. Waits for an admin (`failed`): `embedding_not_configured`, `embedding_provider_refused` (the provider refused the account or credential, the model answers vectors of another width than the settings state, or the platform cannot use the embedding credential — none configured, deleted, disabled or unreadable), `index_repair_failed`, `secret_detected`, `pii_blocked`. Saving corrected embedding settings, or adding or repairing the credential the embedding model uses, re-queues every document that failed on the embedding model."
        }
      }
    },
    "createdAt": {
      "type": "integer",
      "minimum": 0,
      "description": "Epoch milliseconds"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/tale-dev-project-file"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.