ChatGPT · Schema

Annotation

AgentsArtificial IntelligenceChatGPTEmbeddingsFine-TuningGPT-4GPT-5Language ModelOpenAIReal-Time

Properties

Name Type Description
type string The type of annotation.
start_index integer The start index of the annotation in the text.
end_index integer The end index of the annotation in the text.
url string The URL cited. Present for url_citation type.
title string The title of the cited resource.
file_id string The ID of the cited file. Present for file_citation and file_path types.
quote string The relevant quote from the file.
View JSON Schema on GitHub

JSON Schema

chatgpt-annotation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Annotation",
  "title": "Annotation",
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of annotation.",
      "enum": [
        "url_citation",
        "file_citation",
        "file_path"
      ],
      "example": "url_citation"
    },
    "start_index": {
      "type": "integer",
      "description": "The start index of the annotation in the text.",
      "example": 10
    },
    "end_index": {
      "type": "integer",
      "description": "The end index of the annotation in the text.",
      "example": 10
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL cited. Present for url_citation type.",
      "example": "https://www.example.com"
    },
    "title": {
      "type": "string",
      "description": "The title of the cited resource.",
      "example": "Example Title"
    },
    "file_id": {
      "type": "string",
      "description": "The ID of the cited file. Present for file_citation and\nfile_path types.\n",
      "example": "500123"
    },
    "quote": {
      "type": "string",
      "description": "The relevant quote from the file.",
      "example": "example_value"
    }
  }
}

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/chatgpt-annotation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.