Shares
Shares
GET /api/v1/share-roles
Get Share Roles
getShareRoles returns the available roles for sharing
Response
Type: []Role
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
slug | string | e.g., “org_admin”, “project_editor” |
scope | string | “system”, “organization”, “team”, “project” |
organization_id | string | NULL = system role, else org-specific |
is_system | bool | System roles cannot be deleted |
permissions | datatypes.JSON | Array of permission names: [“models:read”, “models:write”] |
permission_list | []string | For API responses (optional) |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/share-roles