List Schemas
list_schemasList all schemas of an API specification. Optionally include usage counts showing how many endpoints reference each schema. Set scope to 'project' to look across every spec in the project instead — that returns the groups of structurally identical schemas (candidates for the shared library) plus counts, not the full list, and specId is then ignored. Every entry carries the rowVersion update_schema needs, so a batch of updates does not need a get_schema per schema first. Use this to browse schemas or find a schema id; for one schema with its full definition use get_schema. Requires project context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | What to look at: 'spec' (default) or 'project' | spec |
| specId | Yes | Public ID (GUID) of the API specification | |
| versionId | No | Optional version ID (GUID) to filter schemas by a specific version | |
| includeUsageCounts | No | Include usage counts per schema (default false, slightly slower) |