public
llm-credentials

Create an LLM credential (public API)

Changed on
post/llm-credentials

Request

  • Base URL
    https://api.urlbox.io/v2
  • Auth
    • API key in header x-api-key
    • or API key in cookie urlbox.session_token

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
apiKeySetboolean required
apiKeyHintstring nullable required
awsAccessKeyIdSetboolean required
awsAccessKeyIdHintstring nullable required
awsSecretAccessKeySetboolean required
awsSecretAccessKeyHintstring nullable required
awsSessionTokenSetboolean required
awsSessionTokenHintstring nullable required
gcpServiceAccountJsonSetboolean required
gcpServiceAccountJsonHintstring nullable required
assignedProjectIdsstring[] required
createdAtstring required

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status