Credentials
Create Credential
Creates a new credential for AI providers. For Ollama, it manages models within a single credential.
POST
Body Parameters
Credential name or model name for Ollama
Provider name (e.g., openai, anthropic, ollama)
API key for the provider
Type of credential
Optional base URL for the provider
Additional dynamic fields
Whether to use proxy
Validation status
Response
Indicates if the credential was created successfully
Success or error message
The ID of the newly created credential
Notes
- For Ollama provider, credentials manage models within a single credential
- The
namefield can represent the credential name or model name for Ollama - Ensure the API key is valid before creating the credential
- The system checks for existing valid credentials for the same provider

