Agents
Unpin Agent
Unpin Agent
DELETE
/v2/agents/{agent_id}/pinENG-1219 §4.1: clear the agent's pin. New tasks resume running live. ENG-2077: with ``expected_version_id`` the compare and the clear are one database statement, so a pin moved after the caller looked survives.
Path Parameters
agent_idstring · uuidrequiredQuery Parameters
expected_version_idstring · uuidoptionalThe pinned version the caller confirmed. When sent, the pin is cleared only if it is still that version: 409 pin_changed when another version is pinned now, 409 not_pinned when none is. Omit it to clear whatever is pinned.
curl --request DELETE \
--url https://api.brainbaselabs.com/v2/agents/{agent_id}/pin \
--header 'Authorization: Bearer YOUR_API_KEY'