TypeScript client
Personas
Create persona
Create a mutable imported or generated persona profile.
POST
TypeScript client
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team (workspace) id (UUID). Discover ids via the list teams endpoint or the agent context.
Body
application/json
- Option 1
- Option 2
Available options:
generated Available options:
synthetic_person a string at most 512 character(s) long
Required string length:
1 - 512an array of at most 3 item(s)
Maximum array length:
3a string at most 512 character(s) long
Required string length:
1 - 512Response
Success
a Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$a Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$Available options:
real_person, synthetic_person a string matching the pattern ^\d{4}-\d{2}-\d{2}$
Pattern:
^\d{4}-\d{2}-\d{2}$an array of at most 100 item(s)
Maximum array length:
100a Universally Unique Identifier
Pattern:
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$an integer