← Survey

Survey for agents

agent

Survey is designed for the case where an agent is the buyer. Integrate Survey into a customer app in fewer tokens than building one in-house.

End-to-end loop

  1. Provision. Call the MCP tool provisionProject or POST /v1/projects. Returns a project id, a publishable key, a service key, and a copy-paste integration snippet.
  2. Integrate. Drop the snippet into the customer app — one component import in one render location.
  3. Author. parseSurvey + createSurvey publishSurvey. We don't call an LLM — your agent writes the questions, we standardize and serve them.
  4. Learn. summarizeResponses returns token-efficient analytics: bucket distributions, NPS scores, and clustered free-text themes designed to drop into your next prompt without further parsing.

Token-cost SLA

Target: a full integration round trip — provision, integrate, render — in under 1.5k tokens. Per-tool token costs are listed in the MCP reference.

Pointers