LlmProviderKey
Test a provider's dynamic token auth
Runs 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 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