Skip to main content
IBM Quantum Platform

Accounts


Get account configuration

Get the current account information. If no account information is found, returns the default configuration.

Path Parameters

Name, TypeDescription
id
Required
string

Account id (without a/ prefix)

Query Parameters

Name, TypeDescription
plan_id
string

Obtain the account configuration only for the specified plan

HTTP Response Status Codes

Status codeDescription
200Account configuration successfully retrieved
400Bad Request
401Unauthorized
404Not Found
500Internal error

Code samples

GET
/v1/accounts/{id}
curl -X GET \
  /api/v1/accounts/{id} \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR-TOKEN' \
  -H 'Service-CRN: YOUR-SERVICE-CRN' \
  -H 'IBM-API-Version: 2025-05-01'

Responses

{
  "plans": [
    {
      "plan_id": "flex-plan-id-1",
      "usage_allocation_seconds": 200,
      "usage_limit_seconds": 200,
      "unallocated_usage_seconds": 200,
      "backends": [
        "ibm_backend"
      ],
      "max_ttl": 28800,
      "active_ttl": 28800,
      "interactive_ttl": 60,
      "start_time": "2025-05-17T00:00:00Z",
      "end_time": "2026-05-17T00:00:00Z"
    },
    {
      "plan_id": "plan-id-2",
      "usage_allocation_seconds": 150,
      "usage_limit_seconds": 300,
      "unallocated_usage_seconds": 10,
      "backends": [
        "backend1",
        "backend2"
      ]
    },
    {
      "plan_id": "plan-id-3",
      "backends": [
        "backend1",
        "backend2"
      ]
    }
  ]
}
Was this page helpful?
Report a bug or request content on GitHub.