Skip to main content
GET
/
v2
/
role-bindings
List role bindings
curl --request GET \
  --url https://api.arize.com/v2/role-bindings \
  --header 'Authorization: Bearer <token>'
{
  "role_bindings": [
    {
      "id": "Um9sZUJpbmRpbmc6MTphQmNE",
      "role_id": "Um9sZToxOmFCY0Q=",
      "user_id": "VXNlcjo0MjphQmNE",
      "resource_type": "SPACE",
      "resource_id": "U3BhY2U6MTpWNEth",
      "created_at": "2024-06-01T10:00:00Z",
      "updated_at": "2024-06-01T10:00:00Z"
    },
    {
      "id": "Um9sZUJpbmRpbmc6MjphQmNE",
      "role_id": "Um9sZToyOmFCY0Q=",
      "user_id": "VXNlcjoxMDphQmNE",
      "resource_type": "PROJECT",
      "resource_id": "UHJvamVjdDo1OmFCY0Q=",
      "created_at": "2024-06-02T10:00:00Z",
      "updated_at": "2024-06-02T10:00:00Z"
    }
  ],
  "pagination": {
    "next_cursor": "cursor_12345",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format

Query Parameters

limit
integer
default:50

Maximum items to return

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor returned from a previous response (pagination.next_cursor). Treat it as an unreadable token; do not attempt to parse or construct it.

user_id
string

Filter role bindings by user. When provided, only bindings assigned to this user are returned. Must be a valid global user ID.

A universally unique identifier (base64-encoded opaque string).

Example:

"RW50aXR5OjEyMzQ1"

resource_type
enum<string>
required

Filter role bindings by resource type.

  • SPACE — Return only space-level bindings.
  • PROJECT — Return only project-level bindings.

Resource type for the binding. Only SPACE and PROJECT are supported for single-binding CRUD. resource_id must encode the same resource type.

Available options:
SPACE,
PROJECT

Response

Returns a list of role binding objects.

role_bindings
object[]
required

A list of role bindings.

pagination
object
required

Pagination metadata for cursor-based navigation.