API reference

API reference · Private inference

The enclave's attestation verdicts

GET/api/attestationsNo key

The private inference router's current verdict, the newest attempt and the recent history, each with its five links and every check (hardware report, AMD chain, signed code measurement, Rekor log, TLS key). Public: a verdict names nobody. A 404 while the operator has not turned private inference on.

Answer 200

The verdicts

Fields of the 200 answer
FieldTypeWhat it is
objectstringOne of "list".
providerstring
hoststring
repostring
currentobject or null
latestobject or null
dataarray of object
data[].objectstringOne of "attestation".
data[].digeststring or nullSHA-256 of the attestation document's format and body: the value private answers carry in x-antimatter-attestation.
data[].providerstring
data[].hoststring
data[].verdictstringOne of "verified", "failed".
data[].currentbooleanA verified verdict whose expiry is ahead.
data[].measurementstring or nullThe launch measurement the hardware signed, hex.
data[].report_digeststring or null
data[].tls_key_fingerprintstring or nullSHA-256 of the TLS key the report binds; requests are pinned to it.
data[].hpke_keystring or null
data[].repostring or null
data[].release_tagstring or null
data[].release_digeststring or null
data[].linksarray of object
data[].links[].idstringOne of "hardware", "vendor", "code", "log", "tls".
data[].links[].okboolean
data[].links[].checksarray of object
data[].links[].checks[].idstringA stable check name, such as report.signature or tls.key.
data[].links[].checks[].okboolean
data[].links[].checks[].detailstringThe value checked, or what was wrong.
data[].enclavesobject or nullWhat the attested router reports about the model enclaves behind it, in its own words.
data[].errorstring or null
data[].first_verified_atstring or null
data[].checked_atstring
data[].expires_atstring

Errors

  • 404OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter