Skip to main content
GET
/
prompt-logs
/
hash-chain
/
verify
Verify Hash Chain
curl --request GET \
  --url https://api.promptmetrics.dev/prompt-logs/hash-chain/verify \
  --header 'Authorization: Bearer <token>'
{
  "responseData": {
    "is_valid": true,
    "total_records": 123,
    "verified_records": 123,
    "broken_at": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

template_id
string
required
workspace_id
string
required

Response

200 - application/json

Hash chain verification result

responseData
object