post https://dash.readme.com/api/v1/owlbot/ask
Ask Owlbot a question about the content of your docs.
Enterprise Only
Asking a question to Owlbot AI via the API is only available to projects on our Enterprise plan. Contact [email protected] to learn more!
Streaming Response
By passing in stream: true
to the POST request this endpoint will send back data as it is generated instead of waiting for the entire response to be complete. This will make UI elements rendering this content feel much more responsive, cause it can take several seconds to get the entire response otherwise.
For streaming responses we always return the sources used as the first chunk in the following format, followed by two newline characters.
sources: [{ title: "Page Title" url: "https://docs.example.com/docs/source" }]