---
title: "Changes to Create an API key"
method: POST
path: "/org/api_keys"
---

# Changes to Create an API key

`POST /org/api_keys`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 76 revisions.

- **2026-10-26** `1323a8a9aefb`: 1 info
- **2026-10-14** `bb77c8264087`: 4 info

## Changes

- **2026-10-26** `1323a8a9aefb`: 1 info
  - added the required property `allOf[#/components/schemas/ApiKey]/last_used_at` to the response with the `201` status
- **2026-10-14** `bb77c8264087`: 4 info
  - added the new optional request property `expires_at`
  - added the new optional request property `policy`
  - added the non-success response with the status `403`
  - added the optional property `allOf[#/components/schemas/ApiKey]/policy` to the response with the `201` status

---

[Operation](https://skmtc.dev/onkernel/apis/kernel-api/docs/org/api_keys/post.md) - [API](https://skmtc.dev/onkernel/apis/kernel-api.md) - [Page](https://skmtc.dev/onkernel/apis/kernel-api/changes/org/api_keys/post)
