SF API Topic and Action Enablement

operation-only-one-response-code

general > operation-only-one-response-code


Guidance / Message

For API operations enabled as agent actions only the lowest 2xx response will be used, any other response code will be ignored.

Examples

valid

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

  responses:
    "200":
      description: an operation

invalid

get:
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  responses:
    "200":
      description: an operation
    "201":
      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