Shares

GET /api/v1/share-roles

Get Share Roles

getShareRoles returns the available roles for sharing

Response

Type: []Role

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringe.g., “org_admin”, “project_editor”
scopestring“system”, “organization”, “team”, “project”
organization_idstringNULL = system role, else org-specific
is_systemboolSystem roles cannot be deleted
permissionsdatatypes.JSONArray of permission names: [“models:read”, “models:write”]
permission_list[]stringFor API responses (optional)

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/share-roles