Searching Policies
Search policies. Only users with the Standard Registry role are allowed to make the request.
Authorizations
Body
policyIdstringOptionalExample: 
000000000000000000000001typestring Β· enumOptionalExample: 
LocalPossible values: ownerstringOptionalExample: 
#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001minVcCountnumberOptionalExample: 
0minVpCountnumberOptionalExample: 
0minTokensCountnumberOptionalExample: 
0textstringOptionalExample: 
Policy namethresholdnumber Β· max: 100OptionalExample: 
0Responses
200
Successful operation.
application/json
401
Unauthorized.
403
Forbidden.
451
Unavailable for Legal Reasons. User must accept new terms of use.
application/json
500
Internal server error.
application/json
post
/analytics/search/policiesPOST /api/v1/analytics/search/policies HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 39
{
  "policyId": "000000000000000000000001"
}{
  "target": {},
  "result": [
    {
      "type": "Local",
      "id": "000000000000000000000001",
      "topicId": "0.0.1",
      "messageId": "0000000000.000000001",
      "uuid": "00000000-0000-0000-0000-000000000000",
      "name": "Policy name",
      "description": "Policy description",
      "version": "1.0.0",
      "status": "DRAFT",
      "owner": "#did:hedera:testnet:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA_0.0.0000001",
      "tags": "Tag",
      "vcCount": 0,
      "vpCount": 0,
      "tokensCount": 0,
      "rate": 0
    }
  ]
}Last updated