---
title: "Create API key"
method: POST
path: "/dashboard/api/organization/api-keys"
tags: ["API Keys"]
---

# Create API key

`POST /dashboard/api/organization/api-keys`

## Request

- Base URL: `https://api.agnost.ai`
- URL: `https://api.agnost.ai/dashboard/api/organization/api-keys`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required

## Response `201`

API key created (raw key returned ONCE)

- object
  - `api_key` string: Raw API key. Store securely, shown only once

## Changes

- **2026-11-03** `a61431b48f36`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agnost/apis/agnost-ai-api/changes/dashboard/api/organization/api-keys/post.md)

---

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