GET
/ratchet/demo/sample-example
const url = 'http://localhost:8000/ratchet/demo/sample-example?split=train';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”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>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}