Batch Screening

Screen large batches of molecules using our high-throughput retrosynthesis

A high-throughput screening campaign for large-scale chemical libraries can be achieved through submitting batches of Retrosynthesis jobs with shared parameters. Pending AI offers batch sizes of up to 100000 jobs which can be created and then appended to with additional API requests. Batch progress can be tracked with live updates to the number of completed jobs and a high-level screening overview can be retrieved.

Batch synthesis jobs impact the overall queue size for a given engine. Larger batches may lead to a longer wait time for it to complete. Additional metadata data can also be added to the batch submission to help distinguish results beyond an arbitrary batch id field.

See herearrow-up-right for more information on our Retrosynthesis capability.

List batches

get

Retrieve a list of batches.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Query parameters
created-beforeany ofOptional

A pagination field for looking up items in the previous page of results from this resource id. Use the first item in the data field of the previous response.

Example: bat_32ALvrkANBUzVixmK2J2BrApeyc
string · min: 1 · max: 255OptionalPattern: ^\w+$
or
nullOptional
created-afterany ofOptional

A pagination field for looking up items in the next page of results from this resource id. Use the final item in the data field of the previous response.

Example: bat_32ALvrkANBUzVixmK2J2BrApeyc
string · min: 1 · max: 255OptionalPattern: ^\w+$
or
nullOptional
sizeinteger · min: 1 · max: 100Optional

Limit the number of results in the data field of the returned list. The number of items in the page can be fewer than the requested value.

Default: 50Example: 50
Responses
get
/batches

Create a batch

post

Create a new batch of retrosynthesis jobs. Individual jobs are provided as a collection of molecules and share a set of parameters options for each.

  • Provide additional metadata to tag and identify the batch.

  • The batch size limit is 10000 jobs, although for requests that timeout or fail can be updated with jobs after creation.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Body

Request data for creating a new batch.

descriptionany ofOptional

An optional name for the batch. The name provides a human- readable identifier for the batch and is not required to be unique.

string · max: 2048Optional
or
nullOptional
filenameany ofOptional

An optional filename to help identify the batch and ideal for when a batch is submitted via file.

string · max: 2048Optional
or
nullOptional
nameany ofOptional

An optional name for the batch. The name provides a human- readable identifier for the batch and is not required to be unique.

string · max: 128Optional
or
nullOptional
smilesstring[] · min: 1 · max: 100000Required

A collection of target molecules in a SMILES format to perform retrosynthesis on. Each structure is submitted as an individual job and queued separately.

NOTE: Duplicate structures are removed automatically.

Example: ["CC(=O)OCC","CCN(CC)CC"]
Responses
post
/batches

Retrieve a batch

get

Retrieve a batch with attached metadata and job parameters.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Path parameters
batch_idstring · min: 1 · max: 255Required

A unique identifier for a batch resource.

Example: bat_32ALvrkANBUzVixmK2J2BrApeycPattern: ^\w+$
Responses
get
/batches/{batch_id}

Update a batch

put

Update a batch resource with more retrosynthesis jobs. The added jobs are queued but must not exceed the total batch limit for a batch resource.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Path parameters
batch_idstring · min: 1 · max: 255Required

A unique identifier for a batch resource.

Example: bat_32ALvrkANBUzVixmK2J2BrApeycPattern: ^\w+$
Body

Request data for updating an existing batch.

smilesstring[] · min: 1 · max: 100000Required

A collection of target molecules in a SMILES format to perform retrosynthesis on. Each structure is submitted as an individual job and queued separately.

NOTE: Duplicate structures are removed automatically.

Example: ["CC(=O)OCC","CCN(CC)CC"]
Responses
put
/batches/{batch_id}

Delete a batch

delete

Delete a batch resource and all attached retrosynthesis jobs. When the request is made for a batch currently being processed, all queued jobs are cancelled.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Path parameters
batch_idstring · min: 1 · max: 255Required

A unique identifier for a batch resource.

Example: bat_32ALvrkANBUzVixmK2J2BrApeycPattern: ^\w+$
Responses
delete
/batches/{batch_id}

Retrieve a batch result

get

Retrieve the collection of results from retrosynthesis jobs in the batch. The list contains information about the individual job ids used for retrieving synthetic routes and whether the molecules were synthesizable.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Path parameters
batch_idstring · min: 1 · max: 255Required

A unique identifier for a batch resource.

Example: bat_32ALvrkANBUzVixmK2J2BrApeycPattern: ^\w+$
Header parameters
accept-encodingany ofOptional

Providing this header and the value gzip yields results from the endpoint as gzipped plaintext with a base64 encoding.

const: gzipOptional
or
nullOptional
Responses
get
/batches/{batch_id}/result

Retrieve a batch status

get

Retrieve the current status of a batch. The batch status relies on the individual status of all retrosynthesis jobs and can take longer to process. Poll the route with spaced requests compared to the individual retrosynthesis jobs.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2implicitRequired

OAuth2 authentication.

Authorization URL: Refresh URL:
AuthorizationstringRequired

Provide a valid Pending AI authentication token. Generating tokens can be done through the Pending AI CLI. Ensure you have an existing account or register for a new one.

pending auth login
pendingai auth token
Path parameters
batch_idstring · min: 1 · max: 255Required

A unique identifier for a batch resource.

Example: bat_32ALvrkANBUzVixmK2J2BrApeycPattern: ^\w+$
Responses
get
/batches/{batch_id}/status

Last updated

Was this helpful?