openapi: 3.0.1 info: license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html title: Benchling AA Sequences Instrument Queries 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: Instrument Queries are used to query the instrument service. name: Instrument Queries paths: /instruments/{instrument_query_id}/query: get: description: Get an instrument query operationId: getInstrumentQuery parameters: - description: The instrument query ID in: path name: instrument_query_id required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/InstrumentQuery' 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: Get an instrument query tags: - Instrument Queries components: schemas: BadRequestError: properties: error: allOf: - $ref: '#/components/schemas/BaseError' - properties: type: enum: - invalid_request_error type: string type: object InstrumentQuery: properties: command: description: The command used in the query type: string connectionId: description: The connection queried type: string createdAt: description: The time the query was created format: date-time type: string id: description: The ID of the instrument query type: string info: description: Additional information about the query type: string params: description: Parameters used in the query type: object status: description: Status of the query type: string values: description: Values returned by the query type: object type: object BaseError: properties: message: type: string type: type: string userMessage: type: string type: object NotFoundError: properties: error: allOf: - $ref: '#/components/schemas/BaseError' - properties: invalidId: type: string type: enum: - invalid_request_error type: string 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