Skip to navigation

Create Entry

Beta
Create Entry.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
folderIdstringRequired
Specifies the ID of the folder to create the entry in. The folder must grant the caller append permission. The folder ID can be retrieved from the folder listing resource.
namestringRequired
Specifies the entry title.
authorIdslist of stringsOptional

Specifies user or app IDs to set as entry authors. Defaults to the creator (the authenticated user or app). Use [] to create an entry with no authors.

partslist of objectsOptional
Specifies the document content parts to create, in order. When omitted, a blank document is created using the default behavior for its document type. An empty parts array is rejected.
schemaFieldsmap from strings to objectsOptional
Specifies values for fields defined by the entry schema. Keys must be field API identifiers. Values must be API identifiers or JSON values matching the field type. Exceptions are assay run and assay result link fields, which must be warehouse UUIDs. Permitted only when the entry has a schema associated with it, or schemaId is supplied in the same request.
schemaIdstringOptional
Specifies the ID of the entry schema to assign. Omit to create an entry without an entry schema. The schema ID can be retrieved from the entry schema listing resource.
studyAssociationslist of objectsOptional

Specifies study associations, including auto-linking behavior. This is used to associate the entry with studies.

Response

Created
__typenamestringOptional
applicableReviewProcessesstringOptionalformat: "uri"
Lists review processes configured for the entry's project. Use the paginated list of applicable review processes for the full list including stages and version details.
archiveReasonstring or nullOptional
Specifies the archive reason when the entry is archived.
archivedbooleanOptional
Specifies whether the entry is archived.
createdAtstring or nullOptionalformat: "datetime"
Specifies when the entry was created.
customFieldslist of objects or nullOptional
Lists custom field values on the entry.
displayIdstring or nullOptional
Specifies the display ID for the entry.
folderobject or nullOptional
Specifies the folder that contains the entry.
idstringOptional
Identifies the entry.
modifiedAtstring or nullOptionalformat: "datetime"
Specifies when the entry was last modified.
namestring or nullOptional
Specifies the title of the entry.
reviewobject or nullOptional
Specifies the active review for the entry when one exists. Null when the entry has not been sent for review or the review was retracted.
reviewSourceobjectOptional
Specifies the project that owns the entry and determines which review processes apply.
selectorslist of objectsOptional
Lists dropdown selectors available to table cells in the document.
typedSchemaobject or nullOptional
versionMetadataobjectOptional
Specifies version metadata for the current revision of the entry.
webUrlstringOptional
Specifies the absolute URL of the entry in the Benchling web app.
authorsstring or nullOptionalformat: "uri"
Lists the authors of the entry. Defaults to the creator but may be edited.
creatorobject or nullOptional
Identifies who created the entry.
partsstringOptionalformat: "uri"
Lists ordered document parts that make up the document content.
schemaFieldslist of objects or nullOptional
Lists values for fields defined by the entry schema.
schemaobject or nullOptionalDeprecated
Specifies the entry schema when one is configured.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error