Skip to navigation

Bulk create 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.

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