Agent API
Changed onO-mega Unified Agent API: single endpoint for all capabilities.
Instead of calling separate endpoints, agents call this one endpoint and either name the capability they need with its params, or describe what they need in request and the system routes it. Either way it runs the capability's own handler and answers its envelope.
Request
- Base URLhttps://suprsonic.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The call's envelope: success, data (the capability's result), metadata, and credits_used (0 when the call did not succeed).
Changes
- info
added the new optional request property
- info
the request property
became optional - info
the
request property default value{}was removed - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info