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

# Re-run Analysis (bulk)

> Re-run extraction, evaluation and caller sentiment with the agent's current settings on up to 50 of its ended calls in a time window, newest first. Calls with no caller speech or with deleted content are skipped.



## OpenAPI

````yaml POST /calls/reanalyze
openapi: 3.1.0
info:
  title: RevRing Voice AI API
  description: >-
    RevRing Voice AI platform API for managing AI voice agents, phone calls, SIP
    trunks, and analytics. Build intelligent voice applications that can handle
    inbound and outbound phone calls with AI-powered conversational agents.
  version: 1.0.0
  contact:
    name: RevRing Support
    url: https://revring.ai
servers:
  - url: https://api.revring.ai/v1
    description: Production API
security:
  - apiKeyAuth: []
tags:
  - name: Messaging Connections
    description: Connect messaging providers so agents can send text messages
  - name: Messages
    description: Send text messages and read your message log
  - name: Conversations
    description: List and clear managed conversation threads
  - name: SIP Trunks
    description: Manage SIP trunks for connecting agents to the phone network
  - name: Agents
    description: Manage AI voice agents and their configuration
  - name: Agent Folders
    description: Organize agents into folders for dashboard navigation
  - name: Calls
    description: Manage and query phone calls
  - name: Analytics
    description: Get analytics and metrics about your calls
  - name: Knowledge Bases
    description: >-
      Manage knowledge bases and sources for agent retrieval-augmented
      generation
  - name: Test Suites
    description: Manage test suites, test cases, and test runs for agent evaluation
  - name: Voices
    description: Browse the voices available to your organization for agent speech
  - name: Webhooks
    description: Webhook delivery settings for your organization
paths:
  /calls/reanalyze:
    post:
      tags:
        - Calls
      summary: Re-run Analysis (bulk)
      description: >-
        Re-run extraction, evaluation and caller sentiment with the agent's
        current settings on up to 50 of its ended calls in a time window, newest
        first. Calls with no caller speech or with deleted content are skipped.
      operationId: reanalyzeCalls
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - agentId
              properties:
                agentId:
                  type: string
                from:
                  type: string
                  format: date-time
                to:
                  type: string
                  format: date-time
                limit:
                  type: integer
                  minimum: 1
                  maximum: 50
                  default: 50
                resendWebhook:
                  type: boolean
                  default: false
                  description: Deliver the post-call webhook again with the new results
      responses:
        '200':
          description: Results
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      reanalyzed:
                        type: integer
                      skipped:
                        type: integer
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            callId:
                              type: string
                            status:
                              type: string
                              enum:
                                - reanalyzed
                                - skipped
                            reason:
                              type: string
                              enum:
                                - content_deleted
                                - nothing_to_analyze
                                - not_ended
        '400':
          description: invalid_body
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '404':
          description: agent_not_found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Generate API keys from the RevRing
        dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.