/schema endpoint returns every action available on a tracked process, along with each action’s type signature, parameter list, reversibility class, and semantic confidence score. Unlike GET /state, this endpoint does not return the objects map — it is a lightweight call designed for agent planning phases where you need to know what actions exist and how to call them, without the overhead of a full state capture.
Endpoint
Parameters
The OS process ID of the target application. Obtain this from
GET /apps.Response Fields
The OS process ID that was queried.
Stable semantic identifier for the application.
Human-readable application name.
Current semantic schema version in semver format, e.g.
"1.4.2". Increments on every accepted POST /learn correction.A map of action names to
ActionSchema objects. Each key is an action name you can pass to POST /action.Examples
Example Response
Notes
- The
actionsmap returned by/schemais identical to theactionsfield inGET /state. Use/schemawhen you only need the action list and want to avoid the overhead of transferring the fullobjectsmap. - The Python SDK caches the schema on the session object. Calling
session.actionsdoes not make a network request after the firstattach()orrefresh(). - If a new action appears (e.g., after navigating to a new view), call
GET /statewithfresh=trueorGET /schemaagain — the session cache is invalidated automatically whenschema_versionchanges.
