Skip to content

API & reference

Teacher Ack

POST
/ratchet/teacher/ack
curl --request POST \
--url http://localhost:8000/ratchet/teacher/ack

Acknowledge the teacher watch: a new check epoch, Night School unfrozen, and a teacher_ack event naming the admin key (never the key). Needs an admin key; open in mock mode without admin keys, like the other management calls. Check the teacher’s model id first (docs/RUNBOOK.md).

x-api-key
Any of:
string

Successful Response

Media typeapplication/json
Response Teacher Ack Ratchet Teacher Ack Post
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"
}
]
}