Skip to main content
The Agents Service provides endpoints for creating, configuring, and deploying AI agents within your organization. It enables you to define agent behaviors, tools, and deployment configurations.

Agent Lifecycle Overview

Agent-Tool Integration Flow

Authentication

All endpoints require a valid Bearer token in the Authorization header.

Base URL

Agent Endpoints

Create Agent

Create a new AI agent for your organization.
Endpoint: POST /api/agents Query Parameters: Request Body: Agent Parameters:

List Agents

Retrieve all agents for an organization.
Endpoint: GET /api/agents/list Query Parameters:

Get Agent Details

Retrieve detailed information about a specific agent.
Endpoint: GET /api/agents/get Query Parameters:

Update Agent

Update an existing agent’s configuration.
Endpoint: PUT /api/agents/update Query Parameters: Request Body:

Delete Agent

Delete an agent from the organization.
Endpoint: DELETE /api/agents/delete Query Parameters:

Agent Deployment Endpoints

Create Deployment

Create a new deployment for an existing agent.
Endpoint: POST /api/agent_deploy/create Query Parameters: Request Body:

List Deployments

Retrieve all deployments for an organization.
Endpoint: GET /api/agent_deploy/list Query Parameters:

Get Deployment Details

Retrieve detailed information about a specific deployment.
Endpoint: GET /api/agent_deploy/get Query Parameters:

Update Deployment

Update an existing deployment configuration.
Endpoint: PUT /api/agent_deploy/update Query Parameters: Request Body:

Delete Deployment

Delete a deployment.
Endpoint: DELETE /api/agent_deploy/delete Query Parameters:

Regenerate API Key

Regenerate the API key for a deployment.
Endpoint: POST /api/agent_deploy/regenerate_key Query Parameters:

Error Responses

Implementation Notes

  • Agents are configured with specific LLM models, tools, and parameters
  • Agents can be deployed in multiple ways (widget, API, SDK)
  • Each deployment has its own API key for authentication
  • Deployments can be customized with different themes and configurations
  • Usage statistics are available for each deployment
  • Organization-based access control ensures separation between tenants