---
title: "Get API credentials"
method: GET
path: "/accounts/api-creds"
tags: ["API Keys"]
---

# Get API credentials

`GET /accounts/api-creds`

Retrieves credentials for a specific API key. -Allows users to retrieve the full credential string that can be used with the CLI.

## Query parameters

- `key` string, required

## Response `200`

API credentials retrieved successfully

- object
  - `data` string, required

## Other responses

- `401` — Unauthorized
- `404` — API key not found

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
