GET /chat/completions/{completion_id}/messages

Servers

Path parameters

Name Type Required Description
completion_id String Yes

The ID of the chat completion to retrieve messages from.

Query parameters

Name Type Required Description
order String No

Sort order for messages by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.

Possible values:

  • "desc"
  • "asc"

Default value: "asc"

limit Integer No

Number of messages to retrieve.

Default value: 20

after String No

Identifier for the last message from the previous pagination request.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.