> ## 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 di analisi dei casi

> Trend creati vs. revisionati e metriche di Didit per funzionario, blueprint, fonte e totale: tasso di minaccia, falsi positivi, SLA e coda live.



Prompt dell'API di analisi dei casi
        Copia il prompt negli appunti



      
      

\<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>



      
      

Incolla in

Metriche aggregate alla base delle schede [Overview e Analytics](https://docs.didit.me/it/console/case-management/analytics.md) della Console: una serie giornaliera di casi creati rispetto a quelli revisionati, quattro tabelle di dettaglio, i totali di riepilogo e la coda in tempo reale dei casi aperti e in ritardo.## Correlati- [Analytics (Console)](https://docs.didit.me/it/console/case-management/analytics.md)
- [Elenca i casi](https://docs.didit.me/it/management-api/cases/list.md)


## OpenAPI

````yaml it/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 di verifica dell'identità. Autenticati con l'intestazione 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: Analisi dei casi
      description: >-
        Analisi aggregate dei casi per l'intervallo di date (il valore
        predefinito è gli ultimi 30 giorni; massimo 731 giorni). Grafici,
        tabelle, totali, eventi di assegnazione e conteggi attuali delle code
        utilizzano gli stessi filtri limitati all'applicazione. I filtri
        utilizzano i valori correnti dei casi. Le date si applicano a ogni
        evento di metrica, quindi i casi meno recenti assegnati o risolti
        durante il periodo rimangono inclusi. La profondità della coda è
        indipendente dall'intervallo di date. I filtri non validi restituiscono
        400; un blueprint o un assegnatario sconosciuto restituisce un risultato
        vuoto.
      operationId: get_case_analytics
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID dell'organizzazione.
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID dell'applicazione.
        - name: date_from
          in: query
          schema:
            type: string
            format: date
          description: >-
            Inizio dell'intervallo (incluso). Il valore predefinito è 30 giorni
            fa.
        - name: date_to
          in: query
          schema:
            type: string
            format: date
          description: Fine dell'intervallo (inclusa). Il valore predefinito è oggi.
        - name: blueprint
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filtra in base all'UUID del blueprint corrente.
        - name: assigned_to
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Filtra in base all'UUID dell'utente revisore attualmente assegnato.
        - name: priority
          in: query
          required: false
          schema:
            type: string
            enum:
              - LOW
              - MEDIUM
              - HIGH
          description: Filtra per priorità attuale del caso.
        - name: source
          in: query
          required: false
          schema:
            type: string
            enum:
              - MANUAL
              - AML_SCREENING
              - TRANSACTION_RULE
              - WORKFLOW_BUILDER
          description: Filtra per sorgente di creazione del caso.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - OPEN
              - AWAITING_USER
              - RESOLVED
          description: Filtra per stato attuale del caso.
      responses:
        '200':
          description: Payload di analisi.
          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: >-
                                Valore della dimensione: email dell'ufficiale,
                                "blueprint_name:uuid", origine o stato.
                                "unassigned"/"none" per le dimensioni mancanti.
                            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: >-
                                Valore della dimensione: email dell'ufficiale,
                                "blueprint_name:uuid", origine o stato.
                                "unassigned"/"none" per le dimensioni mancanti.
                            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: >-
                                Valore della dimensione: email dell'ufficiale,
                                "blueprint_name:uuid", origine o stato.
                                "unassigned"/"none" per le dimensioni mancanti.
                            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: >-
                                Valore della dimensione: email dell'ufficiale,
                                "blueprint_name:uuid", origine o stato.
                                "unassigned"/"none" per le dimensioni mancanti.
                            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: >-
                      Istantanea in tempo reale, non limitata all'intervallo di
                      date.
                    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 chiave API della tua applicazione, da Developers -> API keys nella
        Business Console. La chiave primaria ha accesso completo. Una chiave con
        nome può avere un ambito definito: nessuno, lettura o scrittura per
        risorsa, limitata ad alcuni workflow o a sessioni approvate, a un elenco
        di indirizzi IP e a una data di scadenza. 401 indica che la chiave è
        errata, revocata o scaduta; 403 indica che non è stata inviata alcuna
        chiave, che la chiave non ha accesso a questa risorsa o azione, oppure
        che la richiesta proviene da un indirizzo non incluso nel suo elenco IP;
        404 su una route di sessione indica che la sessione non rientra nei
        workflow o negli stati previsti dalla chiave. Una chiave senza accesso
        ai media riceve gli URL di immagini, video e PDF come null, e una chiave
        senza permessi di scrittura sulle sessioni riceve link e token di
        sessione come null. Consulta https://docs.didit.me/console/api-keys.

````

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