The intelligence API surfaces AI-generated insights produced by Daylit’s agent layer. Each insight has aDocumentation Index
Fetch the complete documentation index at: https://help.daylit.com/llms.txt
Use this file to discover all available pages before exploring further.
target_type (customer, invoice, or portfolio), an insight_type key that identifies the model that produced it, and a payload_json object whose shape varies by type. You can list, retrieve, and submit thumbs-up/down feedback on any insight.
List insights
company_id is required — the endpoint returns an empty result set if you omit it or if your account does not have membership in the specified company.
Query parameters
UUID of the company. Membership is enforced server-side.
Filter by target scope:
customer, invoice, or portfolio.Filter by the specific target’s identifier (UUID or string ID).
Partial match on the insight type key (e.g.
signal matches all signal types).Filter to insights linked to a specific customer UUID.
Filter to insights linked to a specific invoice UUID.
When
true, only returns insights where valid_to is null (still active).Response
List of insight objects.
Get insight
payload_json.
Submit feedback
up or down.Optional free-text comment explaining your rating.
Response
Payload schemas by insight type
Thepayload_json field on each insight has a type-specific structure. The following sections document the shape for each supported insight_type.key.
customer_conversation_summary
A concise summary of all customer-level communications.
Up to 18 words, clause style. Empty string if no communications exist or content is unsafe.
Conversation tone:
cooperative, neutral, frustrated, avoidant, unknown, amicable, or defiant.Which team currently owns the next action:
AR, Sales, Operations, Executive, or Customer.One concrete next step to advance the conversation.
null if no communications.YYYY-MM-DD promise-to-pay date, or null.YYYY-MM-DD model-predicted payment date, or null.At most one evidence/reasoning line supporting the summary.
null when no communications exist.Topics mentioned in the conversation that are not related to the main collection issue.
invoice_conversation_summary
A summary of invoice-level communications using a three-question framework.
1–10 stress level. 1 = Proactive/Routine, 10 = Total Silence/Potential Loss.
The immediate to-do or active talking point in the conversation.
What resolution looks like — the north star of the conversation.
Why the desired outcome has not been achieved yet.
customer_signal / invoice_signal / portfolio_signal
A detected material change signal at the customer, invoice, or portfolio level.
Present when a material change was detected.
null when no change was found (in which case reason is populated).Explanation for why
signal is null. Only present when no material change was detected.invoice_pay_date_prediction
An AI prediction of when an invoice will be paid, with supporting evidence.
YYYY-MM-DD predicted payment date. null if insufficient data is available.Primary basis for the prediction:
promise (explicit commitment), historical (past payment patterns), pattern (statistical behavior), or judgement (analyst inference).Data sources used (e.g.
communication_thread, payment_history).Other possible payment dates with probabilities.
customer_strategy_plan
A recommended collection strategy for a customer, including email, call, and internal follow-up action options.
The recommended strategy.