Create LLM credentialpost {protocol}://{base-url}/ai/api/v1/llm_credentialsCreate a new LLM credential.Body ParamsSchema for creating an LLM credentials. Required fields vary by creds_type: API_KEY: Requires api_key. Optionally base_url for OpenAI-compatible providers. AWS: Requires aws_access_key_id, aws_secret_access_key, and aws_region. AZURE: Requires azure_endpoint, api_version, and (api_key OR service principal creds). GCP: Requires api_key OR (gcp_project, gcp_location, gcp_service_account). namestringrequiredlength ≥ 1Display name for this LLM credentials.creds_typestringenumrequiredLLM credentials type. Determines which other fields are required.API_KEYAWSAZUREGCPAllowed:API_KEYAWSAZUREGCPproviderLLMProvider | nullThe LLM provider these credentials authenticate against. Optional. Required for API_KEY creds_type to enable creation-time validation. For AWS/AZURE/GCP, provider is inferred from creds_type if not specified.provider LLMProvider | nullapi_keystringnullAPI key for LLM providers. Required for API_KEY auth.base_urlstringnullCustom base URL for OpenAI-compatible providers (e.g., DeepSeek, Together, Groq).aws_access_key_idstringnullAWS access key ID. Required for AWS auth.aws_secret_access_keystringnullAWS secret access key. Required for AWS auth.aws_session_tokenstringnullAWS session token (optional, for temporary credentials).aws_regionstringnullAWS region for Bedrock (e.g., 'us-east-1'). Required for AWS auth.azure_endpointstringnullAzure OpenAI endpoint URL (e.g., 'https://myresource.openai.azure.com/').api_versionstringnullAzure API version (e.g., '2024-10-21'). Required for AZURE auth.azure_client_idstringnullAzure AD client ID for service principal auth.azure_client_secretstringnullAzure AD client secret for service principal auth.azure_token_urlstringnullAzure AD token URL (contains tenant ID).gcp_projectstringnullGoogle Cloud project ID. Required for GCP service account auth.gcp_locationstringnullGoogle Cloud location (e.g., 'us-central1'). Required for GCP service account auth.gcp_service_accountobject | nullGCP service account JSON credentials. Required for GCP service account auth.Gcp Service Account object | nullResponses 201Successful Response 401Authentication required. No valid session cookie or bearer token provided, or authentication failed. 422Validation Error 500Internal server error during request processing.Updated 3 days ago List LLM credentialsGet LLM credentialsDid this page help you?YesNo