> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.runtype.com/api-reference/runtype-api/collections/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.runtype.com/_mcp/server. # Collections ## API Docs - Collections [List collections](https://docs.runtype.com/api-reference/runtype-api/collections/list-collections.md) - Collections [Create a collection](https://docs.runtype.com/api-reference/runtype-api/collections/create-a-collection.md) - Collections [Ensure collection (config-as-code converge)](https://docs.runtype.com/api-reference/runtype-api/collections/ensure-collection-config-as-code-converge.md) - Collections [Generate TypeScript types for schematized collections](https://docs.runtype.com/api-reference/runtype-api/collections/generate-type-script-types-for-schematized-collections.md) - Collections [Get a collection](https://docs.runtype.com/api-reference/runtype-api/collections/get-a-collection.md) - Collections [Delete a collection](https://docs.runtype.com/api-reference/runtype-api/collections/delete-a-collection.md) - Collections [Update a collection](https://docs.runtype.com/api-reference/runtype-api/collections/update-a-collection.md) - Collections [Infer a schema from existing records](https://docs.runtype.com/api-reference/runtype-api/collections/infer-a-schema-from-existing-records.md) - Collections [Pull collection definition (config-as-code)](https://docs.runtype.com/api-reference/runtype-api/collections/pull-collection-definition-config-as-code.md) - Collections [Dry-run existing records against a schema](https://docs.runtype.com/api-reference/runtype-api/collections/dry-run-existing-records-against-a-schema.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.runtype.com/api-reference/runtype-api/collections/openapi.json) - [OpenAPI YAML](https://docs.runtype.com/api-reference/runtype-api/collections/openapi.yaml)