cURL
curl --request POST \ --url https://api.opengiant.com/v1/personas \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "attributes": {} }'
{ "id": "<string>", "name": "<string>", "attributes": {} }
Create a new AI persona.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Persona details.
The body is of type object.
object
Persona created successfully.
The response is of type object.