curl --request GET \
--url https://api.platform.dakota.xyz/policies/{id} \
--header 'x-api-key: <api-key>'{
"id": "pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"version": 1,
"name": "High Value Transaction Policy",
"created_at": 1640995200,
"updated_at": 1640995200,
"client_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"description": "Requires approval for transactions above $10,000",
"rules": [
{
"id": "rule_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"policy_id": "pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"rule_type": "amount_threshold",
"action": "deny",
"definition": {
"amount": "10000",
"currency": "USD"
},
"created_at": 1640995200
}
]
}curl --request GET \
--url https://api.platform.dakota.xyz/policies/{id} \
--header 'x-api-key: <api-key>'{
"id": "pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"version": 1,
"name": "High Value Transaction Policy",
"created_at": 1640995200,
"updated_at": 1640995200,
"client_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
"description": "Requires approval for transactions above $10,000",
"rules": [
{
"id": "rule_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"policy_id": "pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT",
"rule_type": "amount_threshold",
"action": "deny",
"definition": {
"amount": "10000",
"currency": "USD"
},
"created_at": 1640995200
}
]
}Unique identifier of the policy
Policy details
Unique identifier for the policy
"pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT"
Version number of the policy (incremented on rule changes)
1
Human-readable name for the policy
"High Value Transaction Policy"
Unix timestamp when the policy was created
1640995200
Unix timestamp when the policy was last updated
1640995200
KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.
27"1NFHrqBHb3cTfLVkFSGmHZqdDPi"
Optional description of the policy's purpose
"Requires approval for transactions above $10,000"
Rules that make up this policy
Show child attributes