+|
|+
REST API v4.2

A Powerful API for
Serious Builders

Build real products on Docyrus with a large, production-grade API surface—designed for data-driven SaaS apps, secure portals, and AI-native experiences.

Tenant Spec
Data Sources
GET /records/:id 200
POST /records CMD
PUT /records/:id SYNC
GET https://api.docyrus.com/v1/ds/projects/REC_9381
Request Headers
Authorization: Bearer access_token
X-Tenant-Id: tenant_8d2a1
Content-Type: application/json
Response Body
{
  "success": true,
  "data": {
    "id": "REC_9381",
    "name": "Apollo Project",
    "status": "active",
    "owner": "usr_91",
    "meta": {
       "version": "1.2"
    }
  }
}
OpenAPI Validated
Capabilities

A Modern Foundation

Docyrus API provides the stability and power you need to scale.

Tenant-Aware Data Endpoints

Docyrus exposes full CRUD endpoints for every data source in your tenant, with automatic filtering, sorting, and relationship resolution.

Ds: Users JSONata: Enabled
id string
email string
org_rel → Organization
GET PUT DEL

OpenAPI Contracts

Your tenant schema is represented as a live OpenAPI spec, ensuring tooling stays in sync.

JSON/YAML Specs

OAuth2-First Security

Standardized flows for browser, mobile, and server-to-server integrations.

PKCE Device Code

Type-Safe Client Libraries

Use `@docyrus/api-client` to skip the boilerplate. Automatic token handling, retries, and full TypeScript support built-in.

// Fetch data source
const ds = client.dataSource('projects');
const { data } = await ds.list({
  filter: { status: 'active' }
});
Onboarding

Start Building in Minutes

1

Authenticate

Connect via OAuth2 using `@docyrus/signin` or your preferred flow.

2

Call the API

Use the `@docyrus/api-client` to interact with your data and workflows.

3

Ship

Connect your data to custom UIs, external apps, or autonomous agents.

What You Can Build

From internal tools to client-facing SaaS platforms, Docyrus API provides the scale you need.

Customer Portals

Expose safe, role-based data surfaces to your end users.

AI Agent Tools

Give agents explicit, governed access to platform resources.

Automation Pipelines

Coordinate complex business logic across multiple external tools.

API_CORE_INFRA_01

Build Faster on a
Strong Foundation

Authenticate, call the API, and ship real SaaS products with production-grade stability and confidence.

$ pnpm add @docyrus/api-client
View Documentation