Asoba Ona Documentation

API Reference Overview

This section provides a detailed, parameter-level reference for all public APIs of the Ona Intelligence Layer. It is designed for Developers who are building applications on top of our platform.

The fastest way to use these APIs is through the Ona SDK, which handles authentication, retries, cursor pagination, and streaming for you.

Install:

# Python
git clone https://github.com/AsobaCloud/sdk.git && cd sdk/python && pip3 install -e .

# JavaScript
git clone https://github.com/AsobaCloud/sdk.git && cd sdk/javascript && npm install

Live APIs available now:

API SDK client Endpoint
Inverter Telemetry client.inverter_telemetry / sdk.inverterTelemetry https://af5jy5ob3e.execute-api.af-south-1.amazonaws.com/prod
OODA Terminal Alerts client.ooda_terminal / sdk.oodaTerminal https://3lpq00xevg.execute-api.af-south-1.amazonaws.com/prod

See the SDK repository for full examples.


What You Can Find Here

Authentication & Setup

Forecasting APIs

Terminal API (OODA Workflow)

The Terminal API provides endpoints for the complete OODA (Observe-Orient-Decide-Act) workflow:

ML Integration APIs

Data Ingestion APIs

API Design Principles

Our APIs are designed to be predictable and intuitive. We follow standard RESTful conventions and use standard HTTP response codes to indicate API errors.

Request Format

All POST requests should be sent with a Content-Type of application/json or multipart/form-data, depending on the endpoint.

Response Format

All API responses, including errors, are returned in JSON format. A successful response will have a status of "success". An error response will have a status of "error" and include a descriptive error message.

Example Success Response:

{
  "status": "success",
  "data": { ... }
}

Example Error Response:

{
  "status": "error",
  "error": "A description of what went wrong."
}