Views
The Views operations of the Hub REST API (4 operations).
bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
userId*stringworkspaceId?stringtype?stringFilter by view type (table, kanban, ...).
profileId?stringFilter to views over a specific profile.
Array of views
application/json- response
[index: integer]?curl -X GET 'https://pod.example.com/api/hub/views?userId=string'[ { "id": "string", "userId": "string", "workspaceId": "string", "name": "string", "type": "string", "profileId": "string", "config": { "property1": null, "property2": null }, "metadata": { "property1": null, "property2": null }, "createdAt": "string", "updatedAt": "string" }]bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
application/json- body
userId*stringworkspaceId?string|nullname*stringtype*stringView type — table, list, grid, gallery, kanban, matrix, masonry, calendar, flow, bento, branch_tree, whiteboard.
profileId?stringconfig?metadata?agentUserId?stringreasoning?stringsourceMessageId?stringexpectedLabel?stringCreated view
application/json- response
id*stringuserId*stringworkspaceId?string|nullname*stringtype*stringprofileId?string|nullconfig?metadata?createdAt?string|updatedAt?string|curl -X POST 'https://pod.example.com/api/hub/views' \ -H 'Content-Type: application/json' \ -d '{ "userId": "string", "name": "string", "type": "string"}'{ "id": "string", "userId": "string", "workspaceId": "string", "name": "string", "type": "string", "profileId": "string", "config": { "property1": null, "property2": null }, "metadata": { "property1": null, "property2": null }, "createdAt": "string", "updatedAt": "string"}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
viewId*stringapplication/json- body
userId*stringworkspaceId?stringname?stringconfig?metadata?agentUserId?stringreasoning?stringsourceMessageId?stringUpdated view
application/json- response
id*stringuserId*stringworkspaceId?string|nullname*stringtype*stringprofileId?string|nullconfig?metadata?createdAt?string|updatedAt?string|curl -X PATCH 'https://pod.example.com/api/hub/views/string' \ -H 'Content-Type: application/json' \ -d '{ "userId": "string"}'{ "id": "string", "userId": "string", "workspaceId": "string", "name": "string", "type": "string", "profileId": "string", "config": { "property1": null, "property2": null }, "metadata": { "property1": null, "property2": null }, "createdAt": "string", "updatedAt": "string"}bearerAuthAuthorizationBearer <API key>Pod API key (Bearer) issued via /api/hub/setup/agent or pod admin tooling. Browser/web clients may use the X-Session-Token header instead. See GET /api/hub/auth/status to introspect the calling key.
viewId*stringapplication/json- body
userId*stringworkspaceId?stringwidgets*array<>Replacement widget arrangement for a bento view.
agentUserId?stringreasoning?stringsourceMessageId?stringUpdated view
application/json- response
id*stringuserId*stringworkspaceId?string|nullname*stringtype*stringprofileId?string|nullconfig?metadata?createdAt?string|updatedAt?string|curl -X POST 'https://pod.example.com/api/hub/views/string/arrange' \ -H 'Content-Type: application/json' \ -d '{ "userId": "string", "widgets": [ { "id": "string", "kind": "string", "property1": null, "property2": null } ]}'{ "id": "string", "userId": "string", "workspaceId": "string", "name": "string", "type": "string", "profileId": "string", "config": { "property1": null, "property2": null }, "metadata": { "property1": null, "property2": null }, "createdAt": "string", "updatedAt": "string"}