Aller au contenu
Developer Preview — APIs and language features may change before 1.0

expresses

Ce contenu n’est pas encore disponible dans votre langue.

expresses

Section: how the machine is exposed to the outside (API, webhook, MCP, widget…)

Children

Translations

  • es: expresa
  • fr: expose
  • en: expresses
  • de: stellt dar
  • ja: 表現
  • zh: 表达
  • ko: 표현

Example — Reaching the outside world

One machine reachable many ways: a web address, notifications, an AI-tool connection, a phone shortcut, a widget — with access rules on each.

machine status_board
accepts
question as text
responds with
status as text
expresses
api
path: "/status"
method: "GET"
available to: team
requires auth: oauth
rate limit: 100
webhook
path: "/hooks/status"
websocket
path: "/ws/status"
mcp
name: "status_tool"
a2a
name: "status_agent"
page
view
theme: "light"
command refresh
shortcut phrases: ["Check status"]
widget
kind: "small"
subscribes
on "status.changed"
compute bump
{status: "changed"}
implements
compute answer
{status: "ok"}