Get Policies
Changed onGet policies for an organization with pagination.
By default, returns all policies (no limit). Use limit parameter for pagination. Response includes pagination metadata (total, has_more) to detect truncation.
Docs: Guide | API Reference
Request
- Base URLhttps://api.grayswan.ai
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum number of policies to return (omit to return all)
Number of policies to skip
Response
Successful Response
Changes
- breaking
the
response's property type changed fromarraytostringfor status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
the response property
became required for the status - info
added the required property
to the response with the status
- breaking