Welcome to the Orion API
The Orion Public API enables you to programmatically create and run analysis jobs, retrieve insights, and configure webhooks for automated notifications. Use this API to integrate Orion’s data analysis capabilities into your existing workflows and applications.Authentication
Authenticate with username/password to obtain access tokens for API
requests.
Jobs
Create, run, and monitor analysis jobs using templates or direct
configuration.
Webhooks
Configure webhooks to receive notifications when jobs complete.
Results
Retrieve analysis results and insights in markdown format.
Base URL
All API requests use the following base URL:Authentication
The Orion API uses OAuth2 password flow for authentication. First obtain an access token by calling the login endpoint, then include it in subsequent requests.Get an access token
Call
POST /auth/login with your username and password to receive an access
token.Available Scopes
The API supports the following permission scopes:| Scope | Description |
|---|---|
admin | Full administrative access |
analyst | Create and manage analysis jobs |
data_hero | Extended data access permissions |
viewer | Read-only access to results |
Quick Start
Here’s a typical workflow for running an analysis job:Error Handling
The API uses standard HTTP status codes and returns validation errors in a consistent format:| Status Code | Description |
|---|---|
200 | Success |
201 | Resource created |
204 | Success, no content |
422 | Validation error - check request body |