Skip to main content
GET
List a model's instances

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

id
string<uuid>
required

The model's ID (not its project ID). Find it with GET /models?name=your-org/your-model.

Query Parameters

alive_only
boolean
default:true

true returns live instances only and ignores the window and paging parameters. false adds instances that served a session in the window.

start
string<date-time>

Inclusive start of the history window, RFC 3339. Defaults to 24 hours before end. Only with alive_only=false.

end
string<date-time>

Exclusive end of the history window, RFC 3339. Defaults to now. Only with alive_only=false.

since
string

A window ending now, as a duration such as 24h or 7d. Cannot be combined with start or end. Only with alive_only=false.

Example:

"24h"

limit
integer
default:200

Maximum session-history rows read for the page (not the number of instances returned). Only with alive_only=false.

Required range: 1 <= x <= 200
cursor
string

The next_cursor of the previous page. Only with alive_only=false.

Response

The model's instances.

model_id
string<uuid>
required
model
string
required
Example:

"your-org/your-model"

instances
object[]
required
count
integer
required

Instances in this response, not a total across pages.

next_cursor
string

Present when another history page exists.