> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cekura.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Deep Research Insights

> Queue a Deep Research audit; returns the new row in ``pending``.



## OpenAPI

````yaml post /observability/v1/deep-research-insights/generate/
openapi: 3.1.0
info:
  title: Cekura API
  version: v1
  description: >-
    Complete API documentation for the Cekura platform. This API provides
    endpoints for testing, observing, and evaluating AI voice agents — including
    managing agents, running evaluators, defining metrics, and analyzing call
    quality.
servers:
  - url: https://api.cekura.ai
security: []
paths:
  /observability/v1/deep-research-insights/generate/:
    post:
      tags:
        - observability
      description: |-
        Queue a Deep Research audit; returns the new row in ``pending``.

        Cost: ``get_deep_research_cost()`` credits per press that actually
        queues a fresh audit — spam protection for an expensive
        Modal-sandboxed agent run. The price is admin-configurable via the
        ``DEEP_RESEARCH_GENERATION_COST`` SettingValue. Insufficient
        balance → HTTP 402 from the global exception handler before any
        work is queued. A press that only gets an already-in-flight row
        back (double-click while one is still running) is not charged.
      operationId: deep-research-insights-generate-create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeepResearchInsightGenerate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/DeepResearchInsightGenerate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/DeepResearchInsightGenerate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeepResearchInsightGenerate'
          description: ''
      security:
        - api_key: []
components:
  schemas:
    DeepResearchInsightGenerate:
      type: object
      description: Request body for ``POST /deep-research-insights/generate/``.
      properties:
        project:
          type: integer
          description: Project ID to generate Deep Research for.
        window_days:
          type: integer
          maximum: 30
          minimum: 1
          default: 7
        max_calls:
          type: integer
          maximum: 1000
          minimum: 10
          default: 200
      required:
        - project
  securitySchemes:
    api_key:
      type: apiKey
      name: X-CEKURA-API-KEY
      in: header
      description: >-
        API Key Authentication. It should be included in the header of each
        request.

````