Skip to main content
POST
Get Conversation Messages

Overview

Returns a conversation’s messages, oldest first: each of your messages followed by the assistant’s reply. Operation name: conversation.messages. Member keys can call it.

Authorization

string
required
Your Composer API key

Headers

string
required
Must be set to application/json

Body

string
required
The conversation to load.
Example
integer
Maximum number of turns to return. Default 200.
Example
Example Request

Response

array
Oldest first. Each has role (you or ea) and text.
array
On your messages: the names of files attached to that turn.
string
On assistant messages: the run behind the reply.
array
Pictures or charts the assistant drew in that reply.
array
Places the assistant found on the map: id, name, address, phone, website, maps_url, open_now, rating. A place’s small map is served at GET /lab/api/v1/place/{id}/map.
boolean
True when the reply was stopped before it finished.
Example Success Response

Example cURL

cURL

Error Codes