List policies
Changed onLists the project's policies by default, or the entity's policies when groupType=entity. Use the scope parameter to filter the policies by scope. The response is paginated, and by default, returns 20 policies per page.
Request
- Base URLhttps://api.cdp.coinbase.com/platform
- AuthHTTP bearer
Query parameters
Whether policy operations use the entity ID or the project ID from the caller's credential.
Selects whether this request uses the entity ID or the project ID from the caller's credential as the policy group for lookups, writes, and simulation. Defaults to project. Use entity for the policies of an entity's custodial accounts. This is independent of a policy's scope, which says whether a policy applies to a single account or to the whole project.
The number of resources to return per page.
The token for the next page of resources, if any.
The scope of the policies to return for the group selected by groupType. If project, the response will include exactly one policy, which is that group's project-level policy. If account, the response will include all account-level policies of that group.
Response
Successfully listed policies.
The list of policies.
Example response
{
"policies": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "Default policy",
"scope": "project",
"status": "active",
"pausedAt": "2026-09-29T12:00:00Z",
"resumeAt": "2026-09-30T12:00:00Z",
"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"
}
],
"nextPageToken": "eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="
}Changes
- breaking
added to the
allOf[subschema #1]/policies/items/rules/itemsresponse propertyoneOflist for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status - warning
added the new
policy_not_applicableenum value to theerrorTyperesponse property for the response status
3 more changes in this revision
- breaking