DEVELOPER API

API Reference
Build AI-Powered Apps

RESTful API with comprehensive SDKs for building powerful AI automations. Simple to integrate, scalable, and reliable.

API v1
REST
JSON
WebSocket
99.99%

API Uptime

<50ms

Avg Response Time

10M+

Daily API Calls

25+

Global Edge Locations

DEVELOPER-FRIENDLY

Built for Developers

Fast, reliable, and easy to integrate with your existing stack

Secure Authentication

Bearer token and API key authentication with automatic key rotation

Rate Limiting

1,000 requests/min (Starter), 10,000/min (Pro), unlimited (Enterprise)

Global CDN

Low latency worldwide with 25+ edge locations

Real-time Webhooks

Instant event notifications for workflow completion and errors

Data Streaming

Server-sent events for real-time agent execution results

99.99% Uptime SLA

Enterprise-grade reliability with automatic failover

API ENDPOINTS

REST API Endpoints

Full REST API with JSON request and response bodies

POST
/api/v1/agents/execute
Auth Required

Execute an AI agent task with specified parameters and get real-time results

GET
/api/v1/agents
Auth Required

List all available AI agents with their capabilities and current status

POST
/api/v1/workflows/create
Auth Required

Create a new automated workflow connecting multiple agents

GET
/api/v1/analytics/metrics
Auth Required

Retrieve analytics metrics and usage statistics for your account

POST
/api/v1/webhooks/subscribe
Auth Required

Subscribe to real-time webhook events for workflow completion, errors, and system updates

GET
/api/v1/status

Check API health status and version information (no authentication required)

CLIENT LIBRARIES

Official SDKs

Idiomatic client libraries for popular programming languages

🟢

Node.js

Install:

npm install @hermescloud/node

Example:

const HermesCloud = require('@hermescloud/node');
const client = new HermesCloud('sk_live_...');

const result = await client.agents.execute({
  agent: 'MILLI',
  task: 'analyze_data',
  params: { dataset: 'sales.csv' }
});
🐍

Python

Install:

pip install hermescloud

Example:

from hermescloud import Client

client = Client(api_key='sk_live_...')

result = client.agents.execute(
    agent='MILLI',
    task='analyze_data',
    params={'dataset': 'sales.csv'}
)
🔵

Go

Install:

go get github.com/hermescloud/go-sdk

Example:

import "github.com/hermescloud/go-sdk"

client := hermescloud.NewClient("sk_live_...")

result, err := client.Agents.Execute(hermescloud.ExecuteParams{
    Agent: "MILLI",
    Task: "analyze_data",
    Params: map[string]interface{}{"dataset": "sales.csv"},
})
RATE LIMITS

API Rate Limits

Rate limits based on your subscription tier

TierRequests/MinBurst RateConcurrent
Starter1,000/min100/sec10
Professional10,000/min500/sec50
EnterpriseUnlimitedCustomUnlimited
ERROR HANDLING

HTTP Status Codes

Standard HTTP status codes and error responses

400

Bad Request - Invalid parameters or malformed JSON

401

Unauthorized - Invalid or missing API key

403

Forbidden - API key lacks required permissions

404

Not Found - Endpoint or resource does not exist

429

Rate Limit Exceeded - Too many requests

500

Internal Server Error - Contact support if persists

503

Service Unavailable - Temporary maintenance or outage

Ready to Get Started?

Get your API key and start building AI-powered applications today

✓ Free tier available • ✓ No credit card required • ✓ 99.99% uptime SLA