Skip to main content
GET
Get x402 Session

路径参数

string
必填
会话 ID(例如 sess_xyz789)。

示例

授权

X-API-Key
string
header
必填

API key authentication. Keys are prefixed with awx_.

路径参数

id
string
必填

The session ID (e.g., sess_xyz789).

响应

Session details.

An x402 payment session with a pre-authorized spending budget.

id
string

Unique session identifier (e.g., sess_xyz789).

agent_id
string

Agent whose wallet funds the session.

budget_limit
string

Maximum total amount the session can spend.

budget_spent
string

Total amount spent so far.

budget_remaining
string

Remaining budget available.

chain
string

CAIP-2 chain identifier for settlement.

status
enum<string>

Session status.

可用选项:
active,
expired,
deleted
allowed_urls
string<uri>[]

URLs this session is authorized to pay.

expires_at
string<date-time>

ISO 8601 expiration timestamp.

created_at
string<date-time>

ISO 8601 creation timestamp.