Return active delivery details and the source sold opportunity context. An engagement is the opportunity's delivery phase: it shares the opportunity's tasks, requirements, notes, people and value, and adds deliverables. Change shared fields through the opportunity tools.
Output schema
{
"type": "object",
"properties": {
"engagement": {
"type": "object",
"properties": {
"opportunity": {
"type": "object",
"properties": {
"opportunity_id": {
"type": "string"
},
"company_id": {
"type": "string"
},
"organization_doc_id": {
"type": "string"
},
"name": {
"type": "string"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"stage": {
"type": "string",
"enum": [
"qualification",
"scoping",
"contracting"
]
},
"outcome": {
"anyOf": [
{
"type": "string",
"enum": [
"sold",
"lost"
]
},
{
"type": "null"
}
]
},
"completion_stage": {
"anyOf": [
{
"type": "string",
"enum": [
"qualification",
"scoping",
"contracting"
]
},
{
"type": "null"
}
]
},
"loss_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"active_engagement_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priority": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"urgent"
]
},
"health": {
"type": "string",
"enum": [
"on_track",
"needs_attention",
"blocked",
"stale",
"unknown"
]
},
"owner_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_contact_person_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_type": {
"type": "string",
"enum": [
"manual",
"search",
"research_objective",
"campaign",
"signal",
"referral"
]
},
"source_search_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"estimated_spend": {
"anyOf": [
{
"type": "object",
"properties": {
"min": {
"type": "number",
"minimum": 0
},
"max": {
"type": "number",
"minimum": 0
},
"currency": {
"type": "string",
"enum": [
"USD"
]
},
"period": {
"type": "string",
"enum": [
"one_time",
"monthly",
"annual"
]
},
"confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"basis": {
"type": "string"
},
"source_note_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"currency",
"confidence",
"basis",
"source_note_ids"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"booked_value": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"target_close_date": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"next_action": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_action_due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"created_by_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"closed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"archived_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"opportunity_id",
"company_id",
"organization_doc_id",
"name",
"summary",
"stage",
"outcome",
"completion_stage",
"loss_reason",
"active_engagement_id",
"priority",
"health",
"owner_operator_user_id",
"primary_contact_person_id",
"source_type",
"source_search_ids",
"estimated_spend",
"booked_value",
"target_close_date",
"next_action",
"next_action_due_at",
"created_by_operator_user_id",
"created_at",
"updated_at",
"closed_at",
"archived_at"
],
"additionalProperties": false
},
"company": {
"type": "object",
"properties": {
"company_id": {
"type": "string"
},
"name": {
"type": "string"
},
"primary_domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_company_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hq": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"size_band": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"known_relevant_people_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recent_match_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recent_matches_truncated": {
"type": "boolean"
},
"latest_surfaced_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"last_observed_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completeness": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"rich",
"partial",
"skeleton",
"needs_refresh"
]
},
"missing_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"present_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"priority_missing_fields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"status",
"missing_fields",
"present_fields",
"priority_missing_fields"
],
"additionalProperties": false
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tag_id": {
"type": "string"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"color": {
"type": "string"
},
"icon_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"icon_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"seeded",
"custom"
]
}
},
"required": [
"tag_id",
"key",
"label",
"color",
"icon_key",
"icon_path",
"source"
],
"additionalProperties": false
}
}
},
"required": [
"company_id",
"name",
"primary_domain",
"source_company_url",
"hq",
"size_band",
"known_relevant_people_count",
"recent_match_count",
"recent_matches_truncated",
"latest_surfaced_at",
"updated_at",
"last_observed_at",
"completeness",
"tags"
],
"additionalProperties": false
},
"participants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"person_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"person": {
"anyOf": [
{
"type": "object",
"properties": {
"person_id": {
"type": "string"
},
"name": {
"type": "string"
},
"current_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_size_band": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_employment_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"current_title_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"country_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"about_summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profile_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_email_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"primary_phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_phone_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_phone_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"recent_match_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recent_matches_truncated": {
"type": "boolean"
},
"latest_surfaced_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"last_observed_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completeness": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"rich",
"partial",
"skeleton",
"needs_refresh"
]
},
"missing_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"present_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"priority_missing_fields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"status",
"missing_fields",
"present_fields",
"priority_missing_fields"
],
"additionalProperties": false
}
},
"required": [
"person_id",
"name",
"current_title",
"current_company_id",
"current_company_name",
"current_company_size_band",
"current_employment_source_claim",
"current_title_source_claim",
"location",
"country_code",
"about_summary",
"source_profile_url",
"profile_image_url",
"primary_email",
"primary_email_status",
"primary_email_source",
"primary_phone",
"primary_phone_status",
"primary_phone_source",
"recent_match_count",
"recent_matches_truncated",
"latest_surfaced_at",
"updated_at",
"last_observed_at",
"completeness"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"operator_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"primary_buyer",
"economic_buyer",
"champion",
"technical_evaluator",
"security",
"legal",
"procurement",
"blocker",
"advisor",
"stakeholder",
"unknown",
"owner",
"supporting_operator",
"technical_owner",
"delivery_owner",
"executive_sponsor"
]
},
"relationship_status": {
"type": "string",
"enum": [
"unknown",
"active",
"supportive",
"neutral",
"blocked"
]
},
"notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"is_primary": {
"type": "boolean"
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"hydration": {
"anyOf": [
{
"type": "object",
"properties": {
"refresh_id": {
"type": "string"
},
"person_id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"completed",
"failed"
]
},
"outcome": {
"anyOf": [
{
"type": "string",
"enum": [
"improved",
"no_change",
"needs_review",
"failed"
]
},
{
"type": "null"
}
]
},
"changed_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"acquisition_route": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"evidence_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"proposed_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"applied_fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"before": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"after": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"evidence_urls": {
"type": "array",
"items": {
"type": "string",
"pattern": "^https?:\\/\\/"
}
},
"confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
}
},
"required": [
"field",
"before",
"after",
"evidence_urls",
"confidence"
],
"additionalProperties": false
}
},
"rejected_downgrades": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"reason": {
"type": "string",
"enum": [
"proposed_value_absent",
"lower_confidence",
"stale_evidence",
"contradictory_value_requires_review"
]
},
"previous_value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"proposed_value": {
"anyOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"previous_confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"proposed_confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
}
},
"required": [
"field",
"reason",
"previous_value",
"proposed_value",
"previous_confidence",
"proposed_confidence"
],
"additionalProperties": false
}
},
"duration_ms": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requested_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"started_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"refresh_id",
"person_id",
"status",
"outcome",
"changed_fields",
"acquisition_route",
"evidence_count",
"proposed_fields",
"applied_fields",
"rejected_downgrades",
"duration_ms",
"error",
"requested_at",
"started_at",
"completed_at"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"unavailable"
]
},
"reason": {
"type": "string",
"enum": [
"legacy_history_truncated"
]
}
},
"required": [
"status",
"reason"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"person_id",
"person",
"operator_user_id",
"operator_name",
"role",
"relationship_status",
"notes",
"is_primary",
"created_at",
"updated_at",
"hydration"
],
"additionalProperties": false
}
},
"participants_truncated": {
"type": "boolean"
},
"requirements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"requirement_id": {
"type": "string"
},
"category": {
"type": "string",
"enum": [
"technical",
"security",
"legal",
"procurement",
"commercial",
"staffing",
"implementation",
"data",
"success_criteria",
"other"
]
},
"title": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"blocked",
"satisfied",
"dismissed"
]
},
"priority": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"urgent"
]
},
"owner_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"source_note_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"source_signal_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"requirement_id",
"category",
"title",
"description",
"status",
"priority",
"owner_operator_user_id",
"due_at",
"source_note_ids",
"source_signal_ids",
"created_at",
"updated_at",
"completed_at"
],
"additionalProperties": false
}
},
"tasks": {
"type": "object",
"properties": {
"revision": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"open": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"opportunity_id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"blocked",
"completed",
"dismissed"
]
},
"assignee_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"created_by_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_requirement_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_signal_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"task_id",
"opportunity_id",
"title",
"description",
"status",
"assignee_operator_user_id",
"due_at",
"completed_at",
"created_by_operator_user_id",
"source_requirement_id",
"source_signal_id",
"created_at",
"updated_at"
],
"additionalProperties": false
}
},
"continue_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"has_more": {
"type": "boolean"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"items",
"continue_cursor",
"has_more",
"truncated"
],
"additionalProperties": false
},
"recently_completed": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"task_id": {
"type": "string"
},
"opportunity_id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"blocked",
"completed",
"dismissed"
]
},
"assignee_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"created_by_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_requirement_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_signal_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"task_id",
"opportunity_id",
"title",
"description",
"status",
"assignee_operator_user_id",
"due_at",
"completed_at",
"created_by_operator_user_id",
"source_requirement_id",
"source_signal_id",
"created_at",
"updated_at"
],
"additionalProperties": false
}
},
"continue_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"has_more": {
"type": "boolean"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"items",
"continue_cursor",
"has_more",
"truncated"
],
"additionalProperties": false
}
},
"required": [
"revision",
"open",
"recently_completed"
],
"additionalProperties": false
},
"notes": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"note_id": {
"type": "string"
},
"entity_type": {
"type": "string",
"enum": [
"company",
"person",
"opportunity"
]
},
"entity_id": {
"type": "string"
},
"title": {
"type": "string"
},
"body_markdown": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"source_urls": {
"type": "array",
"items": {
"type": "string"
}
},
"related_note_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"note_id",
"entity_type",
"entity_id",
"title",
"body_markdown",
"tags",
"source_urls",
"related_note_ids",
"created_at",
"updated_at"
],
"additionalProperties": false
}
},
"truncated": {
"type": "boolean"
}
},
"required": [
"items",
"truncated"
],
"additionalProperties": false
},
"activities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"activity_id": {
"type": "string"
},
"opportunity_id": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"created",
"stage_changed",
"status_changed",
"outcome_changed",
"archived",
"loss_reason_updated",
"booked_value_changed",
"owner_changed",
"attribution_assigned",
"attribution_replaced",
"attribution_cleared",
"participant_added",
"participant_updated",
"note_created",
"requirement_created",
"requirement_updated",
"task_created",
"task_updated",
"task_completed",
"search_attached",
"objective_attached",
"signal_observed",
"signal_promoted",
"signal_dismissed",
"mcp_write"
]
},
"summary": {
"type": "string"
},
"actor_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"type": "string"
},
"related_entity_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"related_entity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payload": {},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"activity_id",
"opportunity_id",
"type",
"summary",
"actor_operator_user_id",
"source",
"related_entity_type",
"related_entity_id",
"payload",
"created_at"
],
"additionalProperties": false
}
},
"attached_searches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"search_id": {
"type": "string"
},
"label": {
"type": "string"
},
"target_mode": {
"type": "string",
"enum": [
"people_and_companies",
"people",
"companies"
]
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"idle",
"paused",
"reconciling",
"complete",
"failed"
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"search_id",
"label",
"target_mode",
"status",
"created_at",
"completed_at"
],
"additionalProperties": false
}
},
"related_campaigns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"campaign_id": {
"type": "string"
},
"name": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"campaign_id",
"name",
"status"
],
"additionalProperties": false
}
},
"signals": {
"type": "array",
"items": {
"type": "object",
"properties": {
"signal_id": {
"type": "string"
},
"target_type": {
"type": "string",
"enum": [
"company",
"person",
"opportunity"
]
},
"target_id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"company_news",
"hiring_change",
"funding_or_finance",
"leadership_change",
"product_change",
"technology_signal",
"procurement_signal",
"stale_opportunity",
"missing_next_action",
"missing_stakeholder",
"requirement_risk",
"other"
]
},
"title": {
"type": "string"
},
"summary": {
"type": "string"
},
"evidence_urls": {
"type": "array",
"items": {
"type": "string",
"pattern": "^https?:\\/\\/"
}
},
"source_search_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_run_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"observed_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"review_state": {
"type": "string",
"enum": [
"new",
"dismissed",
"attached",
"promoted_to_note",
"promoted_to_task",
"promoted_to_requirement"
]
},
"reviewed_by_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reviewed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"opportunity_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"signal_id",
"target_type",
"target_id",
"kind",
"title",
"summary",
"evidence_urls",
"source_search_id",
"source_run_id",
"confidence",
"observed_at",
"created_at",
"review_state",
"reviewed_by_operator_user_id",
"reviewed_at",
"opportunity_id"
],
"additionalProperties": false
}
},
"person_mentions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mention_id": {
"type": "string"
},
"opportunity_id": {
"type": "string"
},
"note_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mention_text": {
"type": "string"
},
"title_hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"searching",
"resolved",
"ambiguous",
"failed"
]
},
"person_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"person": {
"anyOf": [
{
"type": "object",
"properties": {
"person_id": {
"type": "string"
},
"name": {
"type": "string"
},
"current_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_size_band": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_employment_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"current_title_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"country_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"about_summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profile_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_email_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"primary_phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_phone_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_phone_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"recent_match_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recent_matches_truncated": {
"type": "boolean"
},
"latest_surfaced_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"last_observed_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completeness": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"rich",
"partial",
"skeleton",
"needs_refresh"
]
},
"missing_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"present_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"priority_missing_fields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"status",
"missing_fields",
"present_fields",
"priority_missing_fields"
],
"additionalProperties": false
}
},
"required": [
"person_id",
"name",
"current_title",
"current_company_id",
"current_company_name",
"current_company_size_band",
"current_employment_source_claim",
"current_title_source_claim",
"location",
"country_code",
"about_summary",
"source_profile_url",
"profile_image_url",
"primary_email",
"primary_email_status",
"primary_email_source",
"primary_phone",
"primary_phone_status",
"primary_phone_source",
"recent_match_count",
"recent_matches_truncated",
"latest_surfaced_at",
"updated_at",
"last_observed_at",
"completeness"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"search_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"search": {
"anyOf": [
{
"type": "object",
"properties": {
"search_id": {
"type": "string"
},
"label": {
"type": "string"
},
"target_mode": {
"type": "string",
"enum": [
"people_and_companies",
"people",
"companies"
]
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"idle",
"paused",
"reconciling",
"complete",
"failed"
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completed_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"search_id",
"label",
"target_mode",
"status",
"created_at",
"completed_at"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"candidate_people": {
"type": "array",
"items": {
"type": "object",
"properties": {
"person_id": {
"type": "string"
},
"name": {
"type": "string"
},
"current_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_company_size_band": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"current_employment_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"current_title_source_claim": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"type": "string",
"enum": [
"import"
]
},
"status": {
"type": "string",
"enum": [
"unverified"
]
},
"reference_id": {
"type": "string"
}
},
"required": [
"source",
"status",
"reference_id"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"country_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"about_summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source_profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profile_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_email_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_email_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"primary_phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_phone_status": {
"anyOf": [
{
"type": "string",
"enum": [
"unverified",
"verified",
"bounced",
"invalid",
"opted_out",
"stale",
"do_not_contact"
]
},
{
"type": "null"
}
]
},
"primary_phone_source": {
"anyOf": [
{
"type": "string",
"enum": [
"manual",
"inbound_email",
"gmail_sync",
"provider",
"research_note",
"linkedin_profile",
"import"
]
},
{
"type": "null"
}
]
},
"recent_match_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"recent_matches_truncated": {
"type": "boolean"
},
"latest_surfaced_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"last_observed_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completeness": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"rich",
"partial",
"skeleton",
"needs_refresh"
]
},
"missing_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"present_fields": {
"type": "array",
"items": {
"type": "string"
}
},
"priority_missing_fields": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"status",
"missing_fields",
"present_fields",
"priority_missing_fields"
],
"additionalProperties": false
}
},
"required": [
"person_id",
"name",
"current_title",
"current_company_id",
"current_company_name",
"current_company_size_band",
"current_employment_source_claim",
"current_title_source_claim",
"location",
"country_code",
"about_summary",
"source_profile_url",
"profile_image_url",
"primary_email",
"primary_email_status",
"primary_email_source",
"primary_phone",
"primary_phone_status",
"primary_phone_source",
"recent_match_count",
"recent_matches_truncated",
"latest_surfaced_at",
"updated_at",
"last_observed_at",
"completeness"
],
"additionalProperties": false
}
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_by_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"resolved_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"mention_id",
"opportunity_id",
"note_id",
"mention_text",
"title_hint",
"status",
"person_id",
"person",
"search_id",
"search",
"candidate_people",
"error",
"created_by_operator_user_id",
"created_at",
"updated_at",
"resolved_at"
],
"additionalProperties": false
}
},
"coverage": {
"type": "object",
"properties": {
"missing_primary_buyer": {
"type": "boolean"
},
"missing_champion": {
"type": "boolean"
},
"missing_open_requirement": {
"type": "boolean"
},
"missing_next_action": {
"type": "boolean"
},
"stale": {
"type": "boolean"
},
"no_recent_update": {
"type": "boolean"
},
"blocked_requirement_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"overdue_task_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"open_task_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"open_requirement_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"task_counts_truncated": {
"type": "boolean"
}
},
"required": [
"missing_primary_buyer",
"missing_champion",
"missing_open_requirement",
"missing_next_action",
"stale",
"no_recent_update",
"blocked_requirement_count",
"overdue_task_count",
"open_task_count",
"open_requirement_count",
"task_counts_truncated"
],
"additionalProperties": false
},
"engagement": {
"type": "object",
"properties": {
"engagement_id": {
"type": "string"
},
"opportunity_id": {
"type": "string"
},
"company_id": {
"type": "string"
},
"company_name": {
"type": "string"
},
"name": {
"type": "string"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"owner_operator_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"owner_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_contact_person_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"primary_contact_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"estimated_spend_min": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"enum": [
"NaN",
"Infinity",
"-Infinity"
]
},
{
"type": "null"
}
]
},
"estimated_spend_max": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"enum": [
"NaN",
"Infinity",
"-Infinity"
]
},
{
"type": "null"
}
]
},
"estimated_spend_confidence": {
"anyOf": [
{
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "null"
}
]
},
"started_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"created_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"updated_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completion_stage": {
"type": "string",
"enum": [
"qualification",
"scoping",
"contracting"
]
},
"active_opportunity_id": {
"type": "string"
},
"priority": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"urgent"
]
},
"health": {
"type": "string",
"enum": [
"on_track",
"needs_attention",
"blocked",
"stale",
"unknown"
]
},
"booked_value": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"enum": [
"NaN",
"Infinity",
"-Infinity"
]
},
{
"type": "null"
}
]
},
"next_action": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_action_due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"next_task_title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"next_task_due_at": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"open_task_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"overdue_task_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"open_requirement_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"missing_critical_requirement_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"blocked_requirement_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"activity_at": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"deliverable_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"delivered_deliverable_count": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"organization_doc_id": {
"type": "string"
},
"estimated_spend": {
"anyOf": [
{
"type": "object",
"properties": {
"min": {
"type": "number",
"minimum": 0
},
"max": {
"type": "number",
"minimum": 0
},
"currency": {
"type": "string",
"enum": [
"USD"
]
},
"period": {
"type": "string",
"enum": [
"one_time",
"monthly",
"annual"
]
},
"confidence": {
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
"basis": {
"type": "string"
},
"source_note_ids": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"currency",
"confidence",
"basis",
"source_note_ids"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opportunity_stage": {
"type": "string",
"enum": [
"qualification",
"scoping",
"contracting"
]
},
"opportunity_outcome": {
"type": "string",
"enum": [
"sold",
"lost"
]
}
},
"required": [
"engagement_id",
"opportunity_id",
"company_id",
"company_name",
"name",
"summary",
"owner_operator_user_id",
"owner_name",
"primary_contact_person_id",
"primary_contact_name",
"estimated_spend_min",
"estimated_spend_max",
"estimated_spend_confidence",
"started_at",
"created_at",
"updated_at",
"completion_stage",
"active_opportunity_id",
"priority",
"health",
"booked_value",
"next_action",
"next_action_due_at",
"next_task_title",
"next_task_due_at",
"open_task_count",
"overdue_task_count",
"open_requirement_count",
"missing_critical_requirement_count",
"blocked_requirement_count",
"activity_at",
"deliverable_count",
"delivered_deliverable_count",
"organization_doc_id",
"estimated_spend",
"opportunity_stage",
"opportunity_outcome"
],
"additionalProperties": false
}
},
"required": [
"opportunity",
"company",
"participants",
"participants_truncated",
"requirements",
"tasks",
"notes",
"activities",
"attached_searches",
"related_campaigns",
"signals",
"person_mentions",
"coverage",
"engagement"
],
"additionalProperties": false
}
},
"required": [
"engagement"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}