Policy Engine
Get a policy by ID
REST API
- EVM Accounts
- EVM Smart Accounts
- EVM Swaps
- EVM Token Balances
- Faucets
- PaymentsAlpha
- Policy Engine
- Solana Accounts
Policy Engine
Get a policy by ID
Get a policy by its ID.
GET
/
v2
/
policy-engine
/
policies
/
{policyId}
Copy
Ask AI
curl --request GET \
--url https://api.cdp.coinbase.com/platform/v2/policy-engine/policies/{policyId}
Copy
Ask AI
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "Default policy",
"scope": "project",
"rules": [
{
"action": "accept",
"operation": "signEvmTransaction",
"criteria": [
{
"type": "ethValue",
"ethValue": "1000000000000000000",
"operator": "<="
},
{
"type": "evmAddress",
"addresses": [
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"0x1234567890123456789012345678901234567890"
],
"operator": "in"
}
]
},
{
"action": "accept",
"operation": "signSolTransaction",
"criteria": [
{
"type": "solAddress",
"addresses": [
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
],
"operator": "in"
}
]
}
],
"createdAt": "2025-03-25T12:00:00Z",
"updatedAt": "2025-03-26T12:00:00Z"
}
Path Parameters
The ID of the policy to get.
Response
200
application/json
Successfully retrieved policy.
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.cdp.coinbase.com/platform/v2/policy-engine/policies/{policyId}
Copy
Ask AI
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "Default policy",
"scope": "project",
"rules": [
{
"action": "accept",
"operation": "signEvmTransaction",
"criteria": [
{
"type": "ethValue",
"ethValue": "1000000000000000000",
"operator": "<="
},
{
"type": "evmAddress",
"addresses": [
"0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"0x1234567890123456789012345678901234567890"
],
"operator": "in"
}
]
},
{
"action": "accept",
"operation": "signSolTransaction",
"criteria": [
{
"type": "solAddress",
"addresses": [
"HpabPRRCFbBKSuJr5PdkVvQc85FyxyTWkFM2obBRSvHT"
],
"operator": "in"
}
]
}
],
"createdAt": "2025-03-25T12:00:00Z",
"updatedAt": "2025-03-26T12:00:00Z"
}
Assistant
Responses are generated using AI and may contain mistakes.