---
title: "Changes to Save (or replace) a provider's credential. The credential is encrypted\nwith `EncryptionService` and stored inside\n`agent_sandbox.providers[provider_id].credentials_encrypted`."
method: POST
path: "/settings/ai-providers/{provider_id}/credential"
---

# Changes to Save (or replace) a provider's credential. The credential is encrypted
with `EncryptionService` and stored inside
`agent_sandbox.providers[provider_id].credentials_encrypted`.

`POST /settings/ai-providers/{provider_id}/credential`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 8 of 383 revisions.

- **2026-10-23** `7d41b820a372`: 1 breaking
- **2026-10-23** `24af93ff5379`: 1 info
- **2026-10-22** `842d42ed4659`: 1 breaking
- **2026-10-22** `1a12a50b75ee`: 1 info
- **2026-10-21** `79089e9f49ee`: 1 breaking
- **2026-10-13** `22e058697ad7`: 2 info
- **2026-09-15** `c91fa4d5d612`: 4 info
- **2026-04-25** `774be20905f2`: 1 info

## Changes

- **2026-10-23** `7d41b820a372`: 1 breaking
  - the `credential` request property format changed from no format to `password`
- **2026-10-23** `24af93ff5379`: 1 info
  - the `credential` request property format was generalized from `password` to no format
- **2026-10-22** `842d42ed4659`: 1 breaking
  - the `credential` request property format changed from no format to `password`
- **2026-10-22** `1a12a50b75ee`: 1 info
  - the `credential` request property format was generalized from `password` to no format
- **2026-10-21** `79089e9f49ee`: 1 breaking
  - the `credential` request property format changed from no format to `password`
- **2026-10-13** `22e058697ad7`: 2 info
  - added the optional property `provider/login_unavailable_reason` to the response with the `200` status
  - added the required property `provider/login_supported` to the response with the `200` status
- **2026-09-15** `c91fa4d5d612`: 4 info
  - added the new optional request property `verification_model`
  - added the optional property `verification_hint` to the response with the `200` status
  - added the required property `credential_verification_status` to the response with the `200` status
  - added the required property `provider` to the response with the `200` status
- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/gotempsh/apis/temps/docs/settings/ai-providers/:provider_id/credential/post.md) - [API](https://skmtc.dev/gotempsh/apis/temps.md) - [Page](https://skmtc.dev/gotempsh/apis/temps/changes/settings/ai-providers/:provider_id/credential/post)
