---
title: '@svartz/theme-api-docs'
description: >-
  A Svartz theme for REST and GraphQL API docs: endpoints, schemas, and
  examples.
updated_at: '2026-11-26T01:40:58Z'
---

# @svartz/theme-api-docs

## Entry points

- [@svartz/theme-api-docs/runtime](https://svartz.dev/reference/api/theme-api-docs/runtime.md)

## Interfaces

- [ApiDocsThemeConfig](https://svartz.dev/reference/api/theme-api-docs/apidocsthemeconfig.md) — The vault's `theme` settings for API docs.
- [ApiParameter](https://svartz.dev/reference/api/theme-api-docs/apiparameter.md)
- [ApiResponse](https://svartz.dev/reference/api/theme-api-docs/apiresponse.md)
- [GraphqlOperation](https://svartz.dev/reference/api/theme-api-docs/graphqloperation.md)
- [RestOperation](https://svartz.dev/reference/api/theme-api-docs/restoperation.md)
- [SocketMessage](https://svartz.dev/reference/api/theme-api-docs/socketmessage.md) — One kind of WebSocket message, by who sends it: the client (`send`) or the server (`receive`).
- [WebSocketOperation](https://svartz.dev/reference/api/theme-api-docs/websocketoperation.md) — A WebSocket endpoint: the upgrade request's parameters and responses, then the messages over the open socket.

## Types

- [ApiOperation](https://svartz.dev/reference/api/theme-api-docs/apioperation.md) — The `operation` frontmatter schema, one endpoint or GraphQL field per note. An OpenAPI or GraphQL SDL plugin emits this shape.

## Functions

- [default](https://svartz.dev/reference/api/theme-api-docs/default.md) — Node-safe manifest used by the build pipeline.

## Variables

- [extensions](https://svartz.dev/reference/api/theme-api-docs/extensions.md) — The Node-safe extension the build composes.

## Re-exports

- [SchemaNode](https://svartz.dev/reference/api/ui/reference/schemanode.md)
- [ApiDocsRouteConfig](https://svartz.dev/reference/api/ui/reference/referencerouteconfig.md)
