v1

latestOpenAPI 3.0.3raw.githubusercontent.com2023-03-2662235.2 KB
v1alpha/user

account

Get information about the account associated with the provided API key

get/user/account

Headers

Authorizationstring required

Response

OK response.

emailstring email required

The user's email

idstring required

The user's ID

profile_picturestring uri

The user's profile picture

Example response

{
  "email": "example@stability.ai",
  "id": "user-1234",
  "organizations": [
    {
      "id": "org-123456",
      "is_default": false,
      "name": "My Organization",
      "role": "MEMBER"
    },
    {
      "id": "org-123456",
      "is_default": false,
      "name": "My Organization",
      "role": "MEMBER"
    },
    {
      "id": "org-123456",
      "is_default": false,
      "name": "My Organization",
      "role": "MEMBER"
    },
    {
      "id": "org-123456",
      "is_default": false,
      "name": "My Organization",
      "role": "MEMBER"
    }
  ],
  "profile_picture": "https://api.stability.ai/example.png"
}