Agents

Activate a provider as the platform-wide default. Refuses to activate a provider that doesn't have a credential saved yet — the UI enforces the same rule on the button, but we re-check server-side so a stale tab can't bypass it.

post/settings/ai-providers/{provider_id}/activate

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/settings/ai-providers/{provider_id}/activate
  • Auth: HTTP bearer

Path parameters

provider_idstring required

AI provider ID

Response

default_providerstring required

Changes

No recorded changes to this operation across all 50 revisions of this API.