GET
/
api
/
v1
/
analyses
/
{id}
{
  "$uri": "<string>",
  "analysis_type": "<string>",
  "complete": true,
  "cost": {
    "amount": 123,
    "currency": "USD"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "dependencies": [],
  "error_msg": "<string>",
  "job": {
    "$ref": "<string>"
  },
  "job_args": {},
  "sample": {
    "$ref": "<string>"
  },
  "success": true,
  "updated_at": "2023-11-07T05:31:56Z"
}

GET a single analysis by its ID.

Path Parameters

id
string
required

Response

200 - application/json
Successful operation
$uri
string
analysis_type
string

The type of analysis performed. Currently supported analysis types on the One Codex platform are: classification, panel, and alignment.

complete
boolean

If the analysis is complete. Incomplete or pending analyses will show a icon in the One Codex web application.

cost
object

Cost of analysis in cents (USD)

created_at
string
dependencies
object[]
error_msg
string

An error message if the analysis failed. Should generally be `` or null if the analysis succeeded or is pending.

job
object
job_args
object | null
sample
object
success
boolean

true if the analysis was successful.

updated_at
string