Skip to main content
POST
https://api.0xkey.io
/
public
/
v1
/
query
/
get_policy_evaluations
Get policy evaluations
curl --request POST \
  --url https://api.0xkey.io/public/v1/query/get_policy_evaluations \
  --header 'Content-Type: application/json' \
  --header 'X-Stamp: <api-key>' \
  --data '
{
  "organizationId": "<string>",
  "activityId": "<string>"
}
'
{
  "policyEvaluations": [
    {
      "id": "<string>",
      "activityId": "<string>",
      "organizationId": "<string>",
      "voteId": "<string>",
      "policyEvaluations": [
        {
          "policyId": "<string>",
          "outcome": "OUTCOME_UNSPECIFIED"
        }
      ],
      "createdAt": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.0xkey.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Stamp
string
header
required

Body

application/json
organizationId
string
required

Unique identifier for a given organization.

activityId
string
required

Unique identifier for a given activity.

Response

A successful response.

policyEvaluations
object[]
required