latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-05142339442.6 KB

ac1a7f084068

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"
        }
      }
    ]
  }
}