Submit an ImmuneBuilder structure prediction against a variant.
Returns 202 Accepted with status=pending; poll
GET /v1/structure-predictions/{id} until terminal.
Plan gate. Structure prediction requires the Structure plan or
above; lower plans receive 402 plan_upgrade_required.
Credits. Structure prediction costs 2 credits per submission,
debited against the caller’s organization balance. Insufficient
credits surface as 402 insufficient_credits.
Cost: write — burns rate + quota, and debits credits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body for POST /v1/structure-predictions.
UUID of the variant to predict a structure for. Must belong to the caller's org. scFv and Fc-fusion constructs are not supported — those return status=failed from the executor.
"11112222-3333-4444-5555-666677778888"
Successful Response
Structure prediction job envelope — pipeline status + typed result.
Opaque structure-prediction identifier (UUID).
"aaaa1111-bbbb-2222-cccc-333344445555"
Lifecycle state. pending → running → completed | failed. canceled is terminal and only reachable via POST /v1/structure-predictions/{id}/cancel on a still-pending job.
pending, running, completed, failed, canceled "pending"
ISO-8601 timestamp (UTC) when the job was submitted.
"2026-04-22T14:15:00+00:00"
Credits debited at submission for this job type.
2
Echo of the caller's submit body.
Polymorphic discriminator. Always structure_prediction.
"structure_prediction"ISO-8601 timestamp when execution started. null while pending.
ISO-8601 timestamp when the job completed successfully.
ISO-8601 timestamp when the job failed. null unless status=failed.
ISO-8601 timestamp when the job was canceled. null unless status=canceled.
Populated only when status=failed. Same shape as problem+json.
Structure-prediction output. null until status=completed.