Get Agent Context

Retrieves the content of the agent context.

This action is available in API version 67.0 and later.

URI: /services/data/vXX.X/actions/standard/getAgentContext

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

InputTypeDescription
contextDescriptionstringOptional. A description of the agent context.
OutputTypeDescription
agentContextApexstringSpecifies the agent context as an Apex object. This output is an Apex output type that contains nested arrays in JSON format.

Sample request body:

Sample response body: