Update persona

Partially updates a workspace-level persona. System personas cannot be modified.

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

Authentication

X-Api-Key string 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 string 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 string Required

The UUID of the persona to update. The persona must be a workspace-level (custom) persona that belongs to your organization. System (prebuilt) personas cannot be modified through this endpoint. You can retrieve persona IDs from the List personas endpoint.

Request body

name string Optional

A new name for the persona. Must be unique within your workspace and must not conflict with system persona names (case-insensitive comparison). Maximum 255 characters. Only the fields you include in the request body will be updated; omitted fields retain their current values.

description string Optional

An updated description explaining the persona’s role, behavior, and characteristics. Must be a non-empty string if provided.

gender array of string Optional

Updated gender characteristics. Accepted values: male, female. Replaces the existing gender list entirely when provided.

ageGroup array of string Optional

Updated age range brackets. Accepted values: 18-25, 25-32, 32-40, 40-50, 50-60, 60+. Replaces the existing age group list entirely when provided.

location array of string Optional

Updated geographic locations. Accepted values: United States, Canada, United Kingdom, Australia, India. Replaces the existing location list entirely when provided.

personality array of string Optional

Updated personality traits. Accepted values: Friendly and cooperative, Professional and formal, Cautious and skeptical, Impatient and direct, Detail-oriented, Easy-going, Anxious, Confident, Analytical, Emotional, Reserved, Talkative. Replaces the existing personality list entirely when provided.

communicationStyle array of string Optional

Updated communication style descriptors. Accepted values: Direct and concise, Detailed and elaborate, Casual and friendly, Formal and polite, Technical, Simple and clear, Questioning, Assertive, Passive, Collaborative. Replaces the existing communication style list entirely when provided.

accent array of string Optional

Updated accent options for voice simulations. Accepted values: American, Australian, Indian, Canadian, Neutral. Replaces the existing accent list entirely when provided.

multilingual boolean Optional

Enables or disables multi-language support. When set to true, the language field must also be provided with at least one language.

language array of string Optional

Updated language options. Accepted values: English, Hindi. Required when multilingual is true.

keywords array of string Optional

Updated keywords or tags for the persona. Used for search and categorization in the dashboard. Replaces the existing keywords list entirely when provided.

customProperties object Optional

Updated key-value metadata. Both keys and values must be non-empty strings. Replaces the existing custom properties object entirely when provided.

additionalInstruction string Optional

Updated free-form behavioral instructions passed to the simulation engine.

tone string Optional

Updated tone setting. Accepted values: formal, casual, neutral.

punctuation string Optional

Updated punctuation style. Accepted values: clean, minimal, expressive, erratic.

slangUsage string Optional

Updated slang usage level. Accepted values: none, moderate, heavy, light.

typosFrequency string Optional

Updated typo frequency. Accepted values: none, rare, occasional, frequent.

regionalMix string Optional

Updated regional language mix level. Accepted values: none, moderate, heavy, light.

emojiUsage string Optional

Updated emoji usage frequency. Accepted values: never, light, regular, heavy.

verbosity string Optional

Updated response length preference. Accepted values: brief, balanced, detailed.

Response

200 OK
status string

Indicates the outcome of the request. Returns "success" when the persona is updated successfully.

result object

The full updated persona object, including all current attribute values (both changed and unchanged fields), along with the id, persona_type, created_at, and updated_at timestamps reflecting the update.

Errors

400 Bad Request Optional

The request payload contains invalid field values. This can occur when the name conflicts with an existing persona in your workspace or a system persona, when field values are outside the allowed choices, or when multilingual is true but language is missing. Review the response body for specific validation errors.

401 Unauthorized Optional

Authentication credentials were not provided or are invalid. Ensure that both X-Api-Key and X-Secret-Key headers are included in your request and contain valid, non-expired keys. Verify your API keys in the Dashboard under Settings.

403 Forbidden Optional

The specified persona is a system-level (prebuilt) persona and cannot be modified. Only workspace-level personas created by your team can be updated through this endpoint. To customize a system persona, use the Duplicate persona endpoint to create a workspace-level copy first.

404 Not Found Optional

The persona with the specified UUID could not be found. Verify that the persona_id is correct and that the persona has not been deleted. You can retrieve valid persona IDs from the List personas endpoint.

500 Internal Server Error Optional

An unexpected error occurred on the server while processing the request. This is not caused by your input. If this error persists, contact Future AGI support with the request details and timestamp for investigation.

GET /
Authentication
REQUEST
 
RESPONSE