Client API
Detailed client API documentation for xpander.ai SDK
Client API
The xpander.ai Client API provides a comprehensive interface for interacting with the xpander.ai platform. This documentation covers the core API methods, request/response formats, and authentication mechanisms.
Authentication
All API requests require authentication using an API key. You can obtain an API key from the xpander.ai console.
Core Methods
Agents
List Agents
Get Agent
Create Agent
Update Agent
Delete Agent
Operations
List Operations
Get Operation
Create Operation
Update Operation
Delete Operation
Execution
Execute Operation
Stream Operation Results
Error Handling
The API uses standard HTTP status codes to indicate success or failure:
- 200: Success
- 400: Bad request (invalid parameters)
- 401: Unauthorized (invalid API key)
- 404: Resource not found
- 429: Rate limit exceeded
- 500: Server error
Rate Limits
The API has rate limits to ensure fair usage. Current limits are:
- 100 requests per minute
- 5,000 requests per day
If you exceed these limits, you’ll receive a 429 status code.