Connect a REST API
Turn an HTTP request into a tool the agent can use to query or update an external system. You need that API's URL, method, authentication and expected response.
Open Integrations → Functions → REST API.
Create the draft
- Click New API.
- Enter its technical name using lowercase letters, numbers and underscores.
- Describe what it does and when the agent should use it.
- Click Create and configure.
The API is created as a draft and its editor opens. It is not yet published for agents.
Configure the request
In Request, complete the method, URL, parameters, headers, authentication and body according to the service's documentation. You can import a cURL and review the fields it filled.
Use variables for values that change between calls. They can be filled by AI, use a fixed value or take data from the context. Describe AI variables and select the source for context variables before publishing.
Store credentials through Secrets. If the destination or configuration linked to a credential changes, complete any authorization the editor requests.
Test and choose the response
- Open Test and complete the test data.
- To check how the request is assembled without calling the destination, open the button's menu and choose Test without sending.
- To call the service, click Test. This makes a real request and can modify data if the method does so.
- Check what was sent, the HTTP status and the response.
- In Response, choose which data the agent receives.
When the request uses Secrets, you may need to save its changes before testing. Follow the panel's instructions; they do not mean every pending change is already applied.
In Advanced, configure any additional options the service needs, such as periodic authentication. To refresh a token through a scheduled request, see Cron Jobs.
Publish and assign
Click Save to keep the draft or Publish to enable the API. Check its status afterward: if data or authorization is missing, resolve it before using the API.
In Agents, link the tool to the agents that need it. You can also do this from their Tools. Publishing the API does not assign it to every agent automatically.
When you edit an active API, saving can apply the new configuration to agents using it. Check its status after the change; a configuration that cannot be enabled may remain a draft. Publishing agent instructions is a separate action.
Review calls or pause
Use Summary to review settings and Calls to inspect executions and errors. A successful test confirms that case; it does not guarantee every future call will succeed.
In Summary → Activity, choose 24 h, 7 days or 30 days to review call volume, successes, errors, typical latency and the agents using the API most. Use View all calls to open individual records.
Pause stops availability for agents and preserves the configuration. It does not reverse actions the service has already performed. The menu also lets you clone or delete the API.