Research a question with cited sources
Research a question about a package, GitHub repository, or documentation site and receive a Markdown answer with links to its sources. Continue the conversation with follow-up questions in the same thread. Answer generation can take up to 210 seconds.
Use this experimental endpoint when you want an explanation based on project documentation and code.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional client attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.
Optional client-version attribution: trimmed printable ASCII, at most 80 bytes. Invalid optional values are dropped.
Optional agent attribution: trimmed printable ASCII, at most 160 bytes. Invalid optional values are dropped.
Optional session attribution: trimmed printable ASCII, at most 128 bytes. Invalid optional values are dropped; no session is created.
Body
Response
Generated Markdown, ordered source URLs, and execution and thread identifiers
Generated answer, cited source URLs, and identifiers for diagnostics and follow-up questions.
Generated Markdown; citations and source order are preserved.
Source URLs in their original order. Citation numbers are not array indices; entries without URLs are omitted.
Thread identifier (UUIDv7) to reuse for follow-up questions.
Execution identifier (UUIDv7) for diagnostics.