Skip to main content
Banan0 API Docs

API Reference

Complete API reference for all Banan0 endpoints.

API Reference

Base URL: https://banan0.com/api/v1

Endpoints Overview

MethodEndpointDescription
GET/modelsList available models
GET/models/:modelIdGet model details
POST/models/:modelId/runStart a model run
GET/runs/:runIdGet run status
POST/runs/:runId/cancelCancel a run
GET/webhooksList webhooks
POST/webhooksCreate webhook
DELETE/webhooks/:idDelete webhook
GET/account/balanceGet token balance

Response Format

All responses follow this format:

json
{
  "data": { ... },
  "meta": {
    "request_id": "req_xxx"
  }
}

Error Format

json
{
  "error": "Error message",
  "code": "ERROR_CODE",
  "details": { ... }
}

Common HTTP Status Codes

CodeDescription
200Success
201Created
400Bad request
401Unauthorized
402Payment required (insufficient tokens)
403Forbidden (missing scope)
404Not found
429Rate limited
500Server error

Command Palette

Search for a command to run...