Skip to main content
POST
Queue inference items

Authorizations

Authorization
string
header
required

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

Body

application/json
endpoint
enum<string>
required

The inference endpoint to run.

Available options:
fold_max_accuracy,
design_binder,
fold,
fold_all_atom
payload
(FoldMaxAccuracyRequest · object | DesignBinderRequest · object | FoldRequest · object | FoldAllAtomRequest · object)[]
required

One or more inputs, which must match the endpoint. Payload length times repeat must not exceed 10 for fold_max_accuracy, or 256 for design_binder.

Required array length: 1 - 2000 elements

One maximum-accuracy folding input. The service generates its own MSA; caller-supplied MSAs and folding recipe parameters are not supported.

Example:
submission_id
string<uuid>

Optional lowercase UUIDv4 used as the durable batch ID. Available to API-key callers on all supported batch endpoints and models. Session callers cannot set this field. A delegation-token caller can set it on a one-item fold batch, must set it on a design_binder batch and on a fold batch with more than one item, and cannot set it on a fold_all_atom or fold_max_accuracy batch. An exact replay by the same user returns the existing batch without queuing work again, even if the original batch failed. The digest covers endpoint, payload, repeat, effective x-disable-cache, effective x-fold-profile, and the server's queue scope. Cache disabling is true only for header values 'true' or 'True'; the fold profile is 'dev' or 'prod' for internal callers and null otherwise. Object keys are sorted recursively; array order is preserved. Keep the request and effective execution settings unchanged for a replay. A conflicting owner or digest returns 409. This field does not select a routing destination; a replay preserves the original routing and does not consume additional task quota. Omit this field for a new random batch ID.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
repeat
integer
default:1

Run each input this many times. Payload length times repeat must not exceed 10 for fold_max_accuracy, or 256 for design_binder. A design trajectory offsets its seed by the item index, so repeat 16 gives 16 different binders rather than 16 copies of one.

Required range: 1 <= x <= 2000

Response

The inputs were queued or an existing submission was replayed; inference has not necessarily completed.

Every Batch API route answers with this envelope. A failure carries message instead of data.

status
string
Allowed value: "success"
data
object
request_id
string