Skip to main content
GET
Get a specific policy

Authorizations

x-api-key
string
header
required

Path Parameters

policy_id
string
required

Unique identifier of the policy

Response

Policy details

id
string
required

Unique identifier for the policy

Example:

"pol_2N4YkKpKu7M3mKpGYmF8kcJ8oZT"

version
integer<int32>
required

Version number of the policy (incremented on rule changes)

Example:

1

name
string
required

Human-readable name for the policy

Example:

"High Value Transaction Policy"

created_at
integer
required

Unix timestamp when the policy was created

Example:

1640995200

updated_at
integer
required

Unix timestamp when the policy was last updated

Example:

1640995200

client_id
string

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.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

signer_group_id
string | null

ID of the signer group that governs this policy. A member of this group must endorse any add_policy_rule, update_policy_rule, remove_policy_rule, delete_policy, attach_policy_to_wallet, or detach_policy_from_wallet intent for this policy, and any enable_card_settlement intent for a wallet this policy is attached to. One valid signature is enough for these intents and no approval threshold applies to them. Every signature sent must verify against a different member of this group; a single signature that does not rejects the whole intent. When a transaction is evaluated, the policy's approval_threshold and amount_threshold rules count signatures only from this group, and only while this group is attached to the wallet the transaction spends from.

Example:

"grp_2N4YkKpKu7M3mKpGYmF8kcJ8oZT"

description
string | null

Optional description of the policy's purpose

Example:

"Requires approval for transactions above $10,000"

rules
object[]

Rules that make up this policy