Documentation
Whether you're building AI agents or providing APIs, find everything you need to succeed with Solariz.
Documentation
Need help?
Contact SupportAPI Setup and Configuration
This comprehensive guide walks you through the process of connecting and configuring APIs in Solariz.
Adding a New API
Follow these steps to add your first API:
Required Fields
A descriptive name (e.g., 'Weather API')
The root URL (e.g., https://api.example.com)
What this API does (this helps the AI understand its purpose)
Configuration Overview
The API Configuration page allows you to set up authentication and security settings for your Solariz integration. Here's what you can configure:
Choose Authentication Type
Select between None, Universal, or User-based authentication (coming soon)
Configure Key Placement
Decide where your API key should be placed in requests
Set Parameter Names
Customize the parameter name for your API key
Add Your API Key
Enter your universal API key for authentication
Universal API Key Configuration
If your API uses a universal key, configure these settings:
Key Placement Options:
Add the key to the request headers
Include the key in the URL
Place the key in the request body (for POST/PUT)
Configuration Steps:
For headers: Enter header name (e.g., X-API-Key
)
For query parameters: Enter parameter name (e.g., api_key
)
Enter your Universal API Key value
Click Create Configuration to save
Defining API Endpoints
After setting up authentication, you need to define the endpoints:
🔐 Security Warning
Do not include API keys in your endpoint specifications. API keys should only be added in the dedicated authentication configuration section. This ensures your sensitive credentials remain secure and properly managed within the system.
Auto-discover
Import from an OpenAPI/Swagger specification or Postman Collection
Add Manually
Define endpoints one by one
Auto-Discovery Process:
Manual Configuration:
Test Your API
Once you've configured your API and endpoints, test the integration by sending queries:
Simple Query
Test basic functionality with straightforward requests
Example: "Get the current weather for New York"
Complex Query
Test advanced features with multi-step or conditional requests
Example: "Get weather forecast for multiple cities and compare temperatures"