Skip to content
Open the portal
Developer docs

Post Replay

POST
/v1/replays
curl --request POST \
--url https://example.com/v1/replays \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "selector": { "agent_id": "example", "agent_version": "example", "model": "example", "since": "2026-04-15T12:00:00Z", "until": "2026-04-15T12:00:00Z", "adverse": true, "limit": 500, "order": "latest" }, "candidate": {} }'
Media typeapplication/json
ReplayIn
object
name
required
Name
string
>= 1 characters <= 128 characters
selector
required
SelectorIn
object
agent_id
required
Agent Id
string
>= 1 characters <= 128 characters
agent_version
Any of:
string
<= 64 characters
model
Any of:
string
<= 128 characters
since
Any of:
string format: date-time
until
Any of:
string format: date-time
adverse
Any of:
boolean
limit
Limit
integer
default: 500 >= 1 <= 2000
order
Order
string
default: latest
Allowed values: latest random
candidate
CandidateIn
object
provider
Any of:
string
<= 64 characters
model
Any of:
string
<= 128 characters
version
Any of:
string
<= 64 characters
config_hash
Any of:
string
<= 80 characters
note
Any of:
string
<= 500 characters

Successful Response

Media typeapplication/json
Response Post Replay V1 Replays Post
object
key
additional properties
any
Examplegenerated
{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}