Skip to main content
An LLM provider holds the model key a workspace uses (bring your own key). The TypeScript SDK lists, adds and tests LLM providers. The calls are on client.llmProviders and take your API key. The key you send is stored encrypted, and no call returns it.
LLM provider calls act in the workspace of a workspace API key. With an organization API key, also send the x-workspace-id header in the request options, for example { headers: { 'x-workspace-id': '<workspace-id>' } }. The same work from the command line: mutagent providers.