Duplicate persona

Copies an existing persona as a new workspace-level persona.

POST https://api.futureagi.com/simulate/api/personas/duplicate/{persona_id}/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

persona_id UUID Required

The source persona ID. Can be system or workspace persona. The copy is always created as workspace-level.

Request body

name string Required

Name for the new persona. Must be unique within the workspace (case-insensitive). Max 255 characters.

Response

201 Created
status string
"success" on creation.
result object
The newly created persona, inheriting all attributes from the source except name, id, and persona_type (set to workspace).

Errors

400 Bad Request Optional

Missing or duplicate name.

401 Unauthorized Optional

Invalid or missing API credentials.

404 Not Found Optional

Source persona not found.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE