POST
/
api
/
v2
/
product
/
generate
Generate Product
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": {
    "usage": 0,
    "requestId": "requestId",
    "message": "message",
    "timestamp": "2021-01-01T00:00:00.000Z"
  },
  "data": [
    {
      "oId": "p_1234",
      "createdAt": "2021-01-01",
      "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,
      "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>"
            ]
          }
        ]
      },
      "qualifyingQuestions": [
        {
          "question": "<string>",
          "rationale": "<string>",
          "fitType": "GOOD",
          "weight": "MEDIUM",
          "archivedAt": "<string>"
        }
      ],
      "user": {
        "oId": "u_1234"
      },
      "workspace": {
        "oId": "wa_1234"
      }
    }
  ]
}

Authorizations

api_key
string
header
required

Body

application/json

Product generation input with source materials

The body is of type object.

Response

200
application/json

Product generated successfully

The response is of type object.