Publish what this machine can be asked to do
const url = 'http://localhost:11044/api/v1/sensor/capabilities';const options = { method: 'POST', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>', 'Content-Type': 'application/json'}, body: '{"verbs":[{"args":{"additionalProperty":"example"},"description":"example","group":"example","name":"example"}]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:11044/api/v1/sensor/capabilities \ --header 'Content-Type: application/json' \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>' \ --data '{ "verbs": [ { "args": { "additionalProperty": "example" }, "description": "example", "group": "example", "name": "example" } ] }'The sensor’s verb catalog for the consent groups its user has enabled. Replaces the previous catalog; an empty list withdraws every verb.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The verbs this machine can be asked to run, each with its name, consent group, description and named args; replaces the authenticated user’s previous catalog in full, and an empty or omitted verbs withdraws every verb
The sensor’s whole verb catalog for the consent groups its user has enabled. It replaces the one published before
object
Every verb the machine now offers. Empty or absent withdraws them all. The appliance offers them only while the sensor keeps polling the outbox
One verb the user’s machine offers, as the sensor declares it to POST /sensor/capabilities
object
Each argument’s name mapped to what it means. Empty for a verb that takes none
object
What the verb does, in words shown to the assistant’s model
The consent group the verb belongs to, as the sensor names it (the Me app uses see and act). The appliance does not interpret it
Verb name, carried as a command’s kind when the verb is asked for, e.g. tabs.find
Example generated
{ "verbs": [ { "args": { "additionalProperty": "example" }, "description": "example", "group": "example", "name": "example" } ]}Responses
Section titled “Responses”OK

