Skip to Content
AgentFlow
API referenceAi agentRequests

Get Proof

POST
/ai-agent/getProof

Request Body

application/json
  1. body
requestId*string
Length1 <= length

Response Body

OK

application/json
  1. response
id*string
Length1 <= length
createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
deletedAt*|null
meta*
requestId*string
Length1 <= length
requestVersion*integer
Range-9007199254740991 <= value <= 9007199254740991
decisionId*string
Length1 <= length
outcome*string
Value in"approve""reject""request_changes"
proofStatus*string
Length1 <= length
proofId*string
Length1 <= length
verificationRule*string
Length1 <= length
issuedAt*string
Formatdate-time
referenceId*string
Length1 <= length
requestHash*string
Length1 <= length
decisionHash*string
Length1 <= length
signature*string
Length1 <= length
keyId*string
Length1 <= length
Example Request
curl -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"}