LLM management

Change default LLM provider and model

This route allows you to change the default LLM provider and model.<br></br> To learn more about LLM management, see the documentation.

put/v1/llm-providers/defaults

Request

  • Base URL: https://api.port.io
  • URL: https://api.port.io/v1/llm-providers/defaults
  • Auth: API key in header Authorization

Request body

provider'openai' | 'azure-openai' | 'anthropic' | 'azure-anthropic' | 'bedrock' | 'port' | 'openai-compatible' | 'vertex-gemini' | 'vertex-anthropic' | 'anthropic-compatible' required

Response

Default Response

okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.