Skip to main content
POST
/
api
/
v1
/
sequences
Add sequences to experiment
curl --request POST \
  --url https://foundry-api-public.adaptyvbio.com/api/v1/sequences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "experiment_code": "<string>",
  "sequences": [
    {
      "aa_string": "EVQLVESGGGLVQPGGSLRLSCAAS",
      "control": true,
      "customer_preferences": "<unknown>",
      "metadata": "<unknown>",
      "name": "mAb1"
    }
  ]
}
'
{
  "added_count": 1,
  "experiment_code": "<string>",
  "experiment_id": "<string>",
  "sequence_ids": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for adding sequences to a draft experiment.

Identifies the target experiment by its human-readable code (e.g., "PROJ-001") rather than UUID. The experiment must be in Draft status; appending sequences to confirmed experiments returns 409 Conflict.

experiment_code
string
required

Human-readable experiment code (e.g., "PROJ-001")

sequences
object[]
required

Sequences to append to the experiment

Response

Successfully added sequences to experiment

Response after successfully adding sequences to an experiment.

added_count
integer<int32>
required

Number of sequences added

Required range: x >= 0
experiment_code
string
required

Human-readable experiment code

experiment_id
string
required

UUID of the experiment

sequence_ids
string[]
required

UUIDs of the newly created sequences