Skip to main content
GET
/
api
/
v1
/
alignments
/
{id}
GET alignments
curl --request GET \
  --url https://api.example.com/api/v1/alignments/{id}
{
  "$uri": "/api/v1/alignments/a1b2c3d4e5f67890",
  "complete": false,
  "created_at": "2023-11-07T05:31:56Z",
  "error_msg": "<string>",
  "job": {
    "type": "<unknown>",
    "pattern": "<unknown>",
    "example": "<unknown>"
  },
  "job_args": {},
  "sample": {
    "type": "<unknown>",
    "pattern": "<unknown>",
    "example": "<unknown>"
  },
  "success": false
}
GET a single alignment by its ID.

Path Parameters

id
string
required

Response

200 - application/json

Successful operation

$uri
string
Example:

"/api/v1/alignments/a1b2c3d4e5f67890"

complete
boolean
default:false
created_at
string<date-time>

Timestamp for when the object was created on the One Codex platform, encoded as a RFC 3339 timestamp.

error_msg
string | null
Maximum string length: 255
job
object

A reference to the versioned job underlying the analysis, e.g., {"$ref": "/api/v1/jobs/d512cb556241440f"}.

job_args
object

The arguments passed into this analysis (can be null).

sample
object

A reference to the sample underlying the analysis, e.g., {"$ref": "/api/v1/sample/0ee172af60e84f61"}.

success
boolean
default:false