LlmProviderKey
Test a provider's dynamic token auth
Changed onRuns the token fetch once, backend-side, and reports the token lifetime. The token itself is never returned. Send provider_id to test the stored config, auth_config to test submitted values, or both to resolve secret sentinels against the stored config.
post/v1/private/llm-provider-key/auth-config/test
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/llm-provider-key/auth-config/test
- Authnone declared
Request body
Example request
{
"auth_config": {
"token_url": "https://developer.api.example.com/authentication/v1/token",
"token_field": "access_token",
"expires_field": "expires_in"
}
}Response
Token fetched
Changes
- info
endpoint added
- info