Skip to main content
POST
/
personas
/
options
Get persona options (mission types and persona types)
curl --request POST \
  --url https://api-trial.cognigy.ai/testing/personas/options \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flowId": "<string>",
  "aiagentReferenceId": "<string>",
  "jobNodeId": "<string>"
}
'
{
  "simulationName": "<string>",
  "missionTypes": [
    {
      "name": "<string>",
      "description": "<string>",
      "successCriteria": [
        {
          "name": "<string>",
          "description": "<string>"
        }
      ]
    }
  ],
  "personaTypes": [
    {
      "name": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer Token for authentication

Query Parameters

projectId
string
required

Project identifier

Body

application/json
flowId
string
required

Flow identifier (required for all scenarios)

aiagentReferenceId
string

AI Agent reference ID (optional - for AI agent specific analysis)

jobNodeId
string

Job Node ID (optional - requires aiagentReferenceId, for job node specific analysis)

Response

Persona options retrieved successfully

simulationName
string
required

Suggested name for the scenario based on the flow/agent context

missionTypes
object[]
required

Available mission types with success criteria

personaTypes
object[]
required

Available persona types with behavioral characteristics

Last modified on July 2, 2026