Update AI Runner
PUT/api/support/agent/ai/runners/:runner
A support admin changes any runner's routing settings.
support:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request body
enabled(boolean, required)scope(string, required) —assigned_and_unassignedorassigned_only
Authentication: Bearer token with the support:write scope on a support admin; anyone else gets a 403. No tenant context — this endpoint is central.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not Found
Response Headers
Validation failed — the body is a field → messages map (Laravel shape) or the platform envelope with a stable machine-readable code. Fix the payload and resubmit.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.