v32

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-312881,4162.7 MB
Group organization role assignments

Retrieve group organization role

Retrieves an organization role assigned to a group.

get/organization/groups/{group_id}/roles/{role_id}

Path parameters

group_idstring required

The ID of the group to inspect.

role_idstring required

The ID of the organization role to retrieve for the group.

Response

Organization role retrieved for the group successfully.

idstring required

Identifier for the role.

namestring required

Name of the role.

permissionsstring[] required

Permissions associated with the role.

resource_typestring required

Resource type the role applies to.

predefined_roleboolean required

Whether the role is predefined by OpenAI.

descriptionstring nullable required

Description of the role.

created_atinteger nullable required

When the role was created.

updated_atinteger nullable required

When the role was last updated.

created_bystring nullable required

Identifier of the actor who created the role.

created_by_user_objobject nullable required

User details for the actor that created the role, when available.

metadataobject nullable required

Arbitrary metadata stored on the role.