Skip to main content
GET
/
whoami
cURL
curl "https://api.ionq.co/v0.4/whoami" \
  -H "Authorization: apiKey your-api-key"
{
  "key_id": "e060759f-4348-4767-a645-8c0301265791",
  "key_name": "My First Key",
  "project_id": "944904d6-2e30-4cfb-8bc4-04afaabcdd42"
}

Response

200 - application/json

Successfully retrieved a current of key from this session.

Details of current API Key session.

key_id
string<uuid>
required

UUID of a API key.

Example:

"e060759f-4348-4767-a645-8c0301265791"

key_name
string
required

key name.

Example:

"My First Key"

project_id
string<uuid>

UUID of a project.

Example:

"944904d6-2e30-4cfb-8bc4-04afaabcdd42"