Graphon API

Get research

Returns a research run as it stands, at once. It never waits. A finished run stays readable until expiresAt, seven days past the end, also while its bucket is offline. After that it is 404 not_found. Use sources and sourceLimit to read fewer sources at a time, and sourceCursor to read the next page. Requires the viewer role.

GET/v1/workspaces/{workspaceId}/research/{researchId}

Authentication

Send your Graphon API key with every request. The value is the whole API key that Graphon showed when you created it. See Authentication.

Authorization: Bearer <GRAPHON_API_KEY>

Path parameters

The workspace id.

The query run id.

Query parameters

sourcesstring (optional)

cited: only the sources that the answer cites. all: every source of the run: cited sources first, in the order the answer cites them, then the sources it only retrieved. Defaults to all. One of: all, cited.

sourceLimitstring (optional)

Sources on one page, 1 to 200. Defaults to 50. A smaller page keeps a tool result under its size limit.

sourceCursorstring (optional)

The sourcesNextCursor of the previous read, to read the next page of sources. Send the same sources and sourceLimit. Defaults to the first page.

Was this page helpful?
View as Markdown