---
title: "Changes to Create My Api Key"
method: POST
path: "/api/me/api-keys"
---

# Changes to Create My Api Key

`POST /api/me/api-keys`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-03-22** `6dc2d6f33d44` — 6 breaking, 1 warning, 14 info

## Changes

- **2026-03-22** `6dc2d6f33d44` — 6 breaking, 1 warning, 14 info
  - the request property `expires_at` became not nullable
  - the request property `scopes` became not nullable
  - the `name` request property's minLength was increased from `0` to `1`
  - response property `expires_at` list-of-types was widened by adding types `null` to media type `application/json` of response `201`
  - response property `scopes` list-of-types was widened by adding types `null` to media type `application/json` of response `201`
  - the `created_at` response's property type/format changed from `string`/`date-time` to `string`/`` for status `201`
  - the `name` request property's maxLength was set to `100`
  - api operation id `create_my_api_key_api_me_api_keys_post` was added
  - the endpoint scheme security `HTTPBearer` was added to the API
  - api tag `user-settings` added
  - api tag `API Keys` removed
  - request property `expires_at` list-of-types was widened by adding types `null` to media type `application/json`
  - request property `scopes` list-of-types was widened by adding types `null` to media type `application/json`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - the response property `created_at` became required for the status `201`
  - the response property `id` became required for the status `201`
  - the response property `key` became required for the status `201`
  - the response property `key_prefix` became required for the status `201`
  - the response property `name` became required for the status `201`

---

[Operation](https://skmtc.dev/fim-ai/apis/fim-one-api/docs/api/me/api-keys/post.md) · [API](https://skmtc.dev/fim-ai/apis/fim-one-api.md) · [Page](https://skmtc.dev/fim-ai/apis/fim-one-api/changes/api/me/api-keys/post)
