Skip to main content
GET
Get Policy

경로 매개변수

string
필수
정책 ID (예: pol_abc123).

예시

인증

X-API-Key
string
header
필수

API key authentication. Keys are prefixed with awx_.

경로 매개변수

id
string
필수

The policy ID (e.g., pol_abc123).

응답

Policy details.

A policy that controls what transactions an agent is allowed to execute.

id
string

Unique policy identifier (e.g., pol_abc123).

agent_id
string

Agent this policy is attached to.

type
enum<string>

Policy type.

사용 가능한 옵션:
spending_limit,
address_control,
token_control,
velocity_control,
schedule,
human_approval
rules
object

Policy rules object. Structure depends on the policy type.

created_at
string<date-time>

ISO 8601 creation timestamp.

updated_at
string<date-time>

ISO 8601 last-update timestamp.