Bulk Set Agent State
Admin
Bulk Set Agent State
Atomic bulk update of agent visibility state.
All-or-nothing: if any id is missing, no agent is mutated and no audit row is written. The response lists every id and its previous state.
POST
Bulk Set Agent State
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Atomic bulk state change (agents or teams).
Bounded at 200 ids to keep a single transaction's memory footprint and lock window small. Exceeding the bound → 422.
Response
Successful Response