DELETE /v1/calls purges calls and related recordings account-wide and reports sms_deleted=0. For one customer verify each call ID, then use DELETE /v1/calls/{id}.
NOT OFFERED → do this instead · number A business_number filter on campaign and opt-out reads does not establish tenant identity. Authorise the tenant and its number on your server. Keep that filter through SMS pagination. Bulk call deletion stays account-wide.
YOU CAN CHANGE · account Choose direction, source, outcome and period when supported. The number narrows a history read only. direction all, inbound, outbound, web · source all, campaign, web, test, other · outcome all, successful, unsuccessful, unknown, failed · period all, today, week, month.
SCOPE · account Keep the same filters with each server-issued cursor.
Read the compact AI rules
Define the facts your application needs after a call and preserve incomplete or unavailable analysis until processing finishes.
Timing: After conversation ·
Fields: data_extraction_fields ·
Validation: Application responsibility
The important part
- A completed call can still have unfinished post-call work.
- Extracted facts are model output; validate them before consequential actions.
- Use structured fields and signed results rather than parsing a summary as a receipt.
Prerequisites
KeepNIXFLEX_API_KEY private on the server. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Use owned identifiers; SDK and CLI examples need the documented minimum versions. Choose the business questions the call should answer and how your system represents unknown values.
1. Read the agent configuration
Node and Python below use their standard HTTP clients. KeepNIXFLEX_API_KEY on the server. The CLI examples require a CLI version that supports the command; see release status. No example retries a mutation automatically.
2. Define focused fields
Use the documenteddata_extraction_fields shape in the agent contract. Name each field clearly, choose a supported type and explain what counts as evidence. Avoid requesting information the conversation never asks for.