Properties
| Name | Type | Description |
|---|---|---|
| max_credits | integer | |
| document_id | string | |
| apply | boolean | |
| version | integer | |
| message | string | |
| intent | string | |
| selection | string | |
| source_ids | array | |
| section_id | string | |
| comment_ids | array | |
| shorten_percent | number | |
| terms | array | |
| context_revision | integer | |
| themes | array | |
| cursor | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/citation-co/json-schema/citation-co-write-schema.json",
"title": "write",
"x-generated": "2026-10-30",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/citation-co-openapi.json#/components/schemas/write",
"type": "object",
"properties": {
"max_credits": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"document_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"apply": {
"default": false,
"type": "boolean"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 24000
},
"intent": {
"type": "string",
"enum": [
"brief",
"outline",
"section",
"sources",
"synthesis",
"argument",
"style",
"rewrite",
"memory",
"feedback",
"completion"
]
},
"selection": {
"type": "string",
"maxLength": 40000
},
"source_ids": {
"default": [],
"maxItems": 12,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"section_id": {
"type": "string",
"maxLength": 100
},
"comment_ids": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"shorten_percent": {
"type": "number",
"minimum": 5,
"maximum": 80
},
"terms": {
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"maxLength": 200
}
},
"context_revision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"themes": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"maxLength": 4000
}
},
"cursor": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"max_credits",
"document_id",
"version",
"message",
"intent"
],
"additionalProperties": false
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/citation-co-write"
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.