agents

Duplicate Agent

Stamp N fresh instances from this agent's definition (plan 18 Phase 1).

Instances copy the source's image/framework/env, never its volume, memory, channels, or identity, and group under a shared project (created implicitly on the first duplicate). Stamping goes through project_service.spawn_project_instance, the same path the project front door's spawn policy uses.

post/api/agents/{agent_id}/duplicate

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/agents/{agent_id}/duplicate
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

countinteger
namePrefixstring nullable

Response

Successful Response

projectIdstring required

Changes

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