Agent API
The Agent API is how your AI interfaces with the OUAS system to request manifests, submit layouts, and receive validation feedback.
Endpoints
GET
/ouas/manifestReturns the full Component Manifest for the current application context. The agent uses this to understand which components are available and what props they accept.
Response Shape
Response
{
"ouas_version": "1.0",
"app_id": "mailflow-app",
"components": [ ... ]
}POST
/ouas/transformSubmits a Layout Config generated by the agent. The server will validate this config against the manifest before applying it.
Response Shape
Response
{
"status": "success",
"applied_layout": "layout-uuid-1234",
"warnings": []
}POST
/ouas/validateDry-run validation for a proposed Layout Config without actually applying it to the application state.
Response Shape
Response
{
"valid": false,
"errors": [
{ "code": "E_MISSING_PROP", "message": "Component 'UserCard' requires prop 'userId'" }
]
}Was this helpful?