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. 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) |