---
title: "Changes to Refresh an API key"
method: POST
path: "/v2/api-keys/{api_key_id}/refresh"
---

# Changes to Refresh an API key

`POST /v2/api-keys/{api_key_id}/refresh`

> Every recorded change to this operation, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 2 of 49 revisions.

- **2026-10-06** `02f159248661`: 1 breaking, 12 info
- **2026-08-06** `4f94eb2fd1ab`: 4 warning, 8 info

## Changes

- **2026-10-06** `02f159248661`: 1 breaking, 12 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/ApiKey, subschema #2` from the response body `allOf` list for the response status `200`
  - added the optional property `description` to the response with the `200` status
  - added the optional property `expires_at` to the response with the `200` status
  - added the optional property `last_used_at` to the response with the `200` status
  - added the required property `created_at` to the response with the `200` status
  - added the required property `created_by_user_id` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `key` to the response with the `200` status
  - added the required property `key_type` to the response with the `200` status
  - added the required property `name` to the response with the `200` status
  - added the required property `redacted_key` to the response with the `200` status
  - added the required property `status` to the response with the `200` status
- **2026-08-06** `4f94eb2fd1ab`: 4 warning, 8 info
  - added the new `ACTIVE` enum value to the `allOf[#/components/schemas/ApiKey]/status` response property for the response status `200`
  - added the new `REVOKED` enum value to the `allOf[#/components/schemas/ApiKey]/status` response property for the response status `200`
  - added the new `SERVICE` enum value to the `allOf[#/components/schemas/ApiKey]/key_type` response property for the response status `200`
  - added the new `USER` enum value to the `allOf[#/components/schemas/ApiKey]/key_type` response property for the response status `200`
  - api operation id `api_keys_refresh` removed and replaced with `refresh_api_key`
  - added the new optional request property `grace_period_seconds`
  - added the non-success response with the status `422`
  - added the optional property `allOf[#/components/schemas/ApiKey]/last_used_at` to the response with the `200` status
  - removed the `active` enum value from the `allOf[#/components/schemas/ApiKey]/status` response property for the response status `200`
  - removed the `deleted` enum value from the `allOf[#/components/schemas/ApiKey]/status` response property for the response status `200`
  - removed the `service` enum value from the `allOf[#/components/schemas/ApiKey]/key_type` response property for the response status `200`
  - removed the `user` enum value from the `allOf[#/components/schemas/ApiKey]/key_type` response property for the response status `200`

---

[Operation](https://skmtc.dev/arize-ai/apis/arize-rest-api/docs/v2/api-keys/:api_key_id/refresh/post.md) - [API](https://skmtc.dev/arize-ai/apis/arize-rest-api.md) - [Page](https://skmtc.dev/arize-ai/apis/arize-rest-api/changes/v2/api-keys/:api_key_id/refresh/post)
