budget

Get single approval request

Returns full detail for a single approval request. Automatically marks as expired if past expiry.

get/v1/approvals/{id}

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/approvals/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:apr_abc123

Response

Approval request detail

idstring
account_idstring
amount_usdcinteger

Amount in atomic USDC units

categorystring
descriptionstring
reference_idstring nullable
status'pending' | 'approved' | 'rejected' | 'expired'
created_atstring date-time
resolved_atstring date-time nullable
resolved_bystring nullable
expires_atstring date-time
metadataobject nullable

Example response

{
  "id": "apr_abc123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.