Get teamspace policies
Retrieve the current policy configuration for the teamspace associated with the API key. Includes source type access settings and public repository filters.
1 min read
get/v2/policies
Request example
Response
get/v2/policies
Authorization
Responses
application/json
Current policy configuration
Access settings for each documentation source type
Show child attributesHide child attributes
Whether a source type is enabled or disabled
Show child attributesHide child attributes
Whether this source type is enabled
Whether a source type is enabled or disabled
Show child attributesHide child attributes
Whether this source type is enabled
Whether a source type is enabled or disabled
Show child attributesHide child attributes
Whether this source type is enabled
Whether a source type is enabled or disabled
Show child attributesHide child attributes
Whether this source type is enabled
Whether a source type is enabled or disabled
Show child attributesHide child attributes
Whether this source type is enabled
Library access filters. Mode determines which sub-object is active.
Show child attributesHide child attributes
Filter mode: 'quality' for threshold-based filtering, 'select' for manual library selection
Options:
qualityselectnullQuality-mode settings (active when mode is 'quality')
Show child attributesHide child attributes
Restrict to verified libraries only
Minimum trust score, 0-10
Maximum days since last update
Libraries excluded from results
Libraries that bypass all quality filters, blocked list, and source type restrictions
Repo-specific quality filters
Show child attributesHide child attributes
Website-specific quality filters
Number of public libraries currently accessible under these filters