SF API Topic and Action Enablement

operation-request-must-have-description

general > operation-request-must-have-description


Guidance / Message

Request body for API operations enabled as agent actions must have descriptions

Examples

valid

get:
  operationId: get-operation
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  requestBody:
    description: this is a description
    content:
      application/json:
        schema:
          type: string

invalid

get:
  operationId: get-operation
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  requestBody:
    content:
      application/json:
        schema:
          type: string

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