Skip to content

API Overview

The ACTO REST API provides programmatic access to proof submission, verification, and fleet management.

Base URL

https://api.actobotics.net

API Version

Current version: v1

All endpoints are prefixed with /v1/ (e.g., /v1/proofs).

Endpoints Summary

Public Endpoints

MethodEndpointDescription
GET/healthHealth check
GET/metricsPrometheus metrics

Proof Endpoints

MethodEndpointDescriptionAuth
POST/v1/proofsSubmit a proofAPI Key
GET/v1/proofsList proofsAPI Key
GET/v1/proofs/{id}Get a proofAPI Key
POST/v1/proofs/searchSearch proofsAPI Key

Verification Endpoints

MethodEndpointDescriptionAuth
POST/v1/verifyVerify a proofAPI Key
POST/v1/verify/batchBatch verifyAPI Key

Fleet Endpoints

MethodEndpointDescriptionAuth
GET/v1/fleetFleet overviewJWT
GET/v1/fleet/devices/{id}Device detailsJWT
PATCH/v1/fleet/devices/{id}/nameRename deviceJWT
POST/v1/fleet/devices/{id}/healthReport healthJWT
GET/v1/fleet/groupsList groupsJWT
POST/v1/fleet/groupsCreate groupJWT
POST/v1/fleet/groups/{id}/assignAssign devicesJWT
DELETE/v1/fleet/groups/{id}Delete groupJWT

Other Endpoints

MethodEndpointDescriptionAuth
POST/v1/scoreScore a proofAPI Key
GET/v1/stats/wallet/{addr}Wallet statsJWT
POST/v1/access/checkCheck token balanceAPI Key

Request Format

Headers

http
Authorization: Bearer YOUR_API_KEY
X-Wallet-Address: YOUR_WALLET_ADDRESS
Content-Type: application/json

Example Request

bash
curl -X POST https://api.actobotics.net/v1/proofs \
  -H "Authorization: Bearer acto_abc123..." \
  -H "X-Wallet-Address: 5K8vK..." \
  -H "Content-Type: application/json" \
  -d '{"envelope": {...}}'

Response Format

Success Response

json
{
  "proof_id": "abc123..."
}

Error Response

json
{
  "detail": "Error message describing what went wrong"
}

HTTP Status Codes

CodeDescription
200Success
400Bad Request - Invalid data
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient token balance
404Not Found
422Unprocessable Entity - Validation error
429Too Many Requests - Rate limited
500Internal Server Error

SDK Integration

We recommend using the Python SDK for easier integration:

python
from acto.client import ACTOClient

client = ACTOClient(
    api_key="acto_abc123...",
    wallet_address="5K8vK..."
)

# All API calls are handled by the SDK
result = client.verify(envelope)

See SDK Documentation for details.

Dashboard

Access the web dashboard for API key management and statistics:

api.actobotics.net/dashboard

https://www.actobotics.net