Data Hub
Lab Notebooks

List lab notebooks

Requires scope `runs:read`. To list a lab notebook's runs, filter a run list by `lab_notebook_id`.

GET
/lab-notebooks

Requires scope runs:read. To list a lab notebook's runs, filter a run list by 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

Text in a lab notebook's name, description, or link, ignoring case. A pasted link, with or without https://, matches only the lab notebook for that page.

owner_id?string

Lists only lab notebooks this user owns.

include_deleted?string

true lists deleted lab notebooks too.

Value in

  • "true"
  • "false"
sort?string

last_run (default): when the newest run started. name, run_count, or created.

Value in

  • "last_run"
  • "name"
  • "run_count"
  • "created"
order?string

Defaults to asc for name and desc for the others.

Value in

  • "asc"
  • "desc"
page?integer
Range1 <= value
per_page?integer

Defaults to 50.

Range1 <= value <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/lab-notebooks"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "url": "string",      "url_key": "string",      "name": "string",      "description": "string",      "owner": {        "id": "string",        "displayName": "string",        "initials": "string",        "avatarUrl": "string"      },      "run_count": 0,      "instrument_count": 0,      "last_run_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "created_by": {        "id": "string",        "displayName": "string",        "initials": "string",        "avatarUrl": "string"      },      "created_by_token": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "updated_at": "2019-08-24T14:15:22Z",      "updated_by": {        "id": "string",        "displayName": "string",        "initials": "string",        "avatarUrl": "string"      },      "updated_by_token": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "deleted_at": "2019-08-24T14:15:22Z",      "deleted_by": {        "id": "string",        "displayName": "string",        "initials": "string",        "avatarUrl": "string"      },      "deleted_by_token": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      }    }  ],  "pagination": {    "page": 0,    "per_page": 0,    "total": 0,    "total_pages": 0  }}
{  "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    }  }}