Skip to main content
POST

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

Path Parameters

space_id
string
required

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

Example:

"RW50aXR5OjEyMzQ1"

Body

application/json

Body containing the user to add to the space

user_id
string
required

The unique identifier of the user to add

Example:

"RW50aXR5OjEyMzQ1"

role
object
required

Strict request form of SpaceRoleAssignment. Used in write request bodies.

  • PREDEFINED: { "type": "PREDEFINED", "name": "ADMIN" | "MEMBER" | "READ_ONLY" | "ANNOTATOR" }
  • CUSTOM: { "type": "CUSTOM", "id": "<encoded-role-id>" }

Response

User successfully added to the space

A space membership record.

id
string
required

Unique identifier for the membership record

Example:

"RW50aXR5OjEyMzQ1"

user_id
string
required

The unique identifier of the user

Example:

"RW50aXR5OjEyMzQ1"

space_id
string
required

The unique identifier of the space

Example:

"RW50aXR5OjEyMzQ1"

role
object
required

Specifies which role to assign within a space. Discriminated by type:

  • PREDEFINED: a built-in platform role — { "type": "PREDEFINED", "name": "ADMIN" | "MEMBER" | "READ_ONLY" | "ANNOTATOR" }
  • CUSTOM: a custom RBAC role identified by its ID — { "type": "CUSTOM", "id": "<encoded-role-id>" }

Used wherever a space-level role assignment is required (memberships, service key bindings, etc.).