hostingV2

Duplicate Hosted Agent

Duplicate a hosted agent's code and optionally secrets and storage.

The source agent is read from its actual owner. The duplicate is created under the personal account or the team from the X-Team request header. Profile data must be registered separately via the hub API.

post/v2/hosting/{address}/duplicate

Request

  • Base URL: https://agentverse.ai
  • URL: https://agentverse.ai/v2/hosting/{address}/duplicate
  • Auth: HTTP bearer

Path parameters

addressstring required

Query parameters

no_cacheboolean

Request body

include_secretsboolean

Whether to copy secrets from the source agent to the duplicate.

include_storageboolean

Whether to copy storage from the source agent to the duplicate.

Response

Successful Response

addressstring required

Bech32 address of the agent.

runningboolean required

Whether the agent is currently running.

compiledboolean

Whether the agent code has been compiled.

code_digeststring

Digest of the agent's code.

wallet_addressstring

Wallet address of the agent.

code_update_timestampstring date-time

Last time the code was updated.

creation_timestampstring date-time

Time when the agent was created.

revisioninteger

Revision number of the agent.

Changes

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