List Header Components
list_header_componentsList header components defined at spec or project level, returning ids and rowVersions needed to modify or assign them in header policies. Optionally include usage counts at spec level.
Instructions
List the header components defined at one level: 'spec' (needs specId) or 'project'. Set includeUsageCounts to see how often each is referenced — spec level only. Returns the ids and rowVersions needed to change them or assign them in a header policy. Requires project context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Which level to read: 'spec' or 'project' | |
| specId | No | Public ID (GUID) of the API specification — required for level 'spec' | |
| versionId | No | Optional version ID (GUID) to filter by a specific version — spec level only | |
| includeUsageCounts | No | Also return how often each component is referenced — spec level only (default false) |