Skip to main content
Version: v4

PresentationRecordDto

proofExchangeIdstringrequired

Identifier of the proof exchange

Example: proof-1234-5678
statestringrequired

Current state of the presentation flow

Possible values: [proposal-sent, proposal-received, request-sent, request-received, presentation-sent, presentation-received, declined, abandoned, done]

rolestringrequired

Role of this agent in the flow

Possible values: [verifier, prover]

connectionIdstring

Connection the flow runs on

Example: conn-1234-5678
requestedCredentials object[]required

The credentials, and attributes of them, that this flow asked for

  • Array [
  • credentialDefinitionIdstring

    AnonCreds credential definition the presentation is restricted to

    Example: did:webvh:QmaZYZF4aaHUTWzaKu23TowgvsX7JWfCRgQZX488EAssPQ:dm.chatbot.demos.dev.2060.io/resources/zQmevazUUyXBhGoXJwJNNEqXgvPPQ5WrwTE8G5MdhfWsmxM
    jsonSchemaCredentialIdstring

    JSON Schema Credential the presentation is restricted to

    Example: https://dm.gov-id-tr.demos.dev.2060.io/vt/schemas-gov-id-jsc.json
    attributesstring[]

    Attributes asked of this credential. Every attribute of the schema when omitted.

    Example: ["firstName","lastName"]
  • ]
  • claimsobject[]required

    The claims revealed by the presentation. Empty until the holder answers.

    Example: [{"name":"firstName","value":"Alice"}]
    verifiedbooleanrequired

    Whether the presentation verified. Set when the presentation is received, false with an errorMessage when the flow is abandoned.

    Example: true
    threadIdstring

    DIDComm thread identifier

    Example: thread-8765-4321
    errorMessagestring

    Error message on the exchange. The agent sets it when the exchange stops. The agent also sets it when it declines an exchange and the peer gets no problem report.

    createdAtstring<date-time>required

    When the flow was created

    updatedAtstring<date-time>required

    When the flow was last updated

    PresentationRecordDto
    {
    "proofExchangeId": "proof-1234-5678",
    "state": "proposal-sent",
    "role": "verifier",
    "connectionId": "conn-1234-5678",
    "requestedCredentials": [
    {
    "credentialDefinitionId": "did:webvh:QmaZYZF4aaHUTWzaKu23TowgvsX7JWfCRgQZX488EAssPQ:dm.chatbot.demos.dev.2060.io/resources/zQmevazUUyXBhGoXJwJNNEqXgvPPQ5WrwTE8G5MdhfWsmxM",
    "jsonSchemaCredentialId": "https://dm.gov-id-tr.demos.dev.2060.io/vt/schemas-gov-id-jsc.json",
    "attributes": [
    "firstName",
    "lastName"
    ]
    }
    ],
    "claims": [
    {
    "name": "firstName",
    "value": "Alice"
    }
    ],
    "verified": true,
    "threadId": "thread-8765-4321",
    "errorMessage": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }