https://api.xpander.ai, JSON in and out, one of three credentials on every request (below). Everything Xpander Chat does, from creating an agent to reading a task’s execution log, is an endpoint here.
Overview
The REST API is how your own systems drive agents on xpander. It lets you:- Manage Agents: Create, update, deploy, and delete AI agents
- Agent Workspace: Run bash commands, edit files, search code, and share artifacts inside a per-agent workspace
- Workflows: Create and run workflow definitions
- Skills: Connect to external services, search and manage operations
- Custom Functions: Create, generate, and execute user-defined Python skills
- Export & Import: Share agents as templates across organizations
- Execute Tasks: Invoke agents and workflows synchronously, asynchronously, or with streaming
- Control Knowledge: Manage knowledge bases and documents
- LLM Providers: Discover available LLM providers and models
Base URL
Authentication
Every request must carry one of these credentials:x-api-key: <api-key>: an xpander API key. The examples on these pages use this header.Authorization: Bearer <jwt>: an OAuth 2.1 access token issued by xpander’s authorization server.Authorization: Basic <base64 api-key>: the same API key, base64-encoded, for clients that only speak Basic auth.
Quick Start
API Endpoints
Agents
Create, manage, and invoke AI agents
Agent Workspace
Run commands, edit files, and share artifacts in a per-agent workspace
Workflows
Create and run workflow definitions
Skills
Discover skills, connect, inspect operation schemas, and invoke operations
Custom Functions
Create and execute user-defined Python skills
Tasks
Monitor and manage task executions
Knowledge
Manage knowledge bases and documents
LLM Providers
Discover available LLM providers and models
Errors
A422 names the field that failed validation, in FastAPI’s shape:
Next Steps
Agent Endpoints
Explore agent management endpoints
Workflow Endpoints
Create and run workflows
Examples
View code examples
OpenAPI Spec
Download OpenAPI specification

