GET /chat/completions/{completion_id}/messages
Get the messages in a stored chat completion. Only Chat Completions that have been created with the store parameter set to true will be returned.Servers
- https://api.openai.com/v1
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 Valid values:
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
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.