v51
latestOpenAPI 3.0.3Mozilla Public License Version 2.0raw.githubusercontent.com2026-08-0165205256.0 KBPolicies
Get a policy.
You can retrieve details of a single policy by ID in your Tyk instance.
get/tyk/policies/{polID}
Path parameters
polIDstring required
You can retrieve details of a single policy by ID in your Tyk instance.
Response
Get details of a single policy.
Example response
{
"_id": "5ead7120575961000181867e",
"active": true,
"id": "5ead7120575961000181867e",
"last_updated": "1655965189",
"max_query_depth": -1,
"name": "Swagger Petstore Policy",
"org_id": "5e9d9544a1dcd60001d0ed20",
"partitions": {
"acl": true,
"quota": true,
"rate_limit": true
},
"per": 60,
"post_expiry_action": "delete",
"quota_max": -1,
"quota_renewal_rate": 3600,
"rate": 1000,
"throttle_interval": -1,
"throttle_retry_limit": -1
}