Skip to main content

Briefings

Generate a structured pre-visit briefing and call script for an engineer assigned to a job. Pulls job and customer context from the intelligence layer (regenerates the account summary when requested) and produces markdown briefing content plus a natural-language call opener. Designed for onTheWay or scheduled job transitions.

POST /briefing/generate

Generate an engineer briefing for a specific job. Request body: Response fields: Example:
Use cases:
  • Pre-visit pack: Deliver site history, equipment context, and diagnostic precedents before arrival.
  • Voice briefing: Feed call_script to an outbound call agent; send briefing via POST /briefing/send-email after the call.
  • Dispatcher assist: Regenerate with force_regenerate_summary: true when account context has changed since the last visit.
Notes:
  • Uses platform AI; subject to capacity limits (503 with Retry-After when saturated).
  • Returns 404 when the job or contact cannot be resolved.
  • Typical latency 5–15s depending on summary cache hit.