Build your own layer on top of Leo.
The developer surface includes authenticated requests, explicit scopes, request IDs, usage tracking, signed event delivery, and private custom agents on paid Developer API plans.
GET /api/v1/projects
POST /api/v1/projects
GET /api/v1/projects/:id/status
GET /api/v1/usage
Authorization: Bearer leo_live_…
X-Request-ID: returned for API requests
Follow the integration, one step at a time.
Explore real LeonardX contracts with sample code and a simulated terminal. This walkthrough never uses credentials, contacts endpoints, or changes account data.
Walkthrough scenario
Supported CLI commands authenticate and read project metadata.
Authenticate locally
Login validates the key against /api/v1/me before saving local CLI configuration.
leo login --api-key "$LEO_API_KEY" --base-url "https://your-leonardx-domain"Execution preview
Synchronized to the highlighted code
$ leo login --api-key "$LEO_API_KEY" --base-url "https://your-leonardx-domain"
[SIMULATION] Command not run
Real command validates credentials before saving them
Link a project: step 1 of 2. Authenticate locally