Notebook

Table Overview

Name$raw FiltersDescription
entryarchived$ column is not TrueLists all notebook entries
entry_auditorLists all notebook entry audits and the responsible user
entry_templateLists all notebook entry templates
authorLists all notebook entry authors
review_processLists all entry review processes
review_process_versionLists all version changes to entry review processes
review_process_stageLists all stages of all entry review processes
project_review_processLists which entry review processes are in use by projects
bnch$creation_context$betaLists the step in a Study, Condition or Unit operation that entities, results and containers were created in
bnch$review$alphaLists all reviews tied to reviewable types (entries, stage entries, worksheets, study design)
bnch$reviewer$alphaList of reviewers tied to a review and the respective user. This is meant to replace entry_auditor with respect to Review Processes
bnch$worksheet$alphaLists all worksheets


entry

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
archive_purpose$Archival reason for object in BenchlingTextnull, Made in Error, Retired, Other, etcnull = object not archived
archived$Archival state for object in BenchlingBooleanTRUE, FALSEtrue = object archived
creator_idUnique identifier for creator of objectForeign key for principal.ident_yXrL3BjX
created_atCreated date for objectTimestamp without timezone2019-12-06T23:24:44.885478
modified_atMost recent modified date for objectTimestamp without timezone2019-12-06T23:24:44.885478
nameName of object in BenchlingCharacter VaryingTransfection Entry, QC Results, Therapeutic Cell Line, etc
display_idUnique identifier surfaced in the actual Benchling sitePrefix-unique entry numberEXP001 or EXP20000416Unique Entry number
folder_idUnique identifier for folder containing objectForeign key for folder.idlib_J3tmt8BPIf object not in folder, then folder_id = project_id.If null, then object not in folder/project
workflow_idUnique identifier for workflow containing objectForeign key for workflow.idwfw_DMcZhu4A
schema_idUnique identifier for schema containing objectForeign key for schema.idts_IOGwR6u4
entry_template_idUnique identifier for entry template containing objectForeign key for entry_template.idtmpl_RlsGq4ng
entry_template_version_idUnique identifier for entry template version containing objectForeign key for entry_template_version.idtmplver_LKfYYNbv
review_statusCurrent review status for objectnull, NEEDS_REVIEW, REJECTED, RETRACTED, ACCEPTED, ACCEPTANCE_SNAPSHOT_IN_PROGRESS, REVIEW_SNAPSHOT_IN_PROGRESSnull, NEEDS_REVIEW, REJECTED, RETRACTED, ACCEPTED, ACCEPTANCE_SNAPSHOT_IN_PROGRESS, REVIEW_SNAPSHOT_IN_PROGRESSnull = entry not sent for review; REJECTED includes entries requiring revision; snapshot statuses are transient (only visible when blocking snapshot feature flags are enabled)
review_requested_atDate of most recent review requested for objectTimestamp without timezone2019-12-06T23:24:44.885478NOTE: we prefer using requested_at on the review warehouse table
review_completed_atDate when the review was completedTimestamp without timezone2019-12-06T23:24:44.885478NOTE: we prefer using completed_at on the review warehouse table
review_initial_requested_atDate when the review was first sent for reviewTimestamp without timezone2019-12-06T23:24:44.885478

Compared to requested_at, this captures the first time any reviewable was sent for review

NOTE: we prefer using initial_requested_at on the review warehouse table

review_status_changed_atDate of review status change for objectTimestamp without timezone2019-12-06T23:24:44.885478NOTE: we prefer using review_status_changed_at on the review warehouse table
review_process_version_idUnique identifier for version id of review processForeign key for review_process_version.idrlc_SN0IwfBx
urlURL for each object in BenchlingBrowser URLhttps://demo.benchling.com/#biotech-org/f/lib_J3tmt8BP-Entry%20Namet/etr_gRogHFOb-untitled/edit

entry_auditor

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
user_idUnique identifier for userForeign key for user.ident_yXrL3BjXSee User Table for more information
entry_idUnique identifier for EntryForeign key for entry.idetr_GtcscEZqSee Entry Table for more information
review_process_stage_idUnique identifier for review process stageForeign key for review_process_stage.idrlcstg_ZjNgNXks
review_statusThe status for the reviewString statusACCEPTED, NEEDS_REVIEW, REJECTED, RETRACTED, etc.
review_idUnique identifier for reviewForeign key for review.idrvw_JkYbw7mjSee Review table for more information

entry_template

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tabletmpl_RlsGq4ng, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVTemplate permissions are derived from the template collection's ownership
archive_purpose$Archival reason for object in BenchlingTextnull, Made in Error, Retired, Other, etcnull = object not archived
archived$Archival state for object in BenchlingBooleanTRUE, FALSEtrue = object archived
creator_idUnique identifier for creator of objectForeign key for principal.ident_yXrL3BjX
created_atCreated date for objectTimestamp without timezone2019-12-06T23:24:44.885478
modified_atMost recent modified date for objectTimestamp without timezone2019-12-06T23:24:44.885478
nameName of the entry templateCharacter VaryingWestern Blot Template, PCR Protocol
schema_idUnique identifier for schemaForeign key for schema.idts_IOGwR6u4Can be null if template is not schema-based

author

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
user_idUnique identifier for userForeign key for principal.ident_yXrL3BjXSee User Table for more information
entry_idUnique identifier for EntryForeign key for entry.idetr_GtcscEZqIf entry has multiple authors there will be multiple rows per entry_id. See Entry Table for more information

review_process

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
current_versionVersion id of the current (i.e. most up-to-date) review process versionForeign key for review_process_version.idrlc_6x2onGXv

review_process_version

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
review_process_idUnique identifier for review processForeign key for review_process.idrlc_fSmNiu8i
created_atCreated date for objectTimestamp without timezone2019-12-06T23:24:44.885478
nameName of the review processes versionCharacter VaryingSelf Review, Lab Sequential
lifecycle_typeReview process typeEnumerationSELF_REVIEW,SEQUENTIAL,PARALLEL
completion_stageStatus of a completed review using review processCharacter VaryingACCEPTED

review_process_stage

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
nameName of the review process stageCharacter VaryingSelf review, Stage 1
actionText appearing in the user-facing label when completing stageCharacter VaryingACCEPT
review_process_version_idUnique identifier for version id of review processForeign key for review_process_version.idrlc_SN0IwfBx

project_review_process

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
project_idUnique identifier for projectForeign key for project.idsrc_D44xhOol
review_process_idUnique identifier for review processForeign key for review_process.idrlc_fSmNiu8i

bnch$creation_context$beta

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tableent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
created_object_idUnique identifier for the created objectForeign key for any type of object that can have a creation contextent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
entry_idUnique identifier for the notebook entry that the object was created inForeign key for entry.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
worksheet_idUnique identifier for the worksheet that the object was created inForeign key for worksheet.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
procedure_step_execution_idUnique identifier for the the associated procedure step execution instance for the worksheet step that the object was created inForeign key for procedure_step_execution_instance.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
parameter_measured_value_idUnique identifier for the created procedure parameter measured valueForeign key for parameter_measured_value.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
parameter_confirmation_value_idUnique identifier for the created procedure parameter confirmation valueForeign key for parameter_confirmation_value.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
parameter_planned_value_idUnique identifier for the created procedure parameter planned valueForeign key for parameter_planned_value.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
run_idUnique identifier for the created Connect RunCharacter varyingent_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
result_idUnique identifier for the created resultForeign key for result.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
entity_idUnique identifier for the created entityForeign key for entity.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
box_idUnique identifier for the created boxForeign key for box.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
plate_idUnique identifier for the created plateForeign key for plate.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc
container_idUnique identifier for the created containerForeign key for container.ident_yXrL3BjX, etr_GtcscEZq, loc_Y2v8daz0, etc

bnch$review$alpha

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tablervw_JkYbw7mj, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
created_atCreated date for objectTimestamp without timezone2019-12-06T23:24:44.885478
review_statusThe status for the reviewString statusnull, ACCEPTED, NEEDS_REVIEW, REJECTED, RETRACTED, ACCEPTANCE_SNAPSHOT_IN_PROGRESS, REVIEW_SNAPSHOT_IN_PROGRESSnull = reviewable not sent for review; REJECTED includes items requiring revision; snapshot statuses are transient (only visible when blocking snapshot feature flags like ELN_REVIEW_REQUIRES_SUCCESSFUL_SNAPSHOT are enabled)
review_process_idUnique identifier for review processForeign key for review_process.idrlc_fSmNiu8i
reviewable_idUnique identifier for the reviewable object the review is associated withForeign key for entry.id,
worksheet.id,
study_design.id
etr_GtcscEZq,
wks_gLZqJzcl,
stdydsgn_DfDd5D1w
See respective reviewable's Table for more information
initiator_id

Unique identifier for user

This represents the User who initiated the review (sent for review, self-approved)

Foreign key for user.ident_yXrL3BjXSee User Table for more information
requested_atDate when the review was most recently sent for reviewTimestamp without timezone2019-12-06T23:24:44.885478
completed_atDate when the review was completedTimestamp without timezone2019-12-06T23:24:44.885478
initial_requested_atDate when the review was first sent for reviewTimestamp without timezone2019-12-06T23:24:44.885478Compared to requested_at, this captures the first time any reviewable was sent for review
review_status_changed_atDate when the review status last changedTimestamp without timezone2019-12-06T23:24:44.885478

bnch$reviewer$alpha

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tablereviewer_66, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
user_idUnique identifier for user tied to the review/review stageForeign key for user.ident_yXrL3BjXSee User Table for more information
reviewable_idUnique identifier for the reviewable object the review is associated withForeign key for entry.id,
worksheet.id,
study_design.id
etr_GtcscEZq,
wks_gLZqJzcl,
stdydsgn_DfDd5D1w
See respective reviewable's Table for more information
reviewer_statusThe status of the reviewer's reviewString statusPENDING, FINISHED, REJECTED, BLOCKED
review_process_stage_idUnique identifier for review process stage the reviewer is associated withForeign key for review_process_stage.idrlcstg_ZjNgNXks
review_idUnique identifier for reviewForeign key for review.idrvw_JkYbw7mjSee Review Table for more information

bnch$worksheet$alpha

Table RowDefinitionValue TypeExample Values (if applicable)Notes
idUnique Benchling-prescribed ID for each line item in tableFormat dependent on tablewks_gLZqJzcl, etcPrimary key for a table
source_idThe project or registry that the object's permissions comes fromForeign key for project.id or registry IDsrc_hh9ffHqVIf an object isn't in a project, the permissions will be derived from the Registry
archived$Archival state for object in BenchlingBooleanTRUE, FALSEtrue = object archived
archive_purpose$Archival reason for object in BenchlingTextnull, Made in Error, Retired, Other, etcnull = object not archived
creator_idUnique identifier for creator of objectForeign key for principal.ident_yXrL3BjX
created_atCreated date for objectTimestamp without timezone2019-12-06T23:24:44.885478
modified_atMost recent modified date for objectTimestamp without timezone2019-12-06T23:24:44.885478
nameString name of the worksheetStringCondition 1 - Replicate 1 - my method 433130470 - Worksheet Study
display_idUnique identifier surfaced in the actual Benchling sitePrefix-unique entry numberEXP001 or EXP20000416Unique Entry number
folder_idUnique identifier for folder containing objectForeign key for folder.idlib_J3tmt8BPIf object not in folder, then folder_id = project_id.If null, then object not in folder/project

Note on Worksheet Review Data:

Unlike the entry table, the bnch$worksheet$alpha table does not contain embedded review fields. To access worksheet review information, you must join with the bnch$review$alpha table:

SELECT
    w.id,
    w.name,
    w.display_id,
    r.review_status,
    r.initiator_id,
    r.requested_at,
    r.completed_at,
    r.initial_requested_at,
    r.review_status_changed_at,
    r.review_process_id
FROM bnch$worksheet$alpha w
LEFT JOIN bnch$review$alpha r ON r.reviewable_id = w.id
WHERE w.archived$ = FALSE

Example Queries

For some example queries using notebook warehouse tables, see here.


What’s Next