Skip to content

Demo Sample Example

GET
/ratchet/demo/sample-example
curl --request GET \
--url 'http://localhost:8000/ratchet/demo/sample-example?split=train'

A committed example of version (default: the live version) from its split set, as a body for POST /ratchet/versions/{id}/proof: its task, its stored (redacted) messages and the conditions it was stored under, never its answer. The first leaf, in key order, whose example is still stored.

split
Split
string
default: train
version
Any of:
integer

Successful Response

Media typeapplication/json
Response Demo Sample Example Ratchet Demo Sample Example Get
object

Example generated

{}

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

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}