Skip to navigation

Bulk update AaSequenceSchema

Asynchronously create or update amino acid sequence schemas. The response contains an async task link; poll the task for per-item results.

Bulk input file

  • Upload bulk JSONL to a scratch file (scrfile_…), then set fileId on the bulk request to that scratch file’s API ID. Each JSONL line must be {"request_id": "<unique-id>", "input_object": { … }} with camelCase keys in input_object.
  • After creating a scratch file, PUT file bytes to the returned uploadUrl with the header x-amz-server-side-encryption: AES256. Without this header, S3 returns 403 SignatureDoesNotMatch.
  • Finalize the upload by setting the scratch file’s uploadStatus to SUCCEEDED before starting the bulk task.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
fileIdstringRequired

The API ID of the scratch file (scrfile_XXXXXXXX) containing the items to import. The referenced file must be a scratch file whose upload has completed successfully.

reasonForChangeobjectOptional

Reason for change applied to the entire request. Only relevant to tenants with Data Modifications enabled, where it may be required to update or delete items and is validated against the tenant’s configured reasons. Tenants without Data Modifications enabled can omit it; if supplied, it is not validated.

Response

Task started
pollingUristringOptionalformat: "uri"
taskIdstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error