Built for Fly.io Hacksgiving 2026. See how each judge's product is used
Skip to Content
HTTP APIAncestors

Ask an ancestor

POST
/api/generations/{gen}/ask

A dead generation answers in at most 80 words, from its own will and verdicts. The question is treated as data: it can't give the ancestor orders. Returns 429 after 10 questions a minute.

Path Parameters

gen*Gen
Range1 <= value <= 100000

Request Body

application/json
  1. body
question*Question

Your question, in any language (at most 400 characters).

Lengthlength <= 400

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X POST 'http://localhost:8080/api/generations/1/ask' \
  -H 'Content-Type: application/json' \
  -d '{
  "question": "What did your mother teach you?"
}'
Example Response
null