Skip to main content

API reference

Canonical contracts: contracts/README.md. Base URLs from env (local or aimoassist.com).

Env​

VarWho
GATEWAY_URL / ENGINE_URL / CLIENT_URLCross-service
VALIO_API_KEY / VALIO_API_BASE / VALIO_RECORD_MODEGateway
GEMINI_API_KEY / DECISION_* / LLM_* / LLM_RECORD_MODEEngine
TELEGRAM_BOT_TOKEN / APPROVER_KEYS_DIRBot / client
DEMO_MODEDemo routes

Signed objects​

PermissionSlip · Offer · Approval · OrderConfirmation: Ed25519 JWS, RFC 8785. Auth: Authorization: Slip … + Agent-Signature.

Gateway​

RouteAuth
GET /.well-known/agent-interface.json · jwks.jsonnone
POST /v1/products/search · get · substitutesnone
POST /v1/quotes · policy/check · ordersslip + agent
GET /v1/orders · auditslip
POST /v1/slips/revokekitchen-signed

MCP tools (same handlers): search_products, get_products, get_substitutes, request_quote, check_policy, place_order, get_order, list_orders, get_audit_trail, recipes.

Engine (client → engine only)​

Kitchens, KB sections, requests (SSE), carts, submit, learn, assist (voice/photo), weekly.

Full walkthrough: Agent interface.