Search Data Hub
Requires scope `runs:read`. Searches runs, lab notebooks, files, instruments, users, and comments, with up to 5 results in each group, or up to 25 when `scope` names one group. A pasted lab notebook link returns only the lab notebook for that page, and runs don't match through their lab notebooks. List a lab notebook's runs with `GET /instrument-runs?lab_notebook_id=…`.
Requires scope runs:read. Searches runs, lab notebooks, files, instruments, users, and comments, with up to 5 results in each group, or up to 25 when scope names one group. A pasted lab notebook link returns only the lab notebook for that page, and runs don't match through their lab notebooks. List a lab notebook's runs with GET /instrument-runs?lab_notebook_id=….
Authorization
bearerAuth Personal access tokens begin with dhub_… and are restricted by their assigned scopes.
In: header
Query Parameters
Value in
- "all"
- "runs"
- "lab_notebooks"
- "files"
- "instruments"
- "users"
- "comments"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/search"{ "runs": [ { "property1": null, "property2": null } ], "lab_notebooks": [ { "type": "lab_notebook", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "url": "string", "runCount": 0 } ], "files": [ { "property1": null, "property2": null } ], "instruments": [ { "property1": null, "property2": null } ], "users": [ { "property1": null, "property2": null } ], "comments": [ { "property1": null, "property2": null } ]}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}List a run's report items GET
Requires scope `files:read`. Returns `{id, filename}` for the run's renderable images, PDFs, spectra, or videos, ordered by filename. Paged with `offset`/`limit` so viewers can seek by item index.
Queue selected files for upload POST
Requires scope `runs:upload`. A token that registered a watcher may act only on instruments whose active watcher it registered, and gets 403 for any other.