v1
protected
wallet

Create a wallet for an agent.

post/v1/workspaces/{workspace}/agents/{agent_id}/wallet

Request

Path parameters

workspacestring required

Slug of the workspace the request acts in

agent_idstring required

Request body

service_budget_period'execution' | 'daily' | 'monthly'

Budget reset period.

wallet_type'x402' | 'mpp' | 'dual' required

Supported wallet types.

Response

Successful Response

agent_idstring required
created_atstring date-time nullable
has_credentialsboolean
idstring required
mpp_configobject nullable
service_budget_periodstring required
service_budget_usdstring required
statusstring required
updated_atstring date-time nullable
wallet_typestring required
x402_configobject nullable

Changes

    • info

      for the path request parameter agent_id, the format was generalized from uuid to no format

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property was restricted to a list of enum values

    • info

      added the new daily enum value to the request property

    • info

      added the new dual enum value to the request property

    • info

      added the new execution enum value to the request property

    • info

      added the new monthly enum value to the request property

    • info

      added the new mpp enum value to the request property

    • info

      added the new x402 enum value to the request property