Renew a claim (legacy queue)
POST
/api/agent/runs/{id}/renewAuthorization
AuthorizationBearer token (ba_sk_...) · headerrequiredAPI key from /dashboard/api-keys. Keys expire after 365 days.
or
AuthorizationBearer token (ba_mcp_access_...) · headerrequiredThe OAuth access token the hosted MCP server issues (brainy:read for GET routes, brainy:write for everything else). One login serves MCP, the CLI and the desktop app. A token without the needed scope gets 403 Insufficient scope.
Path parameters
idstringrequiredRun id
Request body
requiredapplication/jsonclaim_tokenstringrequiredlease_secondsintegermin 60 · max 3600 · default: 900
Responses
200
OK
runobject401
Missing, invalid, expired, or revoked API key
errorstringrequiredcodestring409
CLAIM_CONFLICT
errorstringrequiredcodestring