Data Hub
Runs

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=…`.

GET
/search

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
AuthorizationBearer <token>

Personal access tokens begin with dhub_… and are restricted by their assigned scopes.

In: header

Query Parameters

q?string
scope?string

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    }  }}