Create Policy
정책
정책 생성
새 정책을 생성하고 에이전트에 연결합니다.
POST
Create Policy
정책은 에이전트가 실행할 수 있는 트랜잭션을 제어합니다. 모든 트랜잭션은 MPC 서명 전에 에이전트의 정책에 대해 평가됩니다.
요청 본문
이 정책을 연결할 에이전트입니다.
정책 유형. 값:
spending_limit, address_control, token_control, velocity_control, schedule, human_approval.정책 규칙 객체. 구조는
type에 따라 달라집니다.예시
인증
API key authentication. Keys are prefixed with awx_.
본문
application/json
응답
Policy created successfully.
A policy that controls what transactions an agent is allowed to execute.
Unique policy identifier (e.g., pol_abc123).
Agent this policy is attached to.
Policy type.
사용 가능한 옵션:
spending_limit, address_control, token_control, velocity_control, schedule, human_approval Policy rules object. Structure depends on the policy type.
ISO 8601 creation timestamp.
ISO 8601 last-update timestamp.