Team Roles
List roles.
Changed onReturns all roles that can be assigned to members within this team. Includes both global assignable system roles (Administrator, Member, Chat-only) and the team's own custom roles. Super Admin and Owner are excluded as they are not assignable.
get/api/v1/teams/roles
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
List of roles for the team
Example response
{
"status": "success",
"data": [
{
"id": 1,
"name": "Content Editor",
"description": "Can manage content",
"type": "local",
"has_access_to_projects": true,
"agents": [
1,
2
],
"permissions": [
"Create Conversation",
"Export Conversation"
],
"created_at": "2023-04-30 16:43:53",
"updated_at": "2023-04-30 16:43:53"
}
]
}Changes
- info
endpoint added
- info