openapi: 3.0.1 info: license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html title: Benchling AA Sequences Legacy Requests API version: 2.0.0 description: 'AA Sequences are the working units of cells that make everything run (they help make structures, catalyze reactions and allow for signaling - a kind of internal cell communication). On Benchling, these are comprised of a string of amino acids and collections of other attributes, such as annotations. ' servers: - url: /api/v2 security: - oAuth: [] - basicApiKeyAuth: [] tags: - description: Legacy Requests allow scientists and teams to collaborate around experimental assays and workflows. name: Legacy Requests paths: /request-fulfillments: get: description: List Legacy Request Fulfillments operationId: listRequestFulfillments parameters: - example: etr_IKwdYx31 in: query name: entryId required: true schema: type: string - description: 'Datetime, in RFC 3339 format. Supports the > and < operators. Time zone defaults to UTC. Restricts results to those modified in the specified range. e.g. > 2017-04-30. Date ranges can be specified with the following nomenclature > YYYY-MM-DD AND 2022-03-01 AND < 2022-04-01' full-rfc-3339-format: summary: Filter for modified models using the full RFC 3339 format value: '> 2020-12-31T21:07:14-05:00' greater-than-example: summary: Filter for all models modified after a certain date value: '> 2022-03-01' in: query name: modifiedAt schema: type: string - example: Im5ldyB0ZXN0Ig== in: query name: nextToken schema: type: string - in: query name: pageSize schema: default: 50 maximum: 100 minimum: 0 nullable: false type: integer responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestFulfillmentsPaginatedList' description: OK '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestError' description: Bad Request summary: List Legacy Request Fulfillments tags: - Legacy Requests /request-fulfillments/{request_fulfillment_id}: get: description: Get a Legacy Request's fulfillment operationId: getRequestFulfillment parameters: - example: reqffm_8Hm71Usw in: path name: request_fulfillment_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestFulfillment' description: OK '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: Not Found summary: Get a Legacy Request's fulfillment tags: - Legacy Requests /requests: get: description: List Legacy Requests operationId: listRequests parameters: - in: query name: schemaId required: true schema: type: string - in: query name: requestStatus schema: $ref: '#/components/schemas/RequestStatus' - description: minimum create time (unix seconds) in: query name: minCreatedTime schema: type: integer - description: maximum create time (unix seconds) in: query name: maxCreatedTime schema: type: integer - example: Im5ldyB0ZXN0Ig== in: query name: nextToken schema: type: string - in: query name: pageSize schema: default: 50 maximum: 100 minimum: 0 nullable: false type: integer - description: Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter). in: query name: returning schema: example: requests.id,requests.modifiedAt type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestsPaginatedList' description: OK summary: List Legacy Requests tags: - Legacy Requests post: description: Create a Legacy Request operationId: createRequest requestBody: content: application/json: schema: $ref: '#/components/schemas/RequestCreate' responses: '201': content: application/json: schema: $ref: '#/components/schemas/Request' description: Created '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestError' description: Bad Request summary: Create a Legacy Request tags: - Legacy Requests /requests/{request_id}: get: description: Get a Legacy Request by ID operationId: getRequest parameters: - example: req_JekfeyVS in: path name: request_id required: true schema: type: string - description: Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter). in: query name: returning schema: example: id,modifiedAt type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/Request' description: OK '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: Not Found summary: Get a Legacy Request by ID tags: - Legacy Requests patch: description: Update a Legacy Request operationId: patchRequest parameters: - in: path name: request_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/RequestUpdate' responses: '200': content: application/json: schema: $ref: '#/components/schemas/Request' description: OK '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestError' description: Bad Request summary: Update a Legacy Request tags: - Legacy Requests /requests/{request_id}/response: get: description: Get a Legacy Request's response operationId: getRequestResponse parameters: - example: req_JekfeyVS in: path name: request_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestResponse' description: OK '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: Not Found summary: Get a Legacy Request's response tags: - Legacy Requests /requests/{request_id}/tasks:bulk-create: post: description: Create Legacy Request Tasks for a Legacy Request operationId: bulkCreateRequestTasks parameters: - example: req_JekfeyVS in: path name: request_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/RequestTasksBulkCreateRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestTasksBulkCreateResponse' description: OK '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestErrorBulk' description: Bad Request summary: Create Legacy Request Tasks for a Legacy Request tags: - Legacy Requests /requests/{request_id}/tasks:bulk-update: post: description: Bulk update Legacy Request Tasks for a Legacy Request operationId: bulkUpdateRequestTasks parameters: - example: req_JekfeyVS in: path name: request_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/RequestTasksBulkUpdateRequest' responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestTasksBulkUpdateResponse' description: OK '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: Not Found summary: Bulk update Legacy Request Tasks for a Legacy Request tags: - Legacy Requests /requests/{request_id}:execute-sample-groups: post: description: Update the status of sample groups in a Legacy Request operationId: executeRequestsSampleGroups parameters: - example: req_JekfeyVS in: path name: request_id required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/SampleGroupsStatusUpdate' responses: '200': content: application/json: schema: $ref: '#/components/schemas/ExecuteSampleGroups' description: OK '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestError' description: Bad Request '404': content: application/json: schema: $ref: '#/components/schemas/NotFoundError' description: Not Found summary: Update the status of sample groups in a Legacy Request tags: - Legacy Requests /requests:bulk-get: get: description: Bulk get Legacy Requests by API ID or display ID operationId: bulkGetRequests parameters: - description: Comma-separated list of Legacy Request IDs. Exactly one of requestIds or displayIds must be specified. example: req_xJk20sla,req_lQJ3nMs5 in: query name: requestIds schema: type: string - description: Comma-separated list of display IDs. Exactly one of requestIds or displayIds must be specified. example: VPR001,VPR002 in: query name: displayIds schema: type: string - description: Comma-separated list of fields to return. Modifies the output shape. To return all keys at a given level, enumerate them or use the wildcard, '*'. For more information, [click here](https://docs.benchling.com/docs/getting-started-1#returning-query-parameter). in: query name: returning schema: example: requests.id,requests.modifiedAt type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/RequestsBulkGet' description: OK '400': content: application/json: schema: $ref: '#/components/schemas/BadRequestError' description: Bad Request summary: Bulk get requests tags: - Legacy Requests components: schemas: Request: allOf: - $ref: '#/components/schemas/RequestBase' - properties: apiURL: description: The canonical url of the Legacy Request in the API. example: https://benchling.com/api/v2/requests/req_dnn2JtWq format: uri readOnly: true type: string assignees: description: Array of assignees items: oneOf: - $ref: '#/components/schemas/RequestUserAssignee' - $ref: '#/components/schemas/RequestTeamAssignee' readOnly: true type: array createdAt: description: Date and time the Legacy Request was created example: 2017-04-23 01:30:50.970926 format: isoformat readOnly: true type: string creator: allOf: - $ref: '#/components/schemas/UserSummary' - description: UserSummary of the user who created the Legacy Request - readOnly: true displayId: description: User-friendly ID of the Legacy Request example: VP1 readOnly: true type: string fields: $ref: '#/components/schemas/Fields' id: description: Unique ID for the Legacy Request example: req_JekfeyVS readOnly: true type: string projectId: description: The ID of the project to which the Legacy Request belongs. example: src_29pt8Ida type: string requestStatus: $ref: '#/components/schemas/RequestStatus' requestor: allOf: - $ref: '#/components/schemas/UserSummary' - description: UserSummary of the user making the Legacy Request - readOnly: true sampleGroups: items: $ref: '#/components/schemas/RequestSampleGroup' type: array scheduledOn: description: Date the Legacy Request is scheduled to be executed on, in YYYY-MM-DD format. example: 2019-09-12 format: date nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' - description: SchemaSummary for the Legacy Request example: id: assaysch_3IF58QOf name: Vector Production readOnly: true title: SchemaProperty tasks: items: $ref: '#/components/schemas/RequestTask' type: array webURL: description: URL of the Legacy Request example: https://benchling.com/requests/req_JekfeyVS format: uri readOnly: true type: string Primer: properties: bases: readOnly: true type: string bindPosition: readOnly: true type: integer color: readOnly: true type: string end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer name: readOnly: true type: string oligoId: type: string overhangLength: readOnly: true type: integer start: description: 0-based inclusive start index. type: integer strand: example: 1 type: integer type: object RequestSampleGroupCreate: properties: samples: $ref: '#/components/schemas/RequestSampleGroupSamples' required: - samples type: object ArchiveRecord: properties: reason: example: Made in error type: string type: object FieldType: enum: - dna_sequence_link - aa_sequence_link - custom_entity_link - entity_link - mixture_link - molecule_link - dropdown - part_link - translation_link - aa_part_link - base_molecule_link - blob_link - text - long_text - batch_link - storage_link - entry_link - assay_request_link - assay_result_link - assay_run_link - boolean - float - integer - datetime - date - json type: string MixtureWithEntityType: allOf: - $ref: '#/components/schemas/Mixture' - properties: entityType: enum: - mixture type: string type: object type: object RequestUpdate: additionalProperties: false allOf: - $ref: '#/components/schemas/RequestWriteBase' - properties: requestStatus: $ref: '#/components/schemas/RequestStatus' ContainerLabels: properties: barcode: example: VIAL001 type: string id: example: cnt_12345 type: string name: example: My Container type: string type: object AaSequenceSummary: properties: entityType: enum: - aa_sequence type: string id: example: prtn_ObbdtGhC type: string type: deprecated: true type: string type: object RequestTask: allOf: - $ref: '#/components/schemas/RequestTaskBase' description: 'A request task. ' properties: schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true title: SchemaProperty type: object DnaSequenceTranscription: properties: end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer sequenceId: description: Linked RNA sequence ID. example: seq_VfVOART1 type: string start: description: 0-based inclusive start index. type: integer strand: example: 1 maximum: 1 minimum: -1 type: integer type: object Batch: additionalProperties: false properties: archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true createdAt: description: DateTime at which the the result was created format: date-time readOnly: true type: string creator: allOf: - $ref: '#/components/schemas/UserSummary' readOnly: true defaultConcentration: $ref: '#/components/schemas/Measurement' entity: discriminator: mapping: aa_sequence: '#/components/schemas/AaSequenceSummary' custom_entity: '#/components/schemas/CustomEntitySummary' dna_sequence: '#/components/schemas/DnaSequenceSummary' propertyName: entityType oneOf: - $ref: '#/components/schemas/DnaSequenceSummary' - $ref: '#/components/schemas/AaSequenceSummary' - $ref: '#/components/schemas/CustomEntitySummary' fields: $ref: '#/components/schemas/Fields' id: example: bat_UOIr8IjL readOnly: true type: string modifiedAt: format: date-time readOnly: true type: string name: type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true readOnly: true title: SchemaProperty webURL: readOnly: true type: string type: object RnaSequenceWithEntityType: allOf: - $ref: '#/components/schemas/RnaSequence' - properties: entityType: enum: - rna_sequence type: string type: object type: object NotFoundError: properties: error: allOf: - $ref: '#/components/schemas/BaseError' - properties: invalidId: type: string type: enum: - invalid_request_error type: string type: object MixtureMeasurementUnits: enum: - nL - uL - mL - L - g - kg - mg - ug - Units example: L nullable: true type: string AaSequence: properties: aliases: description: Array of aliases items: type: string type: array aminoAcids: description: Amino acids of the AA sequence. example: IKTATARRELAETSWTGDRLWGFSDNWAPALRRPSPSALGK type: string annotations: description: Array of annotation objects on the AA sequence. items: $ref: '#/components/schemas/AaAnnotation' type: array apiURL: description: The canonical url of the AA Sequence in the API. example: https://benchling.com/api/v2/aa-sequences/prtn_7nMBOMm0 format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array createdAt: description: DateTime the AA sequence was created. format: date-time readOnly: true type: string creator: $ref: '#/components/schemas/UserSummary' customFields: allOf: - $ref: '#/components/schemas/CustomFields' description: Custom fields set on the AA sequence. entityRegistryId: description: Registry ID of the AA sequence if registered. nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: description: ID of the folder that contains the AA sequence. nullable: true type: string id: description: ID of the AA sequence. example: prtn_ObbdtGhC type: string length: description: Number of amino acids in the AA sequence. type: integer modifiedAt: description: DateTime the AA sequence was last modified. format: date-time readOnly: true type: string name: description: Name of the AA sequence. type: string registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: description: Registry the AA sequence is registered in. nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true url: description: The path of the web URL, omitting the tenant domain type: string webURL: description: URL of the AA sequence. example: https://benchling.com/benchling/f/lib_55UxcIps-registry/prtn_7nMBOMm0-kedchain11/edit" format: uri readOnly: true type: string type: object ExecuteSampleGroups: description: 'The response is intentionally empty. ' type: object CustomEntity: properties: aliases: items: example: sBN000 type: string type: array apiURL: description: The canonical url of the Custom Entity in the API. example: https://benchling.com/api/v2/custom-entities/bfi_xCUXNVyG format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array createdAt: example: '2017-04-18T05:54:56.247545+00:00' format: date-time readOnly: true type: string creator: allOf: - $ref: '#/components/schemas/UserSummary' - readOnly: true customFields: $ref: '#/components/schemas/CustomFields' entityRegistryId: example: sBN000 nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: example: lib_R8KcsjhW nullable: true type: string id: example: bfi_xCUXNVyG type: string modifiedAt: example: '2017-04-18T05:55:48.685345+00:00' format: date-time readOnly: true type: string name: example: sBN000 type: string registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: example: src_NetYd96a nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' example: id: ts_EM122lfJ name: Strain nullable: true url: description: The path of the web URL, omitting the tenant domain type: string webURL: example: https://benchling.com/benchling/f/R8KcsjhW-academic-registry/bfi-xCUXNVyG-sbn000/edit readOnly: true type: string type: object RnaOligoWithEntityType: allOf: - $ref: '#/components/schemas/RnaOligo' - properties: entityType: enum: - rna_oligo type: string type: object type: object TeamSummary: allOf: - type: object - properties: id: type: string name: type: string - example: id: team_5cjIguqc name: Elion's Team AaSequenceWithEntityType: allOf: - $ref: '#/components/schemas/AaSequence' - properties: entityType: enum: - aa_sequence type: string type: object type: object UserValidation: properties: validationComment: description: A string explaining the reason for the provided validation status. type: string validationStatus: description: 'Valid values for this enum depend on whether it is used to set a value (e.g., in a POST request), or is a return value for an existing result. Acceptable values for setting a status are ''VALID'' or ''INVALID''. Possible return values are ''VALID'', ''INVALID'', or ''PARTIALLY_VALID'' (a result will be partially valid if it has some valid fields and some invalid fields). ' enum: - VALID - INVALID - PARTIALLY_VALID type: string type: object RnaSequencePart: allOf: - $ref: '#/components/schemas/NucleotideSequencePart' - properties: strand: example: 1 maximum: 1 minimum: 1 type: integer type: object RequestSampleGroup: properties: id: example: sgrp_YJKtcWV type: string samples: $ref: '#/components/schemas/RequestSampleGroupSamples' type: object CustomEntityWithEntityType: allOf: - $ref: '#/components/schemas/CustomEntity' - properties: entityType: enum: - custom_entity type: string type: object type: object CustomField: properties: value: type: string type: object EntityOrInaccessibleResource: oneOf: - $ref: '#/components/schemas/Entity' - $ref: '#/components/schemas/InaccessibleResource' type: object SequenceFeatureCustomField: description: A name and value pair associated with a sequence feature (annotation or translation). For genbank imports, these are the qualifiers associated with each feature. properties: name: description: Name of the custom field type: string value: description: Value of the custom field type: string type: object Entity: discriminator: mapping: aa_sequence: '#/components/schemas/AaSequenceWithEntityType' custom_entity: '#/components/schemas/CustomEntityWithEntityType' dna_oligo: '#/components/schemas/DnaOligoWithEntityType' dna_sequence: '#/components/schemas/DnaSequenceWithEntityType' mixture: '#/components/schemas/MixtureWithEntityType' molecule: '#/components/schemas/MoleculeWithEntityType' rna_oligo: '#/components/schemas/RnaOligoWithEntityType' rna_sequence: '#/components/schemas/RnaSequenceWithEntityType' propertyName: entityType oneOf: - $ref: '#/components/schemas/DnaSequenceWithEntityType' - $ref: '#/components/schemas/RnaSequenceWithEntityType' - $ref: '#/components/schemas/AaSequenceWithEntityType' - $ref: '#/components/schemas/MixtureWithEntityType' - $ref: '#/components/schemas/DnaOligoWithEntityType' - $ref: '#/components/schemas/RnaOligoWithEntityType' - $ref: '#/components/schemas/MoleculeWithEntityType' - $ref: '#/components/schemas/CustomEntityWithEntityType' type: object AaAnnotation: properties: color: type: string end: description: 0-based exclusive end index. The end of the AA sequence is always represented as 0. type: integer id: example: prtnann_o7zMPG0P type: string name: maxLength: 255 type: string notes: example: Cong et al Science. 2013 Jan 3. maxLength: 10000 type: string start: description: 0-based inclusive start index. type: integer type: example: Site maxLength: 255 type: string type: object SequenceFeatureBase: properties: color: description: Hex color code used when displaying this feature in the UI. example: '#F58A5E' type: string customFields: items: $ref: '#/components/schemas/SequenceFeatureCustomField' maxItems: 100 type: array name: maxLength: 2048 type: string notes: example: Cong et al Science. 2013 Jan 3. maxLength: 10000 type: string type: object RequestWriteTeamAssignee: properties: teamId: example: team_5cjIguqc type: string required: - teamId type: object IngredientMeasurementUnits: enum: - nL - uL - mL - L - mg - g - kg - ug - Units - Cells - mol - mmol - umol example: mL nullable: true type: string RequestTaskBase: allOf: - $ref: '#/components/schemas/RequestTaskBaseFields' description: 'A request task. ' properties: id: description: ID of the Legacy Request Task example: reqtsk_PFHQ8rmb type: string required: - id type: object SampleGroupsStatusUpdate: additionalProperties: false description: Specification to update status of sample groups on the request which were executed. properties: sampleGroups: items: $ref: '#/components/schemas/SampleGroupStatusUpdate' type: array required: - sampleGroups type: object AssayResult: properties: archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' description: 'ArchiveRecord Resource if the result is archived. This is null if the result is not archived. ' nullable: true createdAt: description: DateTime at which the the result was created format: date-time readOnly: true type: string creator: allOf: - $ref: '#/components/schemas/UserSummary' description: UserSummary Resource of who created the request readOnly: true entryId: description: ID of the entry that this result is attached to nullable: true type: string fieldValidation: additionalProperties: $ref: '#/components/schemas/UserValidation' description: 'Object mapping field names to a UserValidation Resource object for that field. To **set** validation for a result, you *must* use this object. ' type: object fields: allOf: - $ref: '#/components/schemas/Fields' description: 'Field values for the returned result. Please note the keys of each field are the field''s system name (additional_prop) instead of the field''s display name (additionalProp). ' example: - additional_prop: null displayValue: Amp isMulti: true textValue: Amp type: dna_sequence_link value: - seq_jdf8BV24 id: description: ID of the result type: string isReviewed: description: Whether or not this result is attached to an accepted entry type: boolean modifiedAt: description: DateTime at which the the result was last modified format: date-time readOnly: true type: string projectId: description: ID of the project to insert the result into nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' description: Schema that the result belongs to title: SchemaProperty v3Id: description: V3 identifier for the result readOnly: true type: string validationComment: readOnly: true type: string validationStatus: readOnly: true type: string type: object CustomEntitySummary: properties: entityType: enum: - custom_entity type: string id: example: bfi_xCUXNVyG type: string type: deprecated: true type: string type: object RequestSampleGroupSamples: additionalProperties: oneOf: - $ref: '#/components/schemas/RequestSampleWithEntity' - $ref: '#/components/schemas/RequestSampleWithBatch' description: 'The key for each (Legacy) RequestSample should match one of the samplesSchema[n].name property in the request schema json. ' example: Batch Example: batchId: bat_XK0UnLyk Entity Example: containerId: ctn_urUAEBq entityId: seq_nDtxYEs type: object RequestSampleWithEntity: properties: containerId: example: ctn_urUAEBq type: string entityId: example: seq_nDtxYEs type: string required: - entityId type: object RnaSequence: properties: aliases: items: type: string type: array alignmentIds: description: API IDs of Nucleotide Alignments involving the RNA sequence items: type: string type: array annotations: items: $ref: '#/components/schemas/RnaAnnotation' type: array apiURL: description: The canonical url of the RNA Sequence in the API. example: https://benchling.com/api/v2/rna-sequences/seq_asZya4lk format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array bases: type: string createdAt: format: date-time readOnly: true type: string creator: $ref: '#/components/schemas/UserSummary' customFields: $ref: '#/components/schemas/CustomFields' customNotation: description: Representation of the RNA Sequence in the custom notation specified in the request. Null if no notation was specified. nullable: true type: string customNotationName: description: Name of the custom notation specified in the request. Null if no notation was specified. nullable: true type: string entityRegistryId: nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: nullable: true type: string helm: description: Representation of the RNA Sequence in HELM syntax, including any chemical modifications. example: RNA1{r(A)p.r(C)[Ssp].r(U)p.r(U)p.r(U)p.r(U)p.r(U)p}$$$$V2.0 nullable: true type: string id: type: string isCircular: example: false type: boolean length: type: integer modifiedAt: format: date-time readOnly: true type: string name: type: string parts: items: $ref: '#/components/schemas/RnaSequencePart' type: array primers: items: $ref: '#/components/schemas/Primer' type: array registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true translations: items: $ref: '#/components/schemas/Translation' type: array url: description: The path of the web URL, omitting the tenant domain type: string webURL: readOnly: true type: string type: object RequestResponse: properties: results: items: $ref: '#/components/schemas/AssayResult' type: array samples: description: Array of samples produced by the Legacy Request. items: properties: batch: allOf: - $ref: '#/components/schemas/RequestResponseSamplesItemBatch' description: The sample, if it is a batch resource. Null otherwise. nullable: true entity: allOf: - $ref: '#/components/schemas/RequestResponseSamplesItemEntity' description: The sample, if it is an entity resource. Null otherwise. nullable: true status: description: The status of the sample, based on the status of the stage run that generated it. enum: - COMPLETED - DISCARDED type: string type: object type: array type: object RequestCreate: additionalProperties: false allOf: - $ref: '#/components/schemas/RequestWriteBase' - properties: schemaId: description: ID of the Legacy Request's schema. example: assaysch_3IF58QOf type: string writeOnly: true required: - schemaId - fields - samples - sampleGroups - projectId RnaAnnotation: allOf: - $ref: '#/components/schemas/SequenceFeatureBase' - properties: end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer start: description: 0-based inclusive start index. type: integer strand: example: 1 maximum: 1 minimum: 0 type: integer type: type: string type: object RequestTasksBulkCreate: allOf: - $ref: '#/components/schemas/RequestTaskBaseFields' properties: schemaId: description: The schema id of the Legacy Request Task to create example: reqtsksch_XHu79QRw type: string required: - schemaId type: object DnaSequence: properties: aliases: items: type: string type: array annotations: items: $ref: '#/components/schemas/DnaAnnotation' type: array apiURL: description: The canonical url of the DNA Sequence in the API. example: https://benchling.com/api/v2/dna-sequences/seq_asQya4lk format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array bases: type: string createdAt: format: date-time readOnly: true type: string creator: $ref: '#/components/schemas/UserSummary' customFields: $ref: '#/components/schemas/CustomFields' dnaAlignmentIds: description: API IDs of Nucleotide Alignments involving the RNA sequence items: type: string type: array entityRegistryId: nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: nullable: true type: string id: type: string isCircular: type: boolean length: type: integer modifiedAt: format: date-time readOnly: true type: string name: type: string parts: items: $ref: '#/components/schemas/DnaSequencePart' type: array primers: items: $ref: '#/components/schemas/Primer' type: array registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true transcriptions: items: $ref: '#/components/schemas/DnaSequenceTranscription' type: array translations: items: $ref: '#/components/schemas/Translation' type: array url: description: The path of the web URL, omitting the tenant domain type: string webURL: readOnly: true type: string type: object RequestsBulkGet: properties: requests: items: $ref: '#/components/schemas/Request' type: array type: object SchemaSummary: properties: id: type: string name: type: string type: object RequestFulfillment: description: 'A Legacy Request fulfillment represents work that is done which changes the status of a request or a sample group within that request. Fulfillments are created when state changes between IN_PROGRESS, COMPLETED, or FAILED statuses. Fulfillments do not capture a PENDING state because all Legacy Requests or Legacy Request Sample Groups are considered PENDING until the first corresponding fulfillment is created. ' properties: createdAt: description: Date and time the Legacy Request Fulfillment was created format: date-time type: string entryId: description: ID of the entry this Legacy Request Fulfillment was executed in, if any example: etr_IKwdYx31 type: string id: description: ID of the Legacy Request Fulfillment example: reqffm_8Hm71Usw type: string modifiedAt: description: DateTime the Legacy Request Fulfillment was last modified format: date-time readOnly: true type: string requestId: description: ID of the Legacy Request this fulfillment fulfills example: req_pu9caSiv type: string sampleGroup: allOf: - $ref: '#/components/schemas/SampleGroup' description: The Legacy Request Sample Group this fulfillment was executed upon, if any. nullable: true status: $ref: '#/components/schemas/SampleGroupStatus' type: object Molecule: additionalProperties: false properties: aliases: description: Array of aliases. items: type: string type: array apiURL: description: The canonical url of the Molecule in the API. format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array canonicalizedSmiles: description: The canonicalized chemical structure in SMILES format. example: Nc1nc(=O)n([H])cc1C1CC1 type: string createdAt: description: DateTime the Molecule was created. format: date-time readOnly: true type: string creator: $ref: '#/components/schemas/UserSummary' customFields: allOf: - $ref: '#/components/schemas/CustomFields' description: Custom fields set on the Molecule. entityRegistryId: description: Registry ID of the Molecule if registered. nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: description: ID of the folder that contains the Molecule. nullable: true type: string id: description: ID of the Molecule. example: mol_bhuDUw9D type: string modifiedAt: description: DateTime the Molecule was last modified. format: date-time readOnly: true type: string name: description: Name of the Molecule. type: string originalSmiles: description: The original chemical structure supplied by the user in SMILES format. Null if the user did not originally supply SMILES. example: Nc1nc(=O)n([H])cc1C1CC1 nullable: true type: string registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: description: Registry the Molecule is registered in. nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true webURL: description: URL of the Molecule. example: https://benchling.com/benchling/f/lib_R8KcsjhW-molecules/mol_xCUXNVyG-molecule1/edit format: uri readOnly: true type: string type: object RequestBase: description: A Legacy Request is an ask to perform a service, e.g. produce a sample or perform assays on a sample. Requests are usually placed to another team or individual who specializes in performing the service. type: object DnaSequenceWithEntityType: allOf: - $ref: '#/components/schemas/DnaSequence' - properties: entityType: enum: - dna_sequence type: string type: object type: object RequestTaskBaseFields: description: 'Shared fields for Legacy Request Tasks and related endpoints. ' properties: fields: allOf: - $ref: '#/components/schemas/Fields' description: 'Schema fields to set on the request task. Every field should have its name as a key, mapping to an object with information about the value of the field. ' sampleGroupIds: description: IDs of all Legacy Request Sample Groups now associated with this task. items: type: string type: array type: object Fields: additionalProperties: $ref: '#/components/schemas/Field' type: object SampleGroupStatus: description: Status of a sample group enum: - IN_PROGRESS - COMPLETED - FAILED type: string Measurement: properties: units: description: Can only be null if value is also null nullable: true type: string value: description: Can only be null if units is also null nullable: true type: number required: - value - units type: object NucleotideSequencePart: properties: end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer sequenceId: example: seq_VfVOART1 type: string start: description: 0-based inclusive start index. type: integer type: object DnaOligoWithEntityType: allOf: - $ref: '#/components/schemas/DnaOligo' - properties: entityType: enum: - dna_oligo type: string type: object type: object BaseError: properties: message: type: string type: type: string userMessage: type: string type: object RnaOligo: allOf: - $ref: '#/components/schemas/Oligo' - properties: annotations: description: Annotations on the Oligo. items: $ref: '#/components/schemas/RnaAnnotation' type: array apiURL: example: https://benchling.com/api/v2/rna-oligos/seq_bhuDUw9D type: string bases: example: ACUUUUU type: string customNotation: description: Representation of the oligo in the custom notation specified in the request. Null if no notation was specified. nullable: true type: string customNotationName: description: Name of the custom notation specified in the request. Null if no notation was specified. nullable: true type: string helm: description: Representation of the oligo in HELM syntax, including any chemical modifications example: RNA1{r(A)p.r(C)[Ssp].r(U)p.r(U)p.r(U)p.r(U)p.r(U)p}$$$$V2.0 type: string nucleotideType: example: RNA type: string BadRequestErrorBulk: allOf: - $ref: '#/components/schemas/BadRequestError' - properties: error: properties: errors: items: properties: index: type: number message: type: string type: object type: array type: object type: object RequestFulfillmentsPaginatedList: description: An object containing an array of (Legacy) RequestFulfillments properties: nextToken: example: Im5ldyB0ZXN0Ig== type: string requestFulfillments: items: $ref: '#/components/schemas/RequestFulfillment' type: array type: object MoleculeWithEntityType: allOf: - $ref: '#/components/schemas/Molecule' - properties: entityType: enum: - molecule type: string type: object type: object RequestsPaginatedList: allOf: - $ref: '#/components/schemas/RequestsBulkGet' - properties: nextToken: type: string RequestTasksBulkCreateResponse: properties: tasks: description: The created Legacy Request Tasks items: $ref: '#/components/schemas/RequestTask' type: array type: object PartySummary: properties: handle: type: string id: type: string name: type: string type: object DnaSequencePart: allOf: - $ref: '#/components/schemas/NucleotideSequencePart' - properties: strand: example: 1 maximum: 1 minimum: -1 type: integer type: object RequestResponseSamplesItemEntity: allOf: - $ref: '#/components/schemas/EntityOrInaccessibleResource' CustomFields: additionalProperties: $ref: '#/components/schemas/CustomField' example: Legacy ID: value: STR100 type: object SampleGroupStatusUpdate: properties: sampleGroupId: description: The string id of the sample group example: sgrp_2GPCXk6 type: string status: $ref: '#/components/schemas/SampleGroupStatus' required: - sampleGroupId - status type: object RequestTasksBulkCreateRequest: additionalProperties: false properties: tasks: description: The Legacy Request Tasks to create items: $ref: '#/components/schemas/RequestTasksBulkCreate' maxItems: 100 type: array required: - tasks type: object RequestTasksBulkUpdateRequest: additionalProperties: false description: 'A request body for bulk updating Legacy Request Tasks. ' properties: tasks: description: The Legacy Request Tasks to update items: $ref: '#/components/schemas/RequestTaskBase' type: array required: - tasks type: object InaccessibleResource: additionalProperties: false properties: inaccessibleId: type: string resourceType: enum: - inaccessible_resource type: string type: description: 'The type of this inaccessible item. Example values: "custom_entity", "container", "plate", "dna_sequence" ' example: custom_entity type: string type: object EntityLabels: properties: entityRegistryId: example: REAG000 nullable: true type: string id: example: bfi_12345 type: string name: example: Deionized Water type: string type: object RequestTasksBulkUpdateResponse: properties: tasks: description: The Legacy Request Tasks to update items: $ref: '#/components/schemas/RequestTask' type: array type: object RequestUserAssignee: properties: user: $ref: '#/components/schemas/UserSummary' type: object RequestSampleWithBatch: properties: batchId: example: bat_XK0UnLyk type: string containerId: example: ctn_urUAEBq type: string required: - batchId type: object BadRequestError: properties: error: allOf: - $ref: '#/components/schemas/BaseError' - properties: type: enum: - invalid_request_error type: string type: object DnaAnnotation: allOf: - $ref: '#/components/schemas/SequenceFeatureBase' - properties: end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer start: description: 0-based inclusive start index. type: integer strand: maximum: 1 minimum: -1 type: integer type: type: string type: object RequestStatus: enum: - REQUESTED - SCHEDULED - IN_PROGRESS - COMPLETED - CANCELLED type: string DnaOligo: allOf: - $ref: '#/components/schemas/Oligo' - properties: annotations: description: Annotations on the Oligo. items: $ref: '#/components/schemas/DnaAnnotation' type: array apiURL: example: https://benchling.com/api/v2/dna-oligos/seq_bhuDUw9D type: string bases: example: ACTTTTT type: string customNotation: description: Representation of the oligo in the custom notation specified in the request. Null if no notation was specified. nullable: true type: string customNotationName: description: Name of the custom notation specified in the request. Null if no notation was specified. nullable: true type: string helm: description: Representation of the oligo in HELM syntax, including any chemical modifications example: RNA1{d(A)p.d(C)[Ssp].d(T)p.d(T)p.d(T)p.d(T)p.d(T)p}$$$$V2.0 type: string UserSummary: allOf: - $ref: '#/components/schemas/PartySummary' - example: handle: lpasteur id: ent_a0SApq3z name: Louis Pasteur Mixture: properties: aliases: items: example: FRM000 type: string type: array allowMeasuredIngredients: description: Derived from the mixture's schema. readOnly: true type: boolean amount: description: The positive numerical amount value of this mixture in string format (to preserve full precision). Pair with `units`. Supports scientific notation (1.23e4). example: '123' type: string apiURL: description: The canonical url of the Mixture in the API. example: https://benchling.com/api/v2/mixtures/mxt_xCUXNVyG format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array createdAt: example: '2017-04-18T05:54:56.247545+00:00' format: date-time readOnly: true type: string creator: allOf: - $ref: '#/components/schemas/UserSummary' - readOnly: true customFields: $ref: '#/components/schemas/CustomFields' entityRegistryId: example: FRM000 nullable: true type: string fields: allOf: - $ref: '#/components/schemas/Fields' description: Mixtures can have up to one parent mixture field. folderId: example: lib_R8KcsjhW nullable: true type: string id: example: mxt_xCUXNVyG type: string ingredients: description: List of ingredients on this mixture. items: $ref: '#/components/schemas/Ingredient' type: array modifiedAt: example: '2017-04-18T05:55:48.685345+00:00' format: date-time readOnly: true type: string name: example: FRM000 type: string registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: example: src_NetYd96a nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' example: id: ts_EM122lfJ name: Prep units: $ref: '#/components/schemas/MixtureMeasurementUnits' webURL: example: https://benchling.com/benchling/f/R8KcsjhW-academic-registry/mxt-xCUXNVyG-sbn000/edit readOnly: true type: string type: object DnaSequenceSummary: properties: entityType: enum: - dna_sequence type: string id: example: seq_ObbdtGhC type: string type: deprecated: true type: string type: object Translation: allOf: - $ref: '#/components/schemas/SequenceFeatureBase' - properties: aminoAcids: readOnly: true type: string coerceStartCodonToMethionine: default: false description: Whether to override the translation of the start codon to Methionine. Has no effect when the start codon already translates to Methionine. type: boolean end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer geneticCode: default: STANDARD description: The genetic code to use when translating the nucleotide sequence into amino acids. enum: - STANDARD - VERTEBRATE_MITOCHONDRIAL - YEAST_MITOCHONDRIAL - MOLD_PROTOZOAN_COELENTERATE_MITOCHONDRIAL_MYCOPLASMA_SPIROPLASMA - INVERTEBRATE_MITOCHONDRIAL - CILIATE_DASYCLADACEAN_HEXAMITA_NUCLEAR - ECHINODERM_FLATWORM_MITOCHONDRIAL - EUPLOTID_NUCLEAR - BACTERIAL_ARCHAEAL_PLANT_PLASTID - ALTERNATIVE_YEAST_NUCLEAR - ASCIDIAN_MITOCHONDRIAL - ALTERNATIVE_FLATWORM_MITOCHONDRIAL - CHLOROPHYCEAN_MITOCHONDRIAL - TREMATODE_MITOCHONDRIAL - SCENEDESMUS_OBLIQUUS_MITOCHONDRIAL - THRAUSTOCHYTRIUM_MITOCHONDRIAL - RHABDOPLEURIDAE_MITOCHONDRIAL - CANDIDATE_DIVISION_SR1_GRACILIBACTERIA - PACHYSOLEN_TANNOPHILUS_NUCLEAR - MESODINIUM_NUCLEAR - PERITRICH_NUCLEAR - CEPHALODISCIDAE_MITOCHONDRIAL_UAA_TYR type: string regions: items: properties: end: description: 0-based exclusive end index. The end of the sequence is always represented as 0. type: integer start: description: 0-based inclusive start index. type: integer type: object type: array start: description: 0-based inclusive start index. type: integer strand: example: 1 type: integer type: object Field: properties: displayValue: nullable: true readOnly: true type: string isMulti: readOnly: true type: boolean textValue: example: Amp nullable: true readOnly: true type: string type: allOf: - $ref: '#/components/schemas/FieldType' readOnly: true value: description: 'For single link fields, use the id of the item you want to link (eg. "seq_jdf8BV24"). For multi-link fields, use an array of ids of the items you want to link (eg. ["seq_jdf8BV24"]) ' nullable: true oneOf: - type: string - type: boolean - type: number - type: object - items: type: string type: array required: - value type: object RequestTeamAssignee: properties: team: $ref: '#/components/schemas/TeamSummary' type: object SampleGroup: description: Represents a sample group that is an input to a request. A sample group is a set of samples upon which work in the request should be done. properties: id: type: string samples: type: object type: object RequestWriteBase: allOf: - $ref: '#/components/schemas/RequestBase' - properties: assignees: description: Array of assignees items: oneOf: - $ref: '#/components/schemas/RequestWriteUserAssignee' - $ref: '#/components/schemas/RequestWriteTeamAssignee' type: array writeOnly: true fields: allOf: - $ref: '#/components/schemas/Fields' description: The Legacy Request's fields projectId: description: The ID of the project to which the Legacy Request belongs. example: src_29pt8Ida type: string requestorId: description: 'ID of the user making the Legacy Request. If unspecified, the requestor is the request creator. ' example: ent_a0SApq3z nullable: true type: string writeOnly: true sampleGroups: items: $ref: '#/components/schemas/RequestSampleGroupCreate' type: array scheduledOn: description: Date the Legacy Request is scheduled to be executed on, in YYYY-MM-DD format. example: 2019-09-12 format: date type: string writeOnly: true BatchOrInaccessibleResource: oneOf: - $ref: '#/components/schemas/Batch' - $ref: '#/components/schemas/InaccessibleResource' Oligo: discriminator: mapping: DNA: DnaOligo RNA: RnaOligo propertyName: nucleotideType properties: aliases: description: Array of aliases items: type: string type: array apiURL: description: The canonical url of the Oligo in the API. format: uri readOnly: true type: string archiveRecord: allOf: - $ref: '#/components/schemas/ArchiveRecord' nullable: true authors: items: $ref: '#/components/schemas/UserSummary' type: array bases: description: Base pairs of the Oligo. example: ACTTTTT type: string createdAt: description: DateTime the Oligo was created. format: date-time readOnly: true type: string creator: $ref: '#/components/schemas/UserSummary' customFields: allOf: - $ref: '#/components/schemas/CustomFields' description: Custom fields set on the Oligo. entityRegistryId: description: Registry ID of the Oligo if registered. nullable: true type: string fields: $ref: '#/components/schemas/Fields' folderId: description: ID of the folder that contains the Oligo. nullable: true type: string id: description: ID of the Oligo. example: seq_bhuDUw9D type: string length: description: Number of bases in the Oligo. type: integer modifiedAt: description: DateTime the Oligo was last modified. format: date-time readOnly: true type: string name: description: Name of the Oligo. type: string nucleotideType: description: Nucleotide type of the Oligo. enum: - DNA - RNA type: string registrationOrigin: allOf: - $ref: '#/components/schemas/RegistrationOrigin' nullable: true readOnly: true registryId: description: Registry the Oligo is registered in. nullable: true type: string schema: allOf: - $ref: '#/components/schemas/SchemaSummary' nullable: true webURL: description: URL of the Oligo. example: https://benchling.com/benchling/f/lib_hBHqKbzE-oligos/seq_bhuDUw9D-test-oligo-abc/edit format: uri readOnly: true type: string type: object RegistrationOrigin: properties: originEntryId: nullable: true readOnly: true type: string registeredAt: format: date-time readOnly: true type: string type: object RequestResponseSamplesItemBatch: allOf: - $ref: '#/components/schemas/BatchOrInaccessibleResource' RequestWriteUserAssignee: properties: userId: example: ent_a0SApq3z type: string required: - userId type: object Ingredient: properties: amount: description: 'The amount value of this ingredient in its mixture, in string format (to preserve full precision). Pair with `units`. Supports scientific notation (1.23e4). One ingredient on this mixture can have an amount value of `"QS"`. ' example: '12' nullable: true type: string catalogIdentifier: example: DION_004 nullable: true type: string componentEntity: allOf: - $ref: '#/components/schemas/EntityLabels' - description: The entity that uniquely identifies this component. componentLotContainer: allOf: - $ref: '#/components/schemas/ContainerLabels' description: The container representing the component lot for this ingredient. This is only present if the mixture schema supports component lots in "inventory" format. nullable: true componentLotEntity: allOf: - $ref: '#/components/schemas/EntityLabels' description: The entity representing the component lot for this ingredient. This is only present if the mixture schema supports component lots in "inventory" format. nullable: true componentLotText: description: Text representing the component lot for this ingredient. This is only present if the mixture schema supports component lots in "text" format. example: DION_004-source_001 nullable: true type: string hasParent: type: boolean notes: nullable: true type: string targetAmount: description: The target amount for this ingredient such that this ingredient's proportion in its mixture would preserve the equivalent ingredient's proportion in the parent mixture. Pair with `units`. example: '123' nullable: true readOnly: true type: string units: $ref: '#/components/schemas/IngredientMeasurementUnits' type: object securitySchemes: basicApiKeyAuth: description: Use issued API key for standard access to the API scheme: basic type: http basicClientIdSecretAuth: description: Auth used as part of client credentials OAuth flow prior to receiving a bearer token. scheme: basic type: http oAuth: description: OAuth2 Client Credentials flow intended for service access flows: clientCredentials: scopes: {} tokenUrl: /api/v2/token type: oauth2 externalDocs: description: Additional API Documentation url: https://docs.benchling.com