FruxonDocs
ApiLlmconfig

Tests an AI model provider configuration.

Validates the configuration by making a minimal API call to the provider. Masked secret values are automatically resolved from the existing revision before testing.

POST
/v1/tenants/{tenant}/agents/{agent}/revisions/{revision}/llm-configs:test

Path Parameters

agent*string

The unique identifier of the agent.

revision*string

The revision identifier.

tenant*string

The tenant identifier

The model provider configuration to test.

config?
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/agents/string/revisions/string/llm-configs:test" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": false,
  "error": "string"
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}