latestOpenAPI 3.1.12026-08-1434082.4 KB

4510ae6afe8d

public
llm-credentials

Create an LLM credential (public API)

post/llm-credentials

Request body

namestring required
provider'anthropic' | 'openai' | 'google' | 'azure' | 'mistral' | 'cohere' | 'amazon-bedrock' | 'google-vertex' | 'groq' | 'xai' | 'deepseek' | 'perplexity' | 'togetherai' | 'fireworks' | 'cerebras' | 'openrouter' required
modelstring
promptstring
systemPromptstring
maxTokensinteger
temperaturenumber
outputstring
schemaobject
baseUrlstring
azureResourceNamestring
azureApiVersionstring
azureUseDeploymentUrlsboolean
azureApiProtocol'openai' | 'anthropic'
awsRegionstring
awsAccessKeyIdstring
awsSecretAccessKeystring
awsSessionTokenstring
gcpProjectstring
gcpLocationstring
gcpServiceAccountJsonstring
apiKeystring

Response

OK

idstring required
namestring required
provider'anthropic' | 'openai' | 'google' | 'azure' | 'mistral' | 'cohere' | 'amazon-bedrock' | 'google-vertex' | 'groq' | 'xai' | 'deepseek' | 'perplexity' | 'togetherai' | 'fireworks' | 'cerebras' | 'openrouter' required
modelstring nullable required
promptstring nullable required
systemPromptstring nullable required
maxTokensnumber nullable required
temperaturenumber nullable required
outputstring nullable required
schemaobject nullable required
baseUrlstring nullable required
azureResourceNamestring nullable required
azureApiVersionstring nullable required
azureUseDeploymentUrlsboolean nullable required
azureApiProtocol'openai' | 'anthropic' nullable required
awsRegionstring nullable required
gcpProjectstring nullable required
gcpLocationstring nullable required
apiKeystring nullable required
awsAccessKeyIdstring nullable required
awsSecretAccessKeystring nullable required
awsSessionTokenstring nullable required
gcpServiceAccountJsonstring nullable required
assignedProjectIdsstring[] required
createdAtstring required