Skip to content
SayGMDocs
Dashboard

Get attestation information

GET
/attestation/info
curl --request GET \
--url 'https://api.saygm.com/attestation/info?nonce=example'

Public, unauthenticated endpoint. Supply a fresh base64 nonce of 16–64 decoded bytes; the response echoes it in a nonce-bound attestation record.

nonce
required
string
>= 1 characters

Fresh base64-encoded nonce; decoded length must be 16–64 bytes.

The attestation record for the supplied nonce.

Media typeapplication/json
object
schema_version
required
string
Allowed value: 2
gateway_id
required
string
gateway_pubkey
required
string
tee_platform
required
string
Allowed value: intel-tdx
app_id
required
string
compose_hash
required
string
os_image_hash
required
string
instance_id
required
string
tcb_info
required
object
status
required
string | null
Allowed values: UpToDate SWHardeningNeeded ConfigurationNeeded ConfigurationAndSWHardeningNeeded OutOfDate OutOfDateConfigurationNeeded Revoked
tcb_date
required
string | null format: date-time
advisory_ids
Array<string>
quote
required
string
event_log
required
string
vm_config
required
string | null
report_data
required
string
nonce
required
string
issued_at
required
string format: date-time
verification_status
required
string
Allowed values: not_checked verified failed
verified_at
required
string | null format: date-time
verified_tcb_status
required
string | null
verified_tcb_date
required
string | null format: date-time
event_log_verified
required
boolean | null
os_image_verified
required
boolean | null
policy_accepted
required
boolean
verification_failure_reason
required
string | null
policy_failure_reason
required
string | null
Example
{
"schema_version": "2",
"tee_platform": "intel-tdx",
"tcb_info": {
"status": null
},
"verification_status": "not_checked"
}
Cache-Control
string
Allowed value: no-store

The response is not stored.

Access-Control-Allow-Origin
string
Allowed value: *

Allowed browser origin for this public read endpoint.

Access-Control-Allow-Methods
string
Allowed value: GET, OPTIONS

Methods advertised by the response.

Missing or malformed query fields return text; invalid decoded nonce values return JSON.

string

Attestation request capacity or frequency limit reached.

Media typeapplication/json
object
error
required
object
code
required
string
Examplegenerated
{
"error": {
"code": "example"
}
}
Cache-Control
string
Allowed value: no-store

The response is not stored.

Access-Control-Allow-Origin
string
Allowed value: *

Allowed browser origin for this public read endpoint.

Access-Control-Allow-Methods
string
Allowed value: GET, OPTIONS

Methods advertised by the response.

The attestation record could not be validated.

Media typeapplication/json
object
error
required
object
code
required
string
Examplegenerated
{
"error": {
"code": "example"
}
}
Cache-Control
string
Allowed value: no-store

The response is not stored.

Access-Control-Allow-Origin
string
Allowed value: *

Allowed browser origin for this public read endpoint.

Access-Control-Allow-Methods
string
Allowed value: GET, OPTIONS

Methods advertised by the response.

The attestation provider is unavailable or timed out.

Media typeapplication/json
object
error
required
object
code
required
string
Examplegenerated
{
"error": {
"code": "example"
}
}
Cache-Control
string
Allowed value: no-store

The response is not stored.

Access-Control-Allow-Origin
string
Allowed value: *

Allowed browser origin for this public read endpoint.

Access-Control-Allow-Methods
string
Allowed value: GET, OPTIONS

Methods advertised by the response.