CredentialRecord
A unified lifecycle view of a credential — either a completed issuance or a pending remote issuance request.
type CredentialRecord {
asyncIssuanceRequest: AsyncIssuanceRequest
contract: Contract!
createdAt: DateTime!
createdBy: User
credentialRecordStatus: CredentialRecordStatus!
expiresAt: DateTime
id: ID!
identity: Identity!
issuance: Issuance
issuanceMethod: CredentialIssuanceMethod!
}
Fields
CredentialRecord.asyncIssuanceRequest ● AsyncIssuanceRequest object
The remote issuance request. Present when the credential originated from a remote issuance request.
CredentialRecord.contract ● Contract! non-null object
The contract defining the credential type.
CredentialRecord.createdAt ● DateTime! non-null scalar
When the credential record was created (issuedAt for direct issuances, createdAt for remote requests).
CredentialRecord.createdBy ● User object
The user or application that created this credential record.
CredentialRecord.credentialRecordStatus ● CredentialRecordStatus! non-null enum
The unified lifecycle status of this credential record.
CredentialRecord.expiresAt ● DateTime scalar
The expiry of the offer or issuance session. Present for in-person and remote issuance requests.
CredentialRecord.id ● ID! non-null scalar
The stable credential record ID. This is the primary identifier for the credential record lifecycle.
CredentialRecord.identity ● Identity! non-null object
The identity of the person the credential was or will be issued to.
CredentialRecord.issuance ● Issuance object
The completed issuance. Present when credentialRecordStatus is issuanceCompleted, revoked, or expired.
CredentialRecord.issuanceMethod ● CredentialIssuanceMethod! non-null enum
The method by which the credential was or will be issued.
Returned By
findCredentialRecords query