v56

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01142337440.5 KB
AccountService
Accounts

Retrieves the current account for the token accessing the API

Retrieves the current account for the token accessing the API. Useful to check if the credentials are valid.

get/v1/account

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  },
  "spec": {
    "workspaces": [
      {
        "metadata": {
          "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
          "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
        }
      }
    ]
  }
}
All 154 operations