---
title: "Get available (non-rate-limited) key indices for a credential type"
method: GET
path: "/api/keys/available"
tags: ["API Keys"]
---

# Get available (non-rate-limited) key indices for a credential type

`GET /api/keys/available`

## Query parameters

- `keyType` string, required
- `totalKeys` integer, required
- `scope` string
- `scopeId` string

## Response `200`

List of available key indices

## Other responses

- `400` — Validation error
- `401` — Unauthorized

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
