Scale AI · Schema

FileEntity

Represents a file in the Document Understanding Core. Based on https://docs.google.com/document/d/1nB0SqUGTuIBiNMzLVfLW5NWSEZrcgEaXtzRessQgAPo/edit?tab=t.0#bookmark=id.ne9tup4c49z5

Data EngineLabelingRLHFGenAI PlatformDonovanDefense AILiDARSensor FusionREST API

Properties

Name Type Description
id string ID of the entity
project_id string ID of the project
object object
filename string
path object
size_bytes integer
mime_type string
status object
created_at string
storage_key string
external_data_source_id object
external_file_id object
external_etag object
external_content_hash object
external_deleted_at object
external_sync_status object
external_sync_error object
View JSON Schema on GitHub

JSON Schema

scale-ai-file-entity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-file-entity-schema.json",
  "title": "FileEntity",
  "description": "Represents a file in the Document Understanding Core.\nBased on https://docs.google.com/document/d/1nB0SqUGTuIBiNMzLVfLW5NWSEZrcgEaXtzRessQgAPo/edit?tab=t.0#bookmark=id.ne9tup4c49z5",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-document-understanding-openapi.yml#/components/schemas/FileEntity",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id",
      "description": "ID of the entity"
    },
    "project_id": {
      "type": "string",
      "title": "Project Id",
      "description": "ID of the project"
    },
    "object": {
      "anyOf": [
        {
          "type": "string",
          "const": "file"
        },
        {
          "type": "null"
        }
      ],
      "title": "Object",
      "default": "file"
    },
    "filename": {
      "type": "string",
      "title": "Filename"
    },
    "path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Path"
    },
    "size_bytes": {
      "type": "integer",
      "title": "Size Bytes"
    },
    "mime_type": {
      "type": "string",
      "title": "Mime Type"
    },
    "status": {
      "$ref": "#/$defs/FileStatus"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "storage_key": {
      "type": "string",
      "title": "Storage Key"
    },
    "external_data_source_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Data Source Id"
    },
    "external_file_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External File Id"
    },
    "external_etag": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Etag"
    },
    "external_content_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Content Hash"
    },
    "external_deleted_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Deleted At"
    },
    "external_sync_status": {
      "anyOf": [
        {
          "$ref": "#/$defs/ExternalSyncStatus"
        },
        {
          "type": "null"
        }
      ]
    },
    "external_sync_error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "External Sync Error"
    }
  },
  "type": "object",
  "required": [
    "id",
    "project_id",
    "filename",
    "size_bytes",
    "mime_type",
    "status",
    "created_at",
    "storage_key"
  ],
  "$defs": {
    "ExternalSyncStatus": {
      "type": "string",
      "enum": [
        "pending",
        "processing",
        "retrying",
        "failed",
        "synced"
      ],
      "title": "ExternalSyncStatus"
    },
    "FileStatus": {
      "type": "string",
      "enum": [
        "uploading",
        "uploaded",
        "failed",
        "deleted"
      ],
      "title": "FileStatus"
    }
  }
}

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/scale-ai-file-entity"
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. See our Privacy Policy and Terms.

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