Esther Álvarez Feijoo
04/21/2026, 2:28 PMAsk Inkeep
04/21/2026, 2:28 PMAsk Inkeep
04/21/2026, 2:28 PM<http://localhost:7000/openapi.json> and view the documentation at <http://localhost:7000/redoc> when running your PDP locally (assuming it's running at localhost:7000) (1) .
Additionally, the Cloud API OpenAPI spec is available at https://api.permit.io/v2/openapi.json with documentation at https://api.permit.io/v2/redoc (2) .
For PDP statistics, there's a separate API with its OpenAPI spec available at https://pdp-statistics.api.permit.io/v2/openapi.json (3) .
The local PDP version should provide complete body structure definitions in its OpenAPI spec that may not be fully detailed in the online redoc version.Ask Inkeep
04/21/2026, 2:28 PMAsk Inkeep
04/21/2026, 2:40 PMEsther Álvarez Feijoo
04/21/2026, 2:41 PMOmer Zuarets
04/21/2026, 2:45 PMEsther Álvarez Feijoo
04/21/2026, 2:46 PMEsther Álvarez Feijoo
04/21/2026, 2:47 PMOmer Zuarets
04/21/2026, 3:06 PMEsther Álvarez Feijoo
04/21/2026, 3:18 PMYou can use Proxy Facts to make requests to the Permit API by simply updating the URL path: Change:Didn't know that. So even some endpoints that are not documented in the openapi of the PDP, like "role_assignments/bulk", do exist. That's great, thanks!To:<https://api.permit.io/v2/facts/{proj}/{env}/>...The routes and schema are the same as the Permit API facts routes.<http://localhost:7766/facts/>...
Omer Zuarets
04/21/2026, 3:45 PM