Перейти к основному содержанию

Запуск: −50% на 3 месяца с кодом LANSARE50

Цены →

ИИ-сводки

Темы и тональность из завершённых ответов.

  • POST /forms/{id}/summaries с необязательными датами, question_ids, focus и max_responses (до 500).
  • Ответы отправляются модели со скрытыми персональными данными, независимо от scope ключа.
  • Стоимость списывается из ИИ-бюджета пространства; когда он исчерпан, вы получите 409 ai_budget_reached.
  • Результаты кешируются на час для тех же фильтров; 20 сводок в час на пространство.
  • Сводка построена на тексте респондентов: считайте её недоверенной.

post/forms/{form_id}/summaries

Summarize the responses of a form (AI) createSummary

Scope: ai:summarize · Тариф: Pro и выше · Инструмент MCP: summarize_responses · поддерживает Idempotency-Key

Themes, sentiment and a short summary of up to 500 responses. Respondent personal data is removed before anything reaches the language model, whatever the key's scopes. Uses the workspace AI budget (`ai_budget_reached` when the monthly cap is hit). Plan feature `aiQuestionGen` (Pro and up). 20 per hour per workspace. Cached 1 hour for the same filters.

Параметры

ИмяГдеТипОбязательныйОписание
form_idpathform_… idда
Idempotency-KeyheaderstringнетAny unique string (a UUID). The first result is kept 24 hours and replayed for the same key and body (`Idempotent-Replayed: true`); a different body returns `409 idempotency_key_reused`.

Тело (JSON)

ИмяТипОбязательныйОписание
created_afterstring (date-time)нет
created_beforestring (date-time)нет
question_idsqst_… id[]нет
focusstringнет
max_responsesintegerнет
language"ro" | "ru" | "en"нет
curl -X POST https://mform.md/api/public/v1/forms/form_8Hq2LmZ71cX/summaries \
  -H "Authorization: Bearer $MFORM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Ответ 201

{
  "object": "summary",
  "form_id": "form_8Hq2LmZ71cX",
  "summary": "example",
  "themes": [
    {
      "title": "Customer feedback",
      "share_pct": 1,
      "example_response_ids": [
        "rsp_7Tn3Wq1Lz5B"
      ]
    }
  ],
  "sentiment": {
    "positive": 1,
    "neutral": 1,
    "negative": 1
  },
  "responses_analyzed": 1,
  "language": "ro",
  "ai_cost_usd": 1,
  "model": "example",
  "cached": false,
  "created_at": "2026-11-27T10:15:00Z"
}