API reference · schema
CreateAttestationRequest
7 fields · used by 0 operations
Last reviewed 2026-10-02
Fields
| Field | Type | Meaning |
|---|---|---|
attestation_type required | string | |
subject_type | string | default "deployment" |
subject_id required | string | |
subject_name required | string | |
claims | array of object | default [] |
security_level | string | default "unknown" |
ttl_seconds | integer or null |
Smallest valid example
{
"attestation_type": "attestation-type",
"subject_type": "deployment",
"subject_id": "subject-id",
"subject_name": "subject-name",
"claims": [],
"security_level": "unknown"
}JSON Schema
Show the raw definition
{
"properties": {
"attestation_type": {
"type": "string",
"title": "Attestation Type"
},
"subject_type": {
"type": "string",
"title": "Subject Type",
"default": "deployment"
},
"subject_id": {
"type": "string",
"title": "Subject Id"
},
"subject_name": {
"type": "string",
"title": "Subject Name"
},
"claims": {
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array",
"title": "Claims",
"default": []
},
"security_level": {
"type": "string",
"title": "Security Level",
"default": "unknown"
},
"ttl_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ttl Seconds"
}
},
"type": "object",
"required": [
"attestation_type",
"subject_id",
"subject_name"
],
"title": "CreateAttestationRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem