Agent-readable docs index: /docs/llms.txt. Full docs in one file: /docs/llms-full.txt. Download /docs/docs.zip to grep all markdown files locally.
/api/notes/{username}/{slug}/askPOST
Stream a concise answer grounded only in one readable note. Public notes can be queried without a key; protected notes require access.
Request Bodyapplication/jsonrequired
question *string
Min length: 1Max length: 4096
Response
200 · Plain-text answer stream.
Plain-text answer stream.
400 · The request body or parameter is invalid.
error *string
Human-readable error message.
404 · The resource is not available to the caller.
error *string
Human-readable error message.
413 · The request body exceeds the endpoint limit.
error *string
Human-readable error message.
429 · The caller has exceeded the AI request limit.
error *string
Human-readable error message.
503 · A required Bri or AI service is not configured or available.
error *string
Human-readable error message.
Request example
curl -X POST "https://bri.fyi/api/notes/<username>/<slug>/ask" \ -H "Content-Type: application/json" \ -d '{ "question": "string" }'