---
title: "Fetch the public key bound to an available Run Card."
method: GET
path: "/api/run-cards/{id}/key"
tags: ["Run Cards"]
---

# Fetch the public key bound to an available Run Card.

`GET /api/run-cards/{id}/key`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/run-cards/{id}/key`
- Auth: none declared

Returns only the persisted Ed25519 public key after the same availability checks as the JSON projection. Private signing material is never persisted or exposed.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists.

## Response `200`

PEM-encoded Ed25519 public key

## Other responses

- `404`: Unknown opaque card ID
- `410`: Expired, revoked, or no longer current
- `503`: Integrity or authoritative state unavailable

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/63c474bf0fe4?raw)
