List which groups the project binds to which policies
List which groups the project binds to which policies
GET/v1/group-policies
Not available yet Pod's API does not answer this call yet.
A key with the permissions:read scope.
Request
curl "https://api.pod.mapier.ai/v1/group-policies?project=example" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of group bindings.
{
"data": [
{
"id": "example",
"group": "example",
"group_name": "example",
"policy": "example",
"created_at": "2026-11-23T12:00:00.000Z",
"created_by": "example"
}
],
"next_cursor": null
}| Field | Type | Always | What it is |
|---|---|---|---|
data | GroupPolicy[] | Yes | |
next_cursor | string | null | Yes |
Errors
The refusals this call is known for: invalid, unauthorized, forbidden. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.