curl --request POST \
--url https://app.octavehq.com/api/v2/persona/generate \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"personas": [
{
"name": "Enterprise Sales Leader",
"sources": [
{
"type": "TEXT",
"value": "VP of Sales professionals who manage enterprise deals and drive revenue growth"
}
]
},
{
"sources": [
{
"type": "URL",
"value": "https://example.com/target-customer-profile"
}
]
}
],
"primaryOfferingOId": "o_123456",
"linkingStrategy": {
"mode": "ALL"
},
"playbookOId": "pb_456",
"brandVoiceOId": "bv_789"
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": [
{
"oId": "p_1234",
"createdAt": "2021-01-01",
"data": {
"internalName": "<string>",
"primaryResponsibilities": [
"Responsibility 1",
"Responsibility 2"
],
"painPoints": [
"Pain Point 1",
"Pain Point 2"
],
"keyConcerns": [
"Concern 1",
"Concern 2"
],
"keyObjectives": [
"Objective 1",
"Objective 2"
],
"commonJobTitles": [
"Job Title 1",
"Job Title 2"
],
"whyTheyMatterToUs": [
"Reason 1",
"Reason 2"
],
"whyWeMatterToThem": [
"Reason 1",
"Reason 2"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "u_1234",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "wa_1234"
},
"name": "VP of Sales",
"internalName": "Sally the Sales Leader",
"description": "<string>",
"deletedAt": "2021-01-01",
"archivedAt": "2021-01-01",
"updatedAt": "2021-01-01",
"unrecognized": false,
"rejected": false,
"active": true,
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
]
}
]
}Generate personas from source materials using AI. Each input array generates one persona. Supports text, URLs, and generative names as sources.
curl --request POST \
--url https://app.octavehq.com/api/v2/persona/generate \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"personas": [
{
"name": "Enterprise Sales Leader",
"sources": [
{
"type": "TEXT",
"value": "VP of Sales professionals who manage enterprise deals and drive revenue growth"
}
]
},
{
"sources": [
{
"type": "URL",
"value": "https://example.com/target-customer-profile"
}
]
}
],
"primaryOfferingOId": "o_123456",
"linkingStrategy": {
"mode": "ALL"
},
"playbookOId": "pb_456",
"brandVoiceOId": "bv_789"
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"data": [
{
"oId": "p_1234",
"createdAt": "2021-01-01",
"data": {
"internalName": "<string>",
"primaryResponsibilities": [
"Responsibility 1",
"Responsibility 2"
],
"painPoints": [
"Pain Point 1",
"Pain Point 2"
],
"keyConcerns": [
"Concern 1",
"Concern 2"
],
"keyObjectives": [
"Objective 1",
"Objective 2"
],
"commonJobTitles": [
"Job Title 1",
"Job Title 2"
],
"whyTheyMatterToUs": [
"Reason 1",
"Reason 2"
],
"whyWeMatterToThem": [
"Reason 1",
"Reason 2"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "u_1234",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "wa_1234"
},
"name": "VP of Sales",
"internalName": "Sally the Sales Leader",
"description": "<string>",
"deletedAt": "2021-01-01",
"archivedAt": "2021-01-01",
"updatedAt": "2021-01-01",
"unrecognized": false,
"rejected": false,
"active": true,
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
]
}
]
}Persona generation input with source materials
Array of persona generation requests - each object generates one persona
1Show child attributes
Source materials to generate the persona from
Optional name for the persona - if provided, will be used as the entity name
"Enterprise Sales Leader"
[
{
"name": "Enterprise Sales Leader",
"sources": [
{
"type": "TEXT",
"value": "VP of Sales professionals who manage enterprise deals and drive revenue growth"
}
]
},
{
"sources": [
{
"type": "URL",
"value": "https://example.com/target-customer-profile"
}
]
}
]Primary Offering to use as context when generating personas. If not provided, the primary company attached to the Workspace will be used.
"o_123456"
Optional playbook ID to link the generated personas to
"pb_456"
Optional brand voice ID to apply to generated personas
"bv_789"
Personas generated successfully
Show child attributes
The ID of the persona
1"p_1234"
The date and time the persona was created
"2021-01-01"
Show child attributes
The internal name of the persona
The primary responsibilities of the persona
["Responsibility 1", "Responsibility 2"]The pain points of the persona
["Pain Point 1", "Pain Point 2"]The key concerns of the persona
["Concern 1", "Concern 2"]The key objectives of the persona
["Objective 1", "Objective 2"]The common job titles of the persona
["Job Title 1", "Job Title 2"]The reasons why the persona matters to us
["Reason 1", "Reason 2"]The reasons why we matter to this type of persona
["Reason 1", "Reason 2"]The name of the persona
"VP of Sales"
The internal name of the persona
"Sally the Sales Leader"
The description of the persona
The date and time the persona was deleted
"2021-01-01"
The date and time the persona was archived
"2021-01-01"
The date and time the persona was updated
"2021-01-01"
Whether the persona is unrecognized
false
Whether the persona is rejected
false
Whether the persona is active and can be used
true
Show child attributes
The question to ask to qualify the entity
The rationale for the question as to why it helps qualify
The fit type of the question
GOOD, BAD "GOOD"
The weight of the question
LOW, MEDIUM, HIGH, INSTANT_QUALIFIER, INSTANT_DISQUALIFIER "MEDIUM"
The date and time the question was archived