> ## 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.

# AML निगरानी जॉब स्थिति API

> Didit के users या businesses endpoint से शुरू किए गए AML सतत निगरानी जॉब की स्थिति, परिणाम काउंटर और रिकॉर्ड-वार नतीजे प्राप्त करें।



AML निगरानी जॉब प्रॉम्प्ट प्राप्त करें
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Goal: Read the status and the per-record results of an AML ongoing monitoring job started with POST /v3/users/aml-monitoring/ or POST /v3/businesses/aml-monitoring/. Needed whenever the toggle call returned 202 (more than 20 profiles); also works for jobs that already completed inline.

Endpoint: GET https://verification.didit.me/v3/aml-monitoring/jobs/{job_id}/
Auth header: x-api-key: <DIDIT_API_KEY>

Path param:
\- job_id: the job_id returned by the toggle endpoint.

curl:
curl 'https://verification.didit.me/v3/aml-monitoring/jobs/JOB_ID/' \
-H 'x-api-key: YOUR_API_KEY'

Response 200:
\{
"job_id": "<uuid>",
"status": "PROCESSING",            // PENDING | PROCESSING | COMPLETED | FAILED
"is_enabled": true,
"target_type": "user",             // user | business
"total": 120,
"processed": 40,
"outcomes": {"enabled": 12, "screened_and_enabled": 25, "already_enabled": 3, "disabled": 0, "skipped_no_identity_data": 0, "skipped_blocked": 0, "skipped_sandbox": 0, "failed_provider": 0, "failed_insufficient_balance": 0},
"results": [
\{"didit_internal_id": "<uuid>", "vendor_data": "user-123", "outcome": "enabled"},
...one entry per processed profile, in processing order...
],
"error": null,                     // generic message when status is FAILED
"created_at": "<datetime>",
"completed_at": null
}

Polling: request the job every couple of seconds while status is PENDING or PROCESSING. results grows as profiles are processed and is complete once status is COMPLETED. A FAILED job keeps the results recorded before the failure and carries a short generic message in error; re-send the toggle request for the profiles that have no result yet. Per-record results are recorded for jobs started through the API; a job started from the Business Console reports counters only.

Failure modes:
\- 401 - missing/invalid x-api-key.
\- 404 - no such job for this application (jobs are only visible to the application that created them).

For end-to-end Didit integration, paste in the full prompt at /integration/integration-prompt.`

\</pre>



      
      

यहाँ पेस्ट करें

## अवलोकनयह [उपयोगकर्ताओं के लिए AML निगरानी टॉगल करें](https://docs.didit.me/hi/management-api/aml-monitoring/toggle-users.md) या [व्यवसायों के लिए AML निगरानी टॉगल करें](https://docs.didit.me/hi/management-api/aml-monitoring/toggle-businesses.md) से शुरू किए गए सतत AML निगरानी जॉब की जानकारी लौटाता है: इसकी स्थिति, हर परिणाम के लिए काउंटर और हर संसाधित उपयोगकर्ता या व्यवसाय के लिए `results` की एक प्रविष्टि।20 से अधिक प्रोफ़ाइल वाले चयन पृष्ठभूमि में प्रोसेस होते हैं, और टॉगल कॉल `PENDING` जॉब के साथ `202` लौटाता है। `status` `COMPLETED` या `FAILED` होने तक हर कुछ सेकंड में इस endpoint को पोल करें। प्रोफ़ाइल संसाधित होने के साथ `results` भरते जाते हैं, प्रसंस्करण के क्रम में, और जॉब `COMPLETED` होने पर पूरा हो जाता है। प्रति-रिकॉर्ड परिणाम उन जॉब के लिए दर्ज होते हैं जो API के माध्यम से शुरू किए गए हों; Business Console से शुरू किया गया जॉब केवल काउंटर रिपोर्ट करता है।## जॉब स्थिति| `status` | अर्थ |
| - | - |
| `PENDING` | स्वीकार किया गया, अभी शुरू नहीं हुआ। |
| `PROCESSING` | चल रहा है; `processed`, `outcomes` और `results` अपडेट हो रहे हैं। |
| `COMPLETED` | हर प्रोफ़ाइल का एक परिणाम है। |
| `FAILED` | जॉब जल्दी रुक गया। `error` में एक संक्षिप्त सामान्य संदेश है, और विफलता से पहले दर्ज परिणाम सुरक्षित रहते हैं। जिन प्रोफ़ाइलों का अभी कोई परिणाम नहीं है, उनके लिए टॉगल अनुरोध फिर से भेजें। |प्रति-रिकॉर्ड `outcome` मान टॉगल पेजों पर दस्तावेज़ित हैं।## अनुमतियाँएप्लिकेशन की कोई भी सक्रिय API कुंजी इस endpoint को कॉल कर सकती है। जॉब केवल उसी एप्लिकेशन को दिखता है जिसने उसे बनाया है; कोई भी अन्य `job_id` `404` लौटाता है।## संबंधित- [उपयोगकर्ताओं के लिए AML निगरानी टॉगल करें](https://docs.didit.me/hi/management-api/aml-monitoring/toggle-users.md)
- [व्यवसायों के लिए AML निगरानी टॉगल करें](https://docs.didit.me/hi/management-api/aml-monitoring/toggle-businesses.md)
- [सतत AML निगरानी](https://docs.didit.me/hi/core-technology/aml-screening/continuous-monitoring-aml-screening.md)


## OpenAPI

````yaml hi/openapi-25.json GET /v3/aml-monitoring/jobs/{job_id}/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: पहचान सत्यापन API। x-api-key हेडर के साथ प्रमाणीकृत करें।
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/aml-monitoring/jobs/{job_id}/:
    get:
      tags:
        - AML Ongoing Monitoring
      summary: AML सतत निगरानी कार्य प्राप्त करें
      description: >-
        `POST /v3/users/aml-monitoring/` या `POST
        /v3/businesses/aml-monitoring/` से शुरू किए गए मॉनिटरिंग टॉगल जॉब का
        स्टेटस, परिणाम काउंटर और प्रति-रिकॉर्ड परिणाम। जब तक `status` `PENDING`
        या `PROCESSING` है, तब तक हर कुछ सेकंड में पोल करें; इसके `COMPLETED`
        होने पर `results` पूरा हो जाता है।
      operationId: get_aml_monitoring_job
      parameters:
        - name: job_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: टॉगल endpoint द्वारा लौटाया गया `job_id`।
      responses:
        '200':
          description: जॉब।
          content:
            application/json:
              schema:
                type: object
                properties:
                  job_id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - PENDING
                      - PROCESSING
                      - COMPLETED
                      - FAILED
                  is_enabled:
                    type: boolean
                    description: >-
                      जब जॉब निगरानी सक्षम करता है तो true, जब यह इसे अक्षम करता
                      है तो false।
                  target_type:
                    type: string
                    enum:
                      - user
                      - business
                    description: जॉब किस प्रोफ़ाइल फ़ैमिली को टॉगल करता है।
                  total:
                    type: integer
                    description: वे प्रोफ़ाइल जिन्हें जॉब संसाधित करता है।
                  processed:
                    type: integer
                    description: अब तक संसाधित की गई प्रोफ़ाइल।
                  outcomes:
                    type: object
                    description: >-
                      प्रति-रिकॉर्ड परिणाम काउंटर। प्रत्येक चयनित प्रोफ़ाइल का
                      परिणाम ठीक एक काउंटर में दर्ज होता है; कुछ भी चुपचाप छोड़ा
                      नहीं जाता है।
                    properties:
                      enabled:
                        type: integer
                        description: मौजूदा AML स्क्रीनिंग पर निगरानी सक्षम कर दी गई।
                      screened_and_enabled:
                        type: integer
                        description: >-
                          एक नई AML स्क्रीनिंग बनाई गई (बिल की गई) और उस पर
                          निगरानी सक्षम की गई।
                      already_enabled:
                        type: integer
                        description: >-
                          निगरानी पहले से ही सक्रिय थी; कुछ भी नहीं बदला और कोई
                          बिलिंग नहीं की गई।
                      disabled:
                        type: integer
                        description: >-
                          प्रोफ़ाइल की प्रत्येक AML स्क्रीनिंग में निगरानी बंद
                          कर दी गई।
                      skipped_no_identity_data:
                        type: integer
                        description: >-
                          छोड़ा गया: प्रोफ़ाइल में स्क्रीनिंग के लिए आवश्यक पूरा
                          नाम, जन्म तिथि और देश (उपयोगकर्ता) या नाम (व्यवसाय) का
                          अभाव है।
                      skipped_blocked:
                        type: integer
                        description: 'छोड़ा गया: उपयोगकर्ता ब्लॉक है।'
                      skipped_sandbox:
                        type: integer
                        description: >-
                          छोड़ा गया: सैंडबॉक्स एप्लिकेशन, कोई स्क्रीनिंग नहीं
                          बनाई जाती है।
                      failed_provider:
                        type: integer
                        description: >-
                          स्क्रीनिंग पूरी नहीं की जा सकी; बाद में पुनः प्रयास
                          करें।
                      failed_insufficient_balance:
                        type: integer
                        description: कार्य चलने के दौरान बैलेंस समाप्त हो गया।
                  results:
                    type: array
                    description: >-
                      प्रसंस्करण क्रम में, संसाधित की गई प्रति प्रोफ़ाइल एक
                      प्रविष्टि। जॉब चलने के दौरान बढ़ती है; स्थिति COMPLETED
                      होने पर पूर्ण होती है। API के माध्यम से शुरू की गई जॉब्स
                      के लिए रिकॉर्ड किया गया; Business Console से शुरू की गई
                      जॉब केवल काउंटर्स रिपोर्ट करती है।
                    items:
                      type: object
                      properties:
                        didit_internal_id:
                          type: string
                          format: uuid
                          description: प्रोफ़ाइल की Didit आंतरिक id।
                        vendor_data:
                          type: string
                          nullable: true
                          description: प्रोफ़ाइल के लिए आपका अपना पहचानकर्ता।
                        outcome:
                          type: string
                          enum:
                            - enabled
                            - screened_and_enabled
                            - already_enabled
                            - disabled
                            - skipped_no_identity_data
                            - skipped_blocked
                            - skipped_sandbox
                            - failed_provider
                            - failed_insufficient_balance
                  error:
                    type: string
                    nullable: true
                    description: >-
                      स्थिति FAILED होने पर सामान्य विफलता संदेश; विस्तृत कारण
                      प्लेटफ़ॉर्म-साइड पर रखा जाता है।
                  created_at:
                    type: string
                    format: date-time
                  completed_at:
                    type: string
                    format: date-time
                    nullable: true
        '401':
          description: अनुपलब्ध या अमान्य API कुंजी।
        '404':
          description: इस एप्लिकेशन के लिए ऐसा कोई जॉब नहीं है।
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl 'https://verification.didit.me/v3/aml-monitoring/jobs/JOB_ID/'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.aml_monitoring.retrieve_job(
                "11111111-2222-3333-4444-555555555555",
            )
            print(result)
        - lang: javascript
          label: Node.js
          source: >-
            import Didit from "@didit-protocol/sdk-node";


            // Reads DIDIT_API_KEY.

            const didit = new Didit();


            const result = await
            didit.amlMonitoring.retrieveJob("11111111-2222-3333-4444-555555555555");

            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.AMLMonitoring.RetrieveJob(ctx, \"11111111-2222-3333-4444-555555555555\")\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 client = new Didit();


            var result =
            client.amlMonitoring().retrieveJob("11111111-2222-3333-4444-555555555555");

            System.out.println(result);
        - lang: php
          label: PHP
          source: >-
            <?php


            require 'vendor/autoload.php';


            use Didit\DiditClient;


            // Reads DIDIT_API_KEY.

            $didit = new DiditClient();


            $result =
            $didit->amlMonitoring->retrieveJob('11111111-2222-3333-4444-555555555555');

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


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            result =
            didit.aml_monitoring.retrieve_job("11111111-2222-3333-4444-555555555555")

            puts result.to_h
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using System.Text.Json;

            using Didit;


            // Reads DIDIT_API_KEY.

            using var client = new DiditClient();


            var result = await
            client.AmlMonitoring.RetrieveJobAsync("11111111-2222-3333-4444-555555555555");

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        आपकी एप्लिकेशन की API कुंजी, Business Console में Developers -> API keys
        से। प्राथमिक कुंजी के पास पूर्ण एक्सेस होता है। एक नामित कुंजी को स्कोप
        किया जा सकता है: प्रति संसाधन none, read या write, कुछ वर्कफ़्लो या
        स्वीकृत सत्रों तक सीमित, IP पतों की सूची तक सीमित, और समाप्ति तिथि तक
        सीमित। 401 का अर्थ है कि कुंजी गलत है, निरस्त कर दी गई है या उसकी
        समय-सीमा समाप्त हो गई है; 403 का अर्थ है कि कोई कुंजी नहीं भेजी गई थी,
        कुंजी के पास इस संसाधन या कार्रवाई का एक्सेस नहीं है, या अनुरोध उसकी IP
        सूची से बाहर के पते से आया था; सत्र रूट पर 404 का अर्थ है कि सत्र कुंजी
        के वर्कफ़्लो या स्थितियों से बाहर है। मीडिया एक्सेस के बिना एक कुंजी को
        छवि, वीडियो और PDF URL null के रूप में प्राप्त होते हैं, और सत्र write
        के बिना एक कुंजी को सत्र लिंक और token null के रूप में प्राप्त होते हैं।
        देखें https://docs.didit.me/console/api-keys।

````

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