Expand description
A2UI REST routes.
Mounts at /api/uar/a2ui in the main router.
| Method | Path | Description |
|---|---|---|
| GET | /api/uar/a2ui/schemas | List all registered artifact schemas |
| GET | /api/uar/a2ui/schemas/{schema_id} | Get a single schema by ID |
| POST | /api/uar/runs/{run_id}/artifact-response | Submit user response to an input artifact |
| POST | /api/uar/runs/{run_id}/a2ui/test-trigger | Trigger a real artifact input request for testing |
| POST | /api/uar/runs/{run_id}/a2ui/surface-test-trigger | Trigger a real A2UI surface state-patch event for testing (Change 20) |
| GET | /api/uar/runs/{run_id}/a2ui/surface-replay | Replay every surface state-patch published for this run so far (Change 20 late-join reattach) |
Structs§
- A2ui
Action Payload - A2ui
ApiState - Artifact
Response Payload - Response submitted by the user after completing an A2UI artifact form.
- Continuation
Host Input - Promote
Component Payload - Surface
Test Trigger Payload - Request body for
POST /api/uar/runs/{run_id}/a2ui/surface-test-trigger(Change 20).kindis one of"createSurface" | "updateComponents" | "updateDataModel" | "deleteSurface". - Test
Trigger Payload - Request body for
POST /api/uar/runs/{run_id}/a2ui/test-trigger.
Functions§
- build_
response_ router - Build the artifact-response router (mounted at
/api/uar/runs). - build_
schema_ router - Build the A2UI schema listing router (mounted at
/api/uar/a2ui).