---
title: "Changes to Create OpenAI API Key"
method: POST
path: "/v2/gen-ai/openai/keys"
---

# Changes to Create OpenAI API Key

`POST /v2/gen-ai/openai/keys`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 8 revisions.

- **2025-10-16** `cb3bf9b21459` — 2 info
- **2025-07-18** `f8e8c290636c` — 9 info
- **2025-07-17** `5fc9af728e82` — 1 breaking, 3 warning, 8 info
- **2025-07-17** `f8e8c290636c` — 9 info

## Changes

- **2025-10-16** `cb3bf9b21459` — 2 info
  - api tag `DigitalOcean-public.v2-new_GradientAI Platform` added
  - api tag `GradientAI Platform` removed
- **2025-07-18** `f8e8c290636c` — 9 info
  - api operation id `create_openai_api_key` removed and replaced with `genai_create_openai_api_key`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - request body became optional
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2025-07-17** `5fc9af728e82` — 1 breaking, 3 warning, 8 info
  - request body became required
  - the optional response header `ratelimit-limit` removed for the status `200`
  - the optional response header `ratelimit-remaining` removed for the status `200`
  - the optional response header `ratelimit-reset` removed for the status `200`
  - api operation id `genai_create_openai_api_key` removed and replaced with `create_openai_api_key`
  - the endpoint scheme security `bearer_auth` was removed from the API
  - api tag `GenAIAPI` added
  - api tag `GradientAI Platform` removed
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `404`
  - removed the non-success response with the status `429`
  - removed the non-success response with the status `500`
- **2025-07-17** `f8e8c290636c` — 9 info
  - api operation id `create_openai_api_key` removed and replaced with `genai_create_openai_api_key`
  - the endpoint scheme security `bearer_auth` was added to the API
  - api tag `GradientAI Platform` added
  - api tag `GenAIAPI` removed
  - request body became optional
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`

---

[Operation](https://skmtc.dev/digitalocean/apis/digitalocean-api/docs/v2/gen-ai/openai/keys/post.md) · [API](https://skmtc.dev/digitalocean/apis/digitalocean-api.md) · [Page](https://skmtc.dev/digitalocean/apis/digitalocean-api/changes/v2/gen-ai/openai/keys/post)
