agents

Generate a response from an agent

post/api/agents/{agentId}/generate

Path parameters

agentIdstring required

Request body

messagesobject[] required
threadIdstring
resourceIdstring

The resource ID for the conversation

resourceidstring

The resource ID for the conversation (deprecated, use resourceId instead)

outputobject

Response

Generated response

Changes

Changed in 2 of the 7 revisions of this API.13

    • added the new optional request property resourceId

      new-optional-request-property

    • request property resourceid deprecated

      request-property-deprecated

  • d19b5a52523911See the full diff
    • removed the request property resourceId

      request-property-removed

    • request property resourceid reactivated

      request-property-reactivated