Register an antigen for use in complex predictions.
The antigen is scoped to a project owned by the caller’s org. Sequence
is validated server-side: 10–800 canonical amino acids. Shorter or
longer inputs, or sequences with non-canonical characters, return
400 invalid_request.
Plan gate. None — registering antigens is free. Plan gates apply
at submit time (POST /v1/complex-predictions requires the Complete
plan or above).
Cost: write — burns rate + quota. Does not debit credits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body for POST /v1/antigens.
Project the antigen belongs to. Must be owned by the caller's org.
"7b4a3c0f-2e6d-4c7a-9e8f-1d3b5a2c4e6f"
Short human label (e.g. HER2 ECD). Shown in dashboards and logs.
1 - 120"HER2 ECD"
Target protein sequence, 10–800 canonical amino acids. Submit only the domain you want to dock (e.g. the ECD), not the full-length protein — Boltz-2 runtime scales superlinearly with sequence length.
"EVQLVESGGGLVQPGGSLRLSCAASGFN..."
Optional freeform note shown alongside the antigen.
Successful Response
An antigen target registered under a project.
Opaque antigen identifier (UUID).
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Project this antigen belongs to.
"7b4a3c0f-2e6d-4c7a-9e8f-1d3b5a2c4e6f"
Echo of the caller's name.
Canonical-AA sequence supplied at create time.
ISO-8601 timestamp (UTC) when the antigen was registered.
Polymorphic discriminator. Always antigen.
"antigen"Echo of the caller's description, if any.