DataPI.

What would you like to understand?

Preparing search…
    All results and search filters →

    DataPI API documentation

    Build against the implemented API contract

    Machine API guides and complete machine operation contracts, generated from the reviewed runtime contract. Dashboard browser-session routes are not published here.

    75 HTTP operations40 Operation contracts7 PlatformsEnglish + فارسی

    75

    HTTP operations

    40

    Operation contracts

    7

    Platforms

    11

    Reported available

    Start with the contract

    The machine API is at api.datapi.ir/v1 and is the only surface in this reference. The dashboard calls its own browser-session API, which is not a public machine contract.

    Read the quickstart
    Public HTTP API at api.datapi.ir. Authenticate with a workspace bearer token from the dashboard.
    Endpoint reference
    Reviewed machine endpoints, grouped by the API surface that owns them.
    Operation catalog
    Stable DataPI operation IDs with input/output schemas and the availability captured from production.
    Metric reference
    Every metric family with its formula, freshness and limit, linked to the endpoint that returns it.

    Guides and shared concepts

    Each guide is bilingual and links to the endpoint and operation pages it explains.

    Start here

    Quickstart: from token to verified result

    Create a workspace token, inspect an operation, submit an asynchronous request and read the result.

    Guide

    Authentication and credentials

    How bearer tokens, browser sessions, permissions and origin checks differ, and how to handle secrets safely.

    Concepts

    Requests, states and results

    The asynchronous request lifecycle: the 202 acceptance record, status versus phase, when a stored result can actually be read, idempotent replays and how to recover from each terminal state.

    Node-targeted analytics

    Targets and charts: the node-targeted API

    Resolve one public target, collect its bundle, then read every analysis of that target from a single page endpoint. Categories follow the target and the chart group, not the internal module.

    Guide

    Completion webhooks and signatures

    Register an HTTPS destination, verify the HMAC-SHA256 signature over the raw body, deduplicate events and recover from failures.

    Reference

    Error envelope and status codes

    Every error has one shape, a stable code and a request ID for support without leaking provider details.

    Operations

    Usage, limits and retention

    What each monthly plan includes, which technical limits apply, and which limits are operation-specific rather than global promises.

    Concepts

    API versioning and compatibility

    URL versioning, operation contract versions and the rules clients can rely on when optional fields appear.

    Architecture

    Machine API versus browser session API

    Which endpoints are public contracts, which are dashboard-only, and how the Next.js BFF forwards the session cookie.

    Dashboards

    Dashboard charts and metrics

    What each dashboard chart type and metric can show, how to read it, and what it does not prove.

    Related pages

    Runtime contract snapshot: DataPI API v1.0.0 · 75 HTTP operations documented of 265 runtime operations · 40 catalog operations · 11 available at capture. Captured: . Source: https://api.datapi.ir/v1/contracts.