SF API Topic and Action Enablement

operation-must-have-2xx

general > operation-must-have-2xx


Guidance / Message

API operations enabled as agent must have a 2xx response code

Examples

valid

get:
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  responses:
    "200":
      description: an operation

invalid

get:
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true

  responses:
    "400":
      description: an operation

Applies to Operation

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onMar 21, 2025
Asset overview

Asset versions for 1.1.x

Asset versions
VersionActions
1.1.1
1.1.0

Tags