Change a hosted agent's model
Switches the agent’s model in place (no redeploy). Use provider to point the agent at EmpirioLabs, Poe, or a custom OpenAI/Anthropic-compatible public HTTPS endpoint.
Authentication
AuthorizationBearer
Pass your EmpirioLabs API key as a bearer token. The Anthropic-style
x-api-key header is also accepted on every endpoint.
Path parameters
instance_id
Request
This endpoint expects an object.
provider
Allowed values:
model
custom_provider
Required when provider is custom. The public HTTPS base URL, model, API key, and protocol of your endpoint.
Response
Model changed.
