Skip to main content
GET
Get a conversation

Authorizations

Authorization
string
header
required

Your secret API key, lyra_sk_…, from Settings → Developers → API keys.

Path Parameters

id
string<uuid>
required

The assistant's ID.

Query Parameters

partition
string
required

The customer's partition: customer_id=4712, several pairs joined with ,. URL-encode the whole value. Keys and values must not contain , or =.

Maximum string length: 500
Example:

"customer_id=4712"

Response

The customer's thread.

partition
object
required

The customer's partition, as sent.

since
string<date-time> | null
required

When the first message was written. null when there is none.

launcher
any
required

The launcher the conversation was held in.

Available options:
bubble,
bar,
null
questions
integer
required
Required range: x >= 0
credits_cents
number
required

Total cost, in hundredths of a credit. Can be fractional.

Required range: x >= 0
messages
object[]
required