Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vh3.ai/llms.txt

Use this file to discover all available pages before exploring further.

Reports

The Reports endpoints let you generate automated operational reports. Eight report types are available — covering daily operations, weekly summaries, and account-level performance analysis.

Report types

TypeDescription
daily_operationsDaily job completions, SLA performance, and notable events
weekly_summaryWeekly trends, engineer rankings, and operational highlights
account_monthlyPer-customer monthly performance report
executive_healthFive-dimension health check across up to 3 years of history
engineer_performanceIndividual engineer performance breakdown
site_healthSite-level fault and maintenance trends
customer_intelligenceCustomer relationship and risk summary
sentinel_digestSummary of all sentinel triggers in period

POST /reports/generate

Trigger generation of a report. Request body:
FieldTypeRequiredDescription
company_idstringYesYour tenant identifier
api_keystringYesYour tenant API key
report_typestringYesReport type identifier (from table above)
sectionsarrayNoSpecific sections to include (omit for all)
datestringNoReport date (YYYY-MM-DD)
include_narrativebooleanNoInclude AI-generated narrative text
contact_idintegerNoScope to a specific customer (for account reports)
monthstringNoMonth to report on (YYYY-MM)
curl -X POST "https://api.vh3connect.io/api:kP8T1CK7/reports/generate" \
  -H "Content-Type: application/json" \
  -d '{
    "company_id": "your-company-id",
    "api_key": "your-api-key",
    "report_type": "weekly_summary",
    "date": "2024-11-10",
    "include_narrative": true
  }'

GET /reports/sections

Returns available report sections and their metadata. Query parameters:
ParamTypeRequiredDescription
company_idstringYesYour tenant identifier
api_keystringYesYour tenant API key
report_typestringNoFilter sections by report type
curl -G "https://api.vh3connect.io/api:kP8T1CK7/reports/sections" \
  --data-urlencode "company_id=your-company-id" \
  --data-urlencode "api_key=your-api-key" \
  --data-urlencode "report_type=weekly_summary"