GET
/
sessions
curl --request GET \
  --url https://api.ionq.co/v0.4/sessions \
  --header 'Authorization: <api-key>'
{
  "organization_id": "<string>",
  "sessions": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "organization_id": "<string>",
      "backend": "<string>",
      "project_id": "<string>",
      "creator_id": "<string>",
      "ended_at": "2023-11-07T05:31:56Z",
      "ender_id": "<string>",
      "settings": {
        "job_count_limit": 123,
        "duration_limit_sec": 123,
        "cost_limit": {
          "unit": "<string>",
          "value": 123
        },
        "expires_at": "2023-11-07T05:31:56Z"
      },
      "active": true,
      "status": "created",
      "started_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API keys are associated with a user and can be created on the IonQ Quantum Cloud application. To authenticate, prefix your API Key with apiKey and place it in the Authorization request header. Ex: Authorization: apiKey your-api-key

Response

200 - application/json

Successfully retrieved a list of sessions.

The response is of type object.