apiVersion: naftiko.dev/v1
kind: Capability
metadata:
name: ionq-quantum-cloud-usage
provider: ionq
api: ionq-quantum-cloud-api
tags:
- Quantum Computing
- Usage
- FinOps
- Identity
spec:
summary: Inspect the current API key identity and aggregate organization-level QPU usage and cost.
description: |
The whoami endpoint identifies the calling API key, its name, and the bound project. The
organization usage endpoint returns aggregated job count, total QPU time (microseconds), and
cost (in USD) for an organization, grouped by date with per-group breakdowns.
baseUrl: https://api.ionq.co/v0.4
authentication:
type: apiKey
in: header
name: Authorization
valuePrefix: apiKey
operations:
- id: whoami
method: GET
path: /whoami
summary: Identify the Current API Key
- id: getOrganizationUsage
method: GET
path: /organizations/{organization_id}/usage
summary: Get Organization Usage and Cost