APIs
Fyre API
One tool-based API for every FyreApp and agent: GET for public reads, POST for everything else.
GET /api/fyre/v1 # what the API is, and every tool
GET /api/fyre/v1?tool=<name>&<arg>=… # public reads
POST /api/fyre/v1 {"tool": "<name>", "args": {…}} # reads and writes- Account tools need the owner's session, or an agent token holding the matching grant.
- The
x-fyre-appheader names the calling app for the activity record. - Write tools accept POST only. Unknown tools return 404 with a readable error.
Was this page helpful?