Link types and tags

Set automatic categorization

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

post/v1/commands/set_automatic_categorization

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/commands/set_automatic_categorization
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

X-Workspace-IDstring

Required when using a Clerk human session. With an API key, omit this header or supply its bound workspace.

Request body

projectIdstring required

Website project ID.

enabledboolean required

Save on or off for automatic categorization after future checks. This action starts no assessment.

expectedRevisioninteger required

Current automatic categorization preference revision from get_automatic_categorization. Use 0 before any saved preference.

Response

Command result, including queued admission.

contract'managed-classification-v1' required
availableboolean required
reasonstring nullable required

Recorded explanation; null when no explanation applies.

enabledboolean required
preference'on' | 'off' required
revisioninteger required

Optimistic concurrency revision; supply it as expectedRevision on the next write.

enrolledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.