API Documentation

Comprehensive developer resources for integrating with the 4UAI platform

Quick Start

Authentication
curl -H "Authorization: Bearer your_api_key" \
     -H "Content-Type: application/json" \
     https://api.4uai.com/v1/agents
Making Your First Request
POST /v1/agents/chat
{
  "agent_id": "business_analyst",
  "message": "Analyze Q3 sales data",
  "context": {}
}

Core API Endpoints

Agents API
Method Endpoint Description
GET /v1/agents List all available agents
GET /v1/agents/{id} Get specific agent details
POST /v1/agents/{id}/chat Start conversation with agent
PUT /v1/agents/{id}/configure Update agent configuration
Workflows API
Method Endpoint Description
POST /v1/workflows Create new workflow
GET /v1/workflows/{id} Get workflow status
POST /v1/workflows/{id}/execute Execute workflow
DELETE /v1/workflows/{id} Cancel workflow
Analytics API
Method Endpoint Description
GET /v1/analytics/usage Get usage statistics
GET /v1/analytics/performance Get performance metrics
GET /v1/analytics/costs Get cost breakdown

SDKs & Libraries

Python SDK

pip install fouai-python

Download
Node.js SDK

npm install @fouai/sdk

Download
PHP SDK

composer require fouai/sdk

Download
Go SDK

go get github.com/fouai/go

Download
Rate Limits
Plan Requests/min Daily Limit
Free 60 1,000
Pro 300 10,000
Enterprise Unlimited Custom
Authentication
  • API Keys: Bearer token authentication
  • OAuth 2.0: For user applications
  • JWT: For service-to-service
  • Webhooks: HMAC signature verification

Need Help Getting Started?

Our developer support team is here to help you integrate successfully

AI
4UAI Assistant AI-powered support

Hi! I'm your intelligent 4UAI assistant. I can help you with questions about AI agents, pricing, features, and more. I work with our specialized AI agents to give you the best support!