---
title: "Reveal Deployment API Key"
method: GET
path: "/ai/deployment/{id}/api-key"
tags: ["deployment"]
---

# Reveal Deployment API Key

`GET /ai/deployment/{id}/api-key`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/ai/deployment/{id}/api-key`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/ai/deployment/:id/api-key/get.ts> (a function with typed inputs; its response is checked against the schema)

Get Deployment API Key

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- RevealDeploymentApiKeyResponse: AI deployment inference endpoint authentication key
  - `api-key` string, required: Inference endpoint authentication key

## Other responses

- `404`: Not Found

## Changes

- **2026-11-06** `63da6f74c845`: 2 info
  - added the non-success response with the status `404`
  - the response property `api-key` became required for the status `200`
- **2026-03-16** `e05707a7b346`: 2 info
  - api tag `deployment` added
  - api tag `dedicated-inference` removed
- **2025-11-14** `352cae63dff6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/ai/deployment/:id/api-key/get.md)

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
