API referenceAi agentRequests
Get Proof
POST
application/json- body
requestId*stringLength
1 <= lengthOK
application/json- response
id*stringLength
1 <= lengthcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timedeletedAt*|nullmeta*requestId*stringLength
1 <= lengthrequestVersion*integerRange
-9007199254740991 <= value <= 9007199254740991decisionId*stringLength
1 <= lengthoutcome*stringValue in
"approve""reject""request_changes"proofStatus*stringLength
1 <= lengthproofId*stringLength
1 <= lengthverificationRule*stringLength
1 <= lengthissuedAt*stringFormat
date-timereferenceId*stringLength
1 <= lengthrequestHash*stringLength
1 <= lengthdecisionHash*stringLength
1 <= lengthsignature*stringLength
1 <= lengthkeyId*stringLength
1 <= lengthcurl -X POST 'http://localhost:4000/api/v1/ai-agent/getProof' \ -H 'Content-Type: application/json' \ -d '{ "requestId": "string"}'Example Response
{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "meta": { "property1": null, "property2": null }, "requestId": "string", "requestVersion": -9007199254740991, "decisionId": "string", "outcome": "approve", "proofStatus": "string", "proofId": "string", "verificationRule": "string", "issuedAt": "2019-08-24T14:15:22Z", "referenceId": "string", "requestHash": "string", "decisionHash": "string", "signature": "string", "keyId": "string"}