1. Prepare a configuration
A configuration contains:- a qualification objective;
- sub-objectives such as need, budget, and timeline;
- the questions the engine may propose;
- success information to collect;
- simple journey length and ordering rules.
2. Publish a version
Publishing validates the draft and starts an asynchronous compilation. Once it succeeds, a new version becomes active.Closing NBQ Studio does not stop a compilation. Work continues on the server and its status remains available through the compilation identifier.
3. Decide during the conversation
For every answer, your backend calls/v1/sessions/{session_id}/next. NBQ:
- understands the previous turn or applies its structured answer;
- updates what is known;
- recalculates progress;
- removes forbidden or resolved questions;
- ranks the remaining questions and returns the best candidates.
degraded and degraded_reasons.
What the public API exposes
The public API exposes the decision, questions, useful state, and progress. It does not expose internal prompts, embeddings, detailed evidence, or ranking parameters.Session lifecycle
Learn how to combine session creation, turns, events, reads, and feedback.