v1

latestOpenAPI 3.0.0Apache 2.02026-07-26322141.0 KB
API Gateway

Get My Profile

Retrieve current authenticated user

get/v2/me

Response

Success Response

emailstring
status'pending' | 'validated' | 'deactivated'
languagestring
mfa'totp' | 'none' | '*'
metaobject
orgSlugsstring[]
platformRolestring
groupAclsobject
createdAtstring
updatedAtstring
updatedBystring
firstNamestring required

Name

lastNamestring

Name

photostring

Profile picture URL

groupsstring[]
idstring

Unique id

sessionIdstring required
expiresstring
permissionsstring[]

Example response

{
  "email": "foo@prisme.ai",
  "org": {
    "navigation": {
      "menu": [
        {
          "id": "workspaces",
          "type": "category",
          "label": "Workspaces",
          "icon": "folder",
          "expanded": true,
          "items": [
            {
              "id": "workspaces-list",
              "type": "item",
              "label": "All workspaces",
              "href": "/workspaces"
            },
            {
              "id": "workspaces-create",
              "type": "item",
              "label": "Create workspace",
              "href": "/workspaces/new"
            }
          ]
        }
      ],
      "footer": [
        {
          "id": "workspaces",
          "type": "category",
          "label": "Workspaces",
          "icon": "folder",
          "expanded": true,
          "items": [
            {
              "id": "workspaces-list",
              "type": "item",
              "label": "All workspaces",
              "href": "/workspaces"
            },
            {
              "id": "workspaces-create",
              "type": "item",
              "label": "Create workspace",
              "href": "/workspaces/new"
            }
          ]
        }
      ],
      "quickActions": [
        {
          "id": "workspaces",
          "type": "category",
          "label": "Workspaces",
          "icon": "folder",
          "expanded": true,
          "items": [
            {
              "id": "workspaces-list",
              "type": "item",
              "label": "All workspaces",
              "href": "/workspaces"
            },
            {
              "id": "workspaces-create",
              "type": "item",
              "label": "Create workspace",
              "href": "/workspaces/new"
            }
          ]
        }
      ]
    }
  }
}