---
title: "Issue Runner Key"
method: POST
path: "/v1/workspaces/{workspace}/clients/{client_id}/runner-keys"
tags: ["v1", "protected", "clients"]
---

# Issue Runner Key

`POST /v1/workspaces/{workspace}/clients/{client_id}/runner-keys`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/agentarea/apis/agentarea-api/docs/v1/workspaces/:workspace/clients/:client_id/runner-keys/post.ts> (a function with typed inputs; its response is checked against the schema)

A key for this client's runner; it reaches nothing but the client's runner routes.

## Path parameters

- `client_id` string, uuid, required
- `workspace` string, required: Slug of the workspace the request acts in

## Response `201`

Successful Response

- IssuedRunnerKey
  - `created_at` string, date-time, required
  - `created_by` string, required
  - `id` string, uuid, required
  - `key` string, required: The runner's key for `agentarea runner register`; shown once
  - `last_used_at` string, date-time, nullable, required
  - `name` string, required
  - `prefix` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-08** `fc6f062f7d70`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/clients/:client_id/runner-keys/post.md)

---

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