`PUT /api/v1/mcp/exposed`: mark an agent or a workflow exposed, or not.
PUT/api/v1/mcp/exposed
Exposing an item checks that it exists; withdrawing one does not, so an item that has since been removed can still be withdrawn.
Request
Responses
- 200
- 400
- 404
- 500
The flag, as stored
The kind is neither agent nor workflow (invalid_kind), or the identifier is empty (unknown_item)
No agent or workflow by that identifier (unknown_item)
agents.db could not be written