Get current agent
Retrieve the authenticated agent’s own profile, policy, and current usage. This endpoint is called by the agent software itself using its own credentials (obtained via device code redemption) rather than platform credentials.
Documentation Index
Fetch the complete documentation index at: https://ramps-05-22-docs-annotate-cards-intro-snippet-triggers-mint.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/{code}/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.
Response
Successful operation
A programmatic agent with scoped permissions and a spending policy, used to automate payment workflows.
System-generated unique identifier for the agent.
"Agent:019542f5-b3e7-1d02-0000-000000000001"
Human-readable name for the agent.
"Payroll Automation Agent"
The ID of the customer this agent operates on behalf of.
"Customer:019542f5-b3e7-1d02-0000-000000000001"
Whether the agent is currently paused. Paused agents cannot initiate any actions.
false
Whether the agent has been installed and connected (i.e., its device code has been redeemed).
true
Policy governing what an agent can do, how it executes actions, and its spending boundaries.
Real-time counters tracking the agent's spending and transaction activity against its policy limits.
Creation timestamp.
"2025-07-21T17:32:28Z"
Last update timestamp.
"2025-07-21T17:32:28Z"