SF API Topic and Action Enablement

api-must-have-topic-instruction

general > api-must-have-topic-instruction


Guidance / Message

APIs enabled for agent topics and agent actions must declare a set of instructions

Examples

valid

openapi: "3.0.0"
info:
  title: example API
  version: "1.0.0"
  description: "This is the API description"
x-sfdc:
  agent:
    topic:
      instructions:
        - instruction 1
        - insstruction 2

invalid

openapi: "3.0.0"
info:
  title: example API
  version: "1.0.0"

Applies to WebAPI

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