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

# API de analíticas de casos

> La API de Didit devuelve analíticas de casos: tendencias de creados vs. revisados, tasa de amenazas y falsos positivos, tiempos de SLA y cola en vivo.



Prompt de la API de analítica de casos
        Copiar el prompt al portapapeles



      
      

\<pre>

\`Pull case analytics through the Management API.

Endpoint:
GET https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/statistics/

Authentication:
Use the x-api-key header with my Didit API key.

Query params:
\- date_from=YYYY-MM-DD (default: 30 days ago)
\- date_to=YYYY-MM-DD (default: today)
\- range cannot exceed 731 days; date_from must not be after date_to.

Example call:
curl -X GET "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/statistics/?date_from=2026-06-01&date_to=2026-06-30" \
-H "x-api-key: YOUR_API_KEY"

Response 200 shape:
\{
"series": [{"date": "2026-06-01", "created": 4, "reviewed": 2}, ...],
"tables": {
"officer": [{"key": "officer@company.com", "created": ..., "resolved": ..., "threat_rate": ..., ...}, ...],
"blueprint": [{"key": "AML investigation:<uuid>", ...}, ...],
"source": [{"key": "MANUAL", ...}, ...],
"status": [{"key": "OPEN", ...}, ...]
},
"totals": {"created": ..., "assigned": ..., "resolved": ..., "threat_rate": ..., "false_positive_rate": ..., "unresolved": ..., "reassignment_rate": ..., "escalation_rate": ..., "avg_assign_hours": ..., "avg_resolve_hours": ..., "avg_handling_hours": ...},
"queue": {"open": 12, "overdue": 3}
}
Note: queue is a live snapshot, not scoped to date_from/date_to.

Failure modes:
\- 400 - invalid date format, date_from after date_to, or range over 731 days.
\- 401/403 - auth/permission errors (requires list:cases).

Side effects: none, pure read/aggregate.

For the full integration shape, see /integration/integration-prompt.`

\</pre>



      
      

Pegar en

Métricas agregadas que alimentan las [pestañas Overview y Analytics de la Console](https://docs.didit.me/es/console/case-management/analytics.md): una serie diaria de casos creados frente a revisados, cuatro tablas de desglose, totales consolidados y la cola en tiempo real de casos abiertos y vencidos.## Relacionado- [Analítica (Console)](https://docs.didit.me/es/console/case-management/analytics.md)
- [Listar casos](https://docs.didit.me/es/management-api/cases/list.md)


## OpenAPI

````yaml es/openapi-25.json GET /v3/organization/{organization_id}/application/{application_id}/cases/statistics/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: API de verificación de identidad. Autentícate con el encabezado x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/organization/{organization_id}/application/{application_id}/cases/statistics/:
    get:
      tags:
        - Cases
      summary: Analítica de casos
      description: >-
        Analítica agregada de casos para el intervalo de fechas (por defecto,
        los últimos 30 días; máximo 731 días). Los gráficos, las tablas, los
        totales, los eventos de asignación y los recuentos actuales de las colas
        usan los mismos filtros limitados a la aplicación. Los filtros usan los
        valores actuales de los casos. Las fechas se aplican a cada evento de
        métrica, por lo que los casos más antiguos asignados o resueltos durante
        el periodo siguen incluidos. La profundidad de las colas no depende del
        intervalo de fechas. Los filtros no válidos devuelven 400; una plantilla
        (blueprint) o un asignado desconocidos devuelven un resultado vacío.
      operationId: get_case_analytics
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID de la organización.
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID de la aplicación.
        - name: date_from
          in: query
          schema:
            type: string
            format: date
          description: >-
            Inicio del rango (inclusive). El valor predeterminado es hace 30
            días.
        - name: date_to
          in: query
          schema:
            type: string
            format: date
          description: Fin del rango (inclusive). El valor predeterminado es hoy.
        - name: blueprint
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filtrar por el UUID del blueprint actual.
        - name: assigned_to
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filtrar por el UUID del usuario revisor asignado actualmente.
        - name: priority
          in: query
          required: false
          schema:
            type: string
            enum:
              - LOW
              - MEDIUM
              - HIGH
          description: Filtra por la prioridad actual del caso.
        - name: source
          in: query
          required: false
          schema:
            type: string
            enum:
              - MANUAL
              - AML_SCREENING
              - TRANSACTION_RULE
              - WORKFLOW_BUILDER
          description: Filtra por origen de creación del caso.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - OPEN
              - AWAITING_USER
              - RESOLVED
          description: Filtra por el estado actual del caso.
      responses:
        '200':
          description: Payload de analítica.
          content:
            application/json:
              schema:
                type: object
                properties:
                  series:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                        created:
                          type: integer
                        reviewed:
                          type: integer
                  tables:
                    type: object
                    properties:
                      officer:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: >-
                                Valor de la dimensión: correo electrónico del
                                responsable, "blueprint_name:uuid", fuente o
                                estado. "unassigned"/"none" para las dimensiones
                                ausentes.
                            created:
                              type: integer
                            assigned:
                              type: integer
                            resolved:
                              type: integer
                            threat_rate:
                              type: number
                              format: float
                            false_positive_rate:
                              type: number
                              format: float
                            unresolved:
                              type: integer
                            reassignment_rate:
                              type: number
                              format: float
                            escalation_rate:
                              type: number
                              format: float
                            avg_assign_hours:
                              type: number
                              format: float
                            avg_resolve_hours:
                              type: number
                              format: float
                            avg_handling_hours:
                              type: number
                              format: float
                      blueprint:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: >-
                                Valor de la dimensión: correo electrónico del
                                responsable, "blueprint_name:uuid", fuente o
                                estado. "unassigned"/"none" para las dimensiones
                                ausentes.
                            created:
                              type: integer
                            assigned:
                              type: integer
                            resolved:
                              type: integer
                            threat_rate:
                              type: number
                              format: float
                            false_positive_rate:
                              type: number
                              format: float
                            unresolved:
                              type: integer
                            reassignment_rate:
                              type: number
                              format: float
                            escalation_rate:
                              type: number
                              format: float
                            avg_assign_hours:
                              type: number
                              format: float
                            avg_resolve_hours:
                              type: number
                              format: float
                            avg_handling_hours:
                              type: number
                              format: float
                      source:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: >-
                                Valor de la dimensión: correo electrónico del
                                responsable, "blueprint_name:uuid", fuente o
                                estado. "unassigned"/"none" para las dimensiones
                                ausentes.
                            created:
                              type: integer
                            assigned:
                              type: integer
                            resolved:
                              type: integer
                            threat_rate:
                              type: number
                              format: float
                            false_positive_rate:
                              type: number
                              format: float
                            unresolved:
                              type: integer
                            reassignment_rate:
                              type: number
                              format: float
                            escalation_rate:
                              type: number
                              format: float
                            avg_assign_hours:
                              type: number
                              format: float
                            avg_resolve_hours:
                              type: number
                              format: float
                            avg_handling_hours:
                              type: number
                              format: float
                      status:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: >-
                                Valor de la dimensión: correo electrónico del
                                responsable, "blueprint_name:uuid", fuente o
                                estado. "unassigned"/"none" para las dimensiones
                                ausentes.
                            created:
                              type: integer
                            assigned:
                              type: integer
                            resolved:
                              type: integer
                            threat_rate:
                              type: number
                              format: float
                            false_positive_rate:
                              type: number
                              format: float
                            unresolved:
                              type: integer
                            reassignment_rate:
                              type: number
                              format: float
                            escalation_rate:
                              type: number
                              format: float
                            avg_assign_hours:
                              type: number
                              format: float
                            avg_resolve_hours:
                              type: number
                              format: float
                            avg_handling_hours:
                              type: number
                              format: float
                  totals:
                    type: object
                    properties:
                      created:
                        type: integer
                      assigned:
                        type: integer
                      resolved:
                        type: integer
                      threat_rate:
                        type: number
                        format: float
                      false_positive_rate:
                        type: number
                        format: float
                      unresolved:
                        type: integer
                      reassignment_rate:
                        type: number
                        format: float
                      escalation_rate:
                        type: number
                        format: float
                      avg_assign_hours:
                        type: number
                        format: float
                      avg_resolve_hours:
                        type: number
                        format: float
                      avg_handling_hours:
                        type: number
                        format: float
                  queue:
                    type: object
                    description: >-
                      Instantánea en tiempo real, no limitada al rango de
                      fechas.
                    properties:
                      open:
                        type: integer
                      overdue:
                        type: integer
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X GET
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/statistics/?date_from=2026-06-01&date_to=2026-06-30'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            client = Didit()

            result = client.cases.retrieve_statistics()
            print(result)
        - lang: javascript
          label: Node.js
          source: |-
            import Didit from "@didit-protocol/sdk-node";

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            const didit = new Didit();

            const result = await didit.cases.retrieveStatistics();
            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID\n// and DIDIT_APPLICATION_ID.\nclient := didit.NewClient()\n\nresult, err := client.Cases.RetrieveStatistics(ctx, didit.CasesRetrieveStatisticsParams{})\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: |-
            import me.didit.Didit;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            Didit client = new Didit();

            var result = client.cases().retrieveStatistics();
            System.out.println(result);
        - lang: php
          label: PHP
          source: |-
            <?php

            require 'vendor/autoload.php';

            use Didit\DiditClient;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            $didit = new DiditClient();

            $result = $didit->cases->retrieveStatistics();
            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            didit = Didit::Client.new

            result = didit.cases.retrieve_statistics
            puts result.to_h
        - lang: csharp
          label: .NET
          source: |-
            using System;
            using System.Text.Json;
            using Didit;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            using var client = new DiditClient();

            var result = await client.Cases.RetrieveStatisticsAsync();
            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        La clave de API de tu aplicación, que encontrarás en Developers -> API
        keys en la Business Console. La clave principal tiene acceso completo.
        Una clave con nombre puede tener un alcance limitado: ninguno, lectura o
        escritura por recurso, limitada a algunos flujos o a sesiones aprobadas,
        a una lista de direcciones IP y a una fecha de caducidad. 401 significa
        que la clave es incorrecta, se revocó o expiró; 403 significa que no se
        envió ninguna clave, que la clave no tiene acceso a este recurso o
        acción, o que la solicitud provino de una dirección fuera de su lista de
        IP; 404 en una ruta de sesión significa que la sesión está fuera de los
        flujos o estados de la clave. Una clave sin acceso a contenido
        multimedia recibe las URL de imágenes, videos y PDF como null, y una
        clave sin permiso de escritura en sesiones recibe los enlaces y tokens
        de sesión como null. Consulta https://docs.didit.me/console/api-keys.

````

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