CloudAPI reference
Functions (planned)
Server functions declared in a plugin's `CloudManifest.functions`. Planned for stage 6.
POST
Planned (stage 6). The reference server answers 501 unsupported until then. Runs a function the plugin declared in CloudManifest.functions, on
the user's provider. A function is name@version; the server keeps the previous major for
90 days. Default limit: 60 calls per minute.
pluginTokenheader
AuthorizationBearer <token>Token from POST /v1/auth/token (10 minutes, one device + one plugin + services). Channel owner endpoints require the token of the device and plugin that opened the channel.
plugin*stringRegistry id rule, plus mcp-… host ids for remote plugins.
Match
^[a-z0-9][a-z0-9-]{1,63}$name*stringMatch
^[a-zA-Z][a-zA-Z0-9_]{0,63}$application/json- body
input?unknownAny JSON value, validated by the function's input schema.
version?integerRange
1 <= valueThe function output.
application/json- response
output?unknownAny JSON value, shaped by the function's output schema.
curl -X POST 'https://cloud.example.org/v1/fn/string/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "output": null}