curl --request POST \
--url https://app.octavehq.com/api/v2/agents/enrich-company/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agentOId": "agent_123",
"companyDomain": "example.com",
"companyName": "Example",
"runtimeContext": {
"user": {
"oId": "user_123"
}
}
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"found": true,
"message": "Additional information",
"data": {
"company": {
"name": "<string>",
"description": "<string>",
"domain": "<string>",
"website": "<string>",
"founded": 123,
"location": {
"region": "<string>",
"locality": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"streetAddress": "<string>"
},
"employeeCount": 123,
"followerCount": 123,
"type": "<string>",
"slug": "<string>",
"logoUrl": "<string>",
"countryCode": "<string>",
"specialties": [
"<string>"
],
"industry": "<string>",
"crunchBaseFunding": [
{
"fundingRoundCount": 123,
"roundDate": "<string>",
"roundName": "<string>",
"investorNames": [
"<string>"
],
"investorCount": 123,
"roundAmount": 123,
"roundCurrency": "<string>"
}
]
},
"product": {
"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>"
]
}
]
},
"oId": "<string>",
"name": "<string>",
"internalName": "Product Internal Name",
"description": "Product Description",
"primaryUrl": "https://www.product.com",
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"research": {
"summary": [
"<string>"
],
"businessDescription": [
"<string>"
],
"businessCharacteristics": [
"<string>"
],
"businessEnvironment": [
"<string>"
]
},
"valueProps": [
{
"oId": "<string>",
"title": "<string>",
"details": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"evidence": [
"<string>"
]
}
],
"references": [
{
"name": "",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>",
"howTheyUseProduct": "",
"howTheyBenefitFromProduct": "",
"howWeImpactedTheirBusiness": [],
"keyStats": []
}
],
"useCase": {
"oId": "<string>",
"name": "<string>",
"internalName": "Use Case Internal Name",
"description": "Use Case Description",
"primaryUrl": "https://www.use-case.com",
"data": {
"summary": "<string>",
"scenarios": [
"<string>"
],
"desiredOutcomes": [
"<string>"
],
"businessDrivers": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"scenarios": [
"<string>"
],
"desiredOutcomes": [
"<string>"
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"playbook": {
"oId": "<string>",
"name": "<string>",
"description": "<string>",
"type": "LEGACY",
"keyInsight": [
"<string>"
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
}
}Enrich a company
curl --request POST \
--url https://app.octavehq.com/api/v2/agents/enrich-company/run \
--header 'Content-Type: application/json' \
--header 'api_key: <api-key>' \
--data '
{
"agentOId": "agent_123",
"companyDomain": "example.com",
"companyName": "Example",
"runtimeContext": {
"user": {
"oId": "user_123"
}
}
}
'{
"_metadata": {
"requestId": "requestId",
"timestamp": "2021-01-01T00:00:00.000Z",
"usage": 0,
"message": "message"
},
"found": true,
"message": "Additional information",
"data": {
"company": {
"name": "<string>",
"description": "<string>",
"domain": "<string>",
"website": "<string>",
"founded": 123,
"location": {
"region": "<string>",
"locality": "<string>",
"postalCode": "<string>",
"countryCode": "<string>",
"streetAddress": "<string>"
},
"employeeCount": 123,
"followerCount": 123,
"type": "<string>",
"slug": "<string>",
"logoUrl": "<string>",
"countryCode": "<string>",
"specialties": [
"<string>"
],
"industry": "<string>",
"crunchBaseFunding": [
{
"fundingRoundCount": 123,
"roundDate": "<string>",
"roundName": "<string>",
"investorNames": [
"<string>"
],
"investorCount": 123,
"roundAmount": 123,
"roundCurrency": "<string>"
}
]
},
"product": {
"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>"
]
}
]
},
"oId": "<string>",
"name": "<string>",
"internalName": "Product Internal Name",
"description": "Product Description",
"primaryUrl": "https://www.product.com",
"qualifyingQuestions": [
{
"question": "<string>",
"rationale": "<string>",
"fitType": "GOOD",
"weight": "MEDIUM",
"archivedAt": "<string>"
}
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"research": {
"summary": [
"<string>"
],
"businessDescription": [
"<string>"
],
"businessCharacteristics": [
"<string>"
],
"businessEnvironment": [
"<string>"
]
},
"valueProps": [
{
"oId": "<string>",
"title": "<string>",
"details": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"evidence": [
"<string>"
]
}
],
"references": [
{
"name": "",
"oId": "<string>",
"matchConfidence": "LOW",
"matchAnalysis": "<string>",
"howTheyUseProduct": "",
"howTheyBenefitFromProduct": "",
"howWeImpactedTheirBusiness": [],
"keyStats": []
}
],
"useCase": {
"oId": "<string>",
"name": "<string>",
"internalName": "Use Case Internal Name",
"description": "Use Case Description",
"primaryUrl": "https://www.use-case.com",
"data": {
"summary": "<string>",
"scenarios": [
"<string>"
],
"desiredOutcomes": [
"<string>"
],
"businessDrivers": [
"<string>"
],
"customFields": [
{
"title": "<string>",
"value": [
"<string>"
]
}
]
},
"scenarios": [
"<string>"
],
"desiredOutcomes": [
"<string>"
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
},
"playbook": {
"oId": "<string>",
"name": "<string>",
"description": "<string>",
"type": "LEGACY",
"keyInsight": [
"<string>"
],
"matchConfidence": "LOW",
"matchAnalysis": "<string>"
}
}
}Enrichment input
AgentOId is required when creating an agent in the application. You can find it in the Agents section of your dashboard.
"agent_123"
Company domain to enrich
"example.com"
Company name to enrich
"Example"
Runtime context
{ "user": { "oId": "user_123" } }Enrichment successful
Whether the operation was successful
true
Message
"Additional information"
Show child attributes
Company details
Show child attributes
Show child attributes
Product details
Show child attributes
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 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"
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
LOW, MEDIUM, HIGH References details
Show child attributes
LOW, MEDIUM, HIGH Use case details
Show child attributes
The internal name of the use case
"Use Case Internal Name"
The description of the use case
"Use Case Description"
The primary URL of the use case
"https://www.use-case.com"
Show child attributes
Summary
Scenarios
Desired Outcomes
Business Drivers
Scenarios
Desired Outcomes
LOW, MEDIUM, HIGH Playbook details
Show child attributes
LEGACY, SECTOR, SOLUTION, MILESTONE, PRACTITIONER, COMPETITIVE, ACCOUNT, CUSTOM LOW, MEDIUM, HIGH