Skip to main content
GET
/
v1
/
api-keys
/
sub-keys
List Sub-API Keys
curl --request GET \
  --url https://api.io.solutions/v1/api-keys/sub-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'x-api-key: <x-api-key>'
{
  "status": "succeeded",
  "data": [
    {
      "id": "71775d2e-fbcc-4ef4-aa30-8aaeb82062c0",
      "description": "Partner integration key",
      "display": "acme-v2-eyJh...c0eQ",
      "created_at": "2026-02-20T10:00:00",
      "expires_at": "2026-08-20T00:00:00",
      "expired": false,
      "allowed_models": [
        "meta-llama/Llama-3.3-70B-Instruct"
      ],
      "credit_limit": 10,
      "credit_used": 1.234,
      "credit_refresh_cycle": "monthly"
    }
  ]
}
The response includes one entry per active sub-key with the following credit fields:
  • credit_limit — the per-cycle cap configured for the key (null means no per-key cap).
  • credit_used — credits consumed so far in the current billing period (resets according to credit_refresh_cycle).
Expired or revoked keys are not included in this list.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-key
string
required

Admin API key. Admin API key (io.net Intelligence)

Response

Successful Response

status
string
Example:

"succeeded"

data
SubKeyItem · object[]