Skip to content

API docs & ask_docs

Agents can ask how your API works, not only call it. The ask_docs tool returns numbered passages from your docs, each cited to its source.

  • Your OpenAPI operations are always a source and can’t be removed.
  • Add guide pages by URL (up to 20 at a time) or upload files: .md, .txt, .html or .pdf, up to 15 MB each.
  • Browse what we understood and try questions in the console before you publish.
  • The same docs back the chat widget.

Publishing waits until the docs are built.

ask_docs("How long does an access token last?")
[1] Guides › Authentication
"Access tokens expire after one hour..."
[2] POST /auth/token · responses