curl --request POST \
--url https://app.octavehq.com/api/v2/product/generate \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"products": [
{
"name": "AI-Powered Sales Platform",
"sources": [
{
"type": "URL",
"value": "https://octavehq.com"
}
]
},
{
"sources": [
{
"type": "TEXT",
"value": "Enterprise CRM solution with advanced analytics and automation features"
}
]
}
],
"statusQuoInput": "Current manual processes are time-consuming",
"differentiatedValueInput": "Our AI-powered solution reduces time by 80%",
"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": {
"type": "PRODUCT",
"internalName": "<string>",
"summary": "<string>",
"capabilities": [
"Capability 1",
"Capability 2"
],
"differentiatedValue": [
"Differentiated Value 1",
"Differentiated Value 2"
],
"statusQuo": [
"Status Quo 1",
"Status Quo 2"
],
"challengesAddressed": [
"Challenge 1",
"Challenge 2"
],
"customerBenefits": [
"Benefit 1",
"Benefit 2"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "u_1234",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "wa_1234"
},
"updatedAt": "2021-01-01",
"archivedAt": "2021-01-01",
"deletedAt": "2021-01-01",
"name": "Product Name",
"internalName": "Product Internal Name",
"description": "Product Description",
"primaryUrl": "https://www.product.com",
"active": true,
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
]
}
]
}Generate a product from source materials using AI. Creates and validates the product against usage rules.
curl --request POST \
--url https://app.octavehq.com/api/v2/product/generate \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"products": [
{
"name": "AI-Powered Sales Platform",
"sources": [
{
"type": "URL",
"value": "https://octavehq.com"
}
]
},
{
"sources": [
{
"type": "TEXT",
"value": "Enterprise CRM solution with advanced analytics and automation features"
}
]
}
],
"statusQuoInput": "Current manual processes are time-consuming",
"differentiatedValueInput": "Our AI-powered solution reduces time by 80%",
"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": {
"type": "PRODUCT",
"internalName": "<string>",
"summary": "<string>",
"capabilities": [
"Capability 1",
"Capability 2"
],
"differentiatedValue": [
"Differentiated Value 1",
"Differentiated Value 2"
],
"statusQuo": [
"Status Quo 1",
"Status Quo 2"
],
"challengesAddressed": [
"Challenge 1",
"Challenge 2"
],
"customerBenefits": [
"Benefit 1",
"Benefit 2"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"user": {
"oId": "u_1234",
"firstName": "John",
"lastName": "Doe"
},
"workspace": {
"oId": "wa_1234"
},
"updatedAt": "2021-01-01",
"archivedAt": "2021-01-01",
"deletedAt": "2021-01-01",
"name": "Product Name",
"internalName": "Product Internal Name",
"description": "Product Description",
"primaryUrl": "https://www.product.com",
"active": true,
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
]
}
]
}Product generation input with source materials
Array of product generation requests - each object generates one product
1Show child attributes
Source materials to generate the product from
Optional name for the product - if provided, will be used as the entity name
"AI-Powered Sales Platform"
[
{
"name": "AI-Powered Sales Platform",
"sources": [
{
"type": "URL",
"value": "https://octavehq.com"
}
]
},
{
"sources": [
{
"type": "TEXT",
"value": "Enterprise CRM solution with advanced analytics and automation features"
}
]
}
]Optional status quo description
"Current manual processes are time-consuming"
Optional differentiated value description
"Our AI-powered solution reduces time by 80%"
Optional brand voice ID to apply to generated products
"bv_789"
Product generated successfully
Show child attributes
The ID of the product
1"p_1234"
The date and time the product was created
"2021-01-01"
Show child attributes
PRODUCT, SERVICE The internal name of the product
Key capabilities of the product
["Capability 1", "Capability 2"]The differentiated value of the product
[
"Differentiated Value 1",
"Differentiated Value 2"
]The status quo of the product
["Status Quo 1", "Status Quo 2"]The challenges addressed by the offering
["Challenge 1", "Challenge 2"]The customer benefits of the offering
["Benefit 1", "Benefit 2"]The date and time the product was updated
"2021-01-01"
The date and time the product was archived
"2021-01-01"
The date and time the product was deleted
"2021-01-01"
The external facing name of the product
"Product Name"
The internal name of the product
"Product Internal Name"
The description of the product
"Product Description"
The primary URL of the product
"https://www.product.com"
Whether the product 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