---
title: "Resolve Key"
method: GET
path: "/api/platform/resolve-key"
---

# Resolve Key

`GET /api/platform/resolve-key`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/platform/resolve-key`
- Auth: HTTP bearer

Resolve a public key to project + environment metadata.

Verifies the caller has access to the owning organization.
Used by CLI `set-env` command.

## Query parameters

- `pk` string, required: Public key (pk_live_... or pk_dev_...)

## Response `200`

Successful Response

- ApiResponse
  - `data` unknown
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ascendkit/apis/ascendkit-api.md) · [All operations](https://skmtc.dev/ascendkit/apis/ascendkit-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ascendkit/apis/ascendkit-api/revisions/0a41c122c44f?raw)
