Agents

Reassign the agent's BYOK LLM key

Owner of the agent, or an admin of the owner's company. A plain teammate (who can still view and chat with the agent) gets 404. The key must belong to the AGENT's company, so this never reaches another user's personal key.

patch/agents/{id}/llm-key

Request

  • Base URL: https://api.atako.ai
  • URL: https://api.atako.ai/agents/{id}/llm-key
  • Auth: HTTP bearer

Path parameters

idstring required

Agent id

Request body

llmKeyIdstring uuid nullable required
modelIdstring

Weflayr model id (required when switching TO a Weflayr key; also when leaving Weflayr for an agent with no OpenRouter model).

Response

llmKeyIdstring uuid nullable
directModelIdstring nullable

Changes

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