Skip to main content
GET
List recent chats

Authorizations

Authorization
string
header
required

Send your workspace API key as Authorization: Bearer zr_live_….

Query Parameters

promptId
integer

Only return chats for this prompt.

limit
integer
default:20

How many chats to return (1–50). Defaults to 20.

Required range: 1 <= x <= 50

Response

Recent chats.

success
boolean
Example:

true

data
object[]
message
string
Example:

"Chats retrieved successfully"