Skip to content
AiventicDeveloper Docs
Esc
↑↓navigate↵open⌘Jpreview

Get a job's triage

Get how a job’s triage went and the job’s current triage.

status is the latest triage started through the API: none when there was none, queued, running, completed, failed (with failureType) or blocked (with blockReason, when the job can’t be triaged, such as one with no brand). runId is that triage’s, as the start returned it, so a caller can tell its own run from a later one; null with none. result is the job’s current triage, whoever ran it (the app, a batch or the API), or null when it has none. pricesHidden is true when the team hides suggested part prices, which are then null.

Scope: jobs:read

GET/v1/job/{jobId}/triage
Authorization
AuthorizationBearer token (aiv_sk_) · headerrequired

An Aiventic API key, sent as Authorization: Bearer aiv_sk_....

Path parameters
jobIdstring<uuid>required
Responses
200

OK

statusPublicJobTriageStatusrequired
Allowed:nonequeuedrunningcompletedfailedblocked
runIdstring<uuid> | nullrequired
requestedAtstring<date-time> | nullrequired
completedAtstring<date-time> | nullrequired
failureTypestring | nullrequired
blockReasonstring | nullrequired
resultPublicJobTriageResult | nullrequired
Show properties
One of:
null
null
PublicJobTriageResult
messagestringrequired
disclaimerstring | nullrequired
partsPublicJobTriagePart[]required
Show properties
Array of PublicJobTriagePart
partNumberstringrequired
namestringrequired
fitPublicJobTriagePartFitrequired
Allowed:unknownconfirmedForUnitfitsModelverifyUnitexcludedForUnitnotListed
supersededPartNumberstring | nullrequired
availabilityPublicJobTriagePartAvailability | nullrequired
Show properties
One of:
null
null
PublicJobTriagePartAvailability
inStockbooleanrequired
stockAsOfstring<date-time> | nullrequired
shippingPublicJobTriagePartShipping[]required
Show properties
Array of PublicJobTriagePartShipping
quantityinteger | string | nullrequired
matches ^-?(?:0|[1-9]\d*)$
etastring | nullrequired
accountPricenumber | string | nullrequired
matches ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
retailPricenumber | string | nullrequired
matches ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
currencystringrequired
pricesHiddenbooleanrequired
400

Bad Request

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
401

Unauthorized

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
403

Forbidden

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
404

Not Found

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
429

Too Many Requests

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
500

Internal Server Error

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.aiventic.ai/v1/job/497f6eca-6276-4993-bfeb-53cbbbba6f08/triage' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "status": "none",
  "runId": null,
  "requestedAt": null,
  "completedAt": null,
  "failureType": null,
  "blockReason": null,
  "result": {}
}