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

> Didit से धोखाधड़ी नेटवर्क को सब्जेक्ट और सिग्नल नोड्स के ग्राफ़ के रूप में प्राप्त करें। फ़ोकस सब्जेक्ट के आसपास का दायरा सीमित करने के लिए depth पैरामीटर।



नेटवर्क ग्राफ़ API प्रॉम्प्ट
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Retrieve a fraud network as a graph through the Management API.

Endpoint:
GET https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/networks/{network_uuid}/graph/

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

Path parameter:
\- network_uuid - the network's UUID.

Query params:
\- depth=1|2|3|all - hops from the focus subject to include. Defaults to all (unbounded).
\- focus_kind=vendor_user|vendor_business|transaction_party - must be supplied together with focus_id.
\- focus_id=<uuid> - subject UUID to center the graph on.

Response 200: NetworkGraph - { network: NetworkDetail, depth: int|null, truncated: bool, nodes: [...], edges: [...], metrics: {node_count, edge_count, hub_signal_count} }.

Node shapes:
\- Subject node (kind: vendor_user | vendor_business | transaction_party): id, kind, subject, node_status (approved|in_review|declined|not_completed), tags.
\- Signal node (kind: signal): id, kind, uuid, signal_type, subject_count, coverage, is_hub, is_datacenter_ip, is_high_collision_device, node_status (signal_active|signal_guarded), tags, risk_evidence, first_seen_at, last_seen_at.

Edge shape: id, source (subject node id), target (signal node id), subject_kind, signal_type, confidence, observation_count, first_seen_at, last_seen_at.

Failure modes:
\- 404 - network not found or not visible.
\- 400 - depth is not one of 1, 2, 3, all, or focus_kind/focus_id supplied without the other.
\- 401/403 - auth/permission errors.

Side effects: none, pure read.

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

\</pre>



      
      

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

नेटवर्क को ग्राफ़ के रूप में प्राप्त करें: नेटवर्क में हर विक्रेता उपयोगकर्ता, विक्रेता व्यवसाय या लेन-देन पक्ष के लिए विषय नोड, हर साझा डिवाइस, IP, चेहरे, दस्तावेज़ संख्या, फ़ोन, ईमेल या पते को जोड़ने वाले मान के लिए संकेत नोड, और उनके बीच सदस्यता संबंधों के लिए एज।`focus_kind`/`focus_id` वाले विषय से कितने हॉप बाहर तक परिणाम लौटाने हैं, यह सीमित करने के लिए `depth` का उपयोग करें। इसी से Console का ग्राफ़ दृश्य पूरा नेटवर्क लोड करने के बजाय किसी एक आवेदक के तत्काल संबंधों पर ज़ूम करता है। पूरे पड़ोस के लिए `depth` छोड़ें (या `all` पास करें)। सीमित अनुरोध में कुछ छूटा है या नहीं, यह `truncated` बताता है।## संबंधित- [नेटवर्क प्राप्त करें](https://docs.didit.me/hi/management-api/networks/get.md)
- [नेटवर्क सदस्य](https://docs.didit.me/hi/management-api/networks/members.md)
- [नेटवर्क संकेत](https://docs.didit.me/hi/management-api/networks/signals.md)


## OpenAPI

````yaml hi/openapi-25.json GET /v3/organization/{organization_id}/application/{application_id}/networks/{network_uuid}/graph/
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/organization/{organization_id}/application/{application_id}/networks/{network_uuid}/graph/:
    get:
      tags:
        - Networks
      summary: नेटवर्क ग्राफ़ प्राप्त करें
      description: >-
        सब्जेक्ट नोड्स (वेंडर उपयोगकर्ता, वेंडर व्यवसाय, लेन-देन पक्ष) और सिग्नल
        नोड्स (उन्हें जोड़ने वाले साझा डिवाइस/IP/चेहरा/दस्तावेज़/फ़ोन/ईमेल/पते
        के मान) के ग्राफ़ के रूप में नेटवर्क प्राप्त करें, जिसमें किनारे
        सदस्यताओं का प्रतिनिधित्व करते हैं।
      operationId: get_network_graph
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: संगठन UUID।
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: एप्लिकेशन UUID।
        - name: network_uuid
          in: path
          required: true
          schema:
            type: string
            format: uuid
            example: n3a5e000-0000-4000-8000-000000000001
          description: नेटवर्क UUID।
        - name: depth
          in: query
          schema:
            type: string
            enum:
              - '1'
              - '2'
              - '3'
              - all
          description: शामिल करने के लिए फ़ोकस विषय से हॉप्स। डिफ़ॉल्ट रूप से सभी (असीमित)।
        - name: focus_kind
          in: query
          schema:
            type: string
            enum:
              - vendor_user
              - vendor_business
              - transaction_party
          description: >-
            ग्राफ़ को केंद्रित करने के लिए सब्जेक्ट प्रकार। focus_id के साथ
            प्रदान किया जाना चाहिए; गहराई सीमित होने और दोनों में से किसी के भी
            प्रदान न किए जाने पर डिफ़ॉल्ट रूप से किसी भी सदस्य पर सेट होता है।
        - name: focus_id
          in: query
          schema:
            type: string
            format: uuid
          description: ग्राफ़ को केंद्रित करने के लिए सब्जेक्ट UUID।
      responses:
        '200':
          description: नेटवर्क ग्राफ़।
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkGraph'
        '404':
          description: नेटवर्क नहीं मिला (या इस एप्लिकेशन को दिखाई नहीं दे रहा है)।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
      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/networks/n3a5e000-0000-4000-8000-000000000001/graph/?depth=2'
            \
              -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.networks.retrieve_graph(
                "n3a5e000-0000-4000-8000-000000000001",
            )
            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.networks.retrieveGraph("n3a5e000-0000-4000-8000-000000000001");

            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.Networks.RetrieveGraph(ctx, \"n3a5e000-0000-4000-8000-000000000001\", didit.NetworksRetrieveGraphParams{})\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.networks().retrieveGraph("n3a5e000-0000-4000-8000-000000000001");

            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->networks->retrieveGraph('n3a5e000-0000-4000-8000-000000000001');

            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.networks.retrieve_graph("n3a5e000-0000-4000-8000-000000000001")

            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.Networks.RetrieveGraphAsync("n3a5e000-0000-4000-8000-000000000001");

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    NetworkGraph:
      type: object
      properties:
        network:
          $ref: '#/components/schemas/NetworkDetail'
        depth:
          type: integer
          nullable: true
          description: लागू की गई प्रभावी डेप्थ, या असीमित होने पर null (depth=all)।
        truncated:
          type: boolean
          description: यदि नेबरहुड गहराई के कारण कट गया था तो True।
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/NetworkGraphNode'
        edges:
          type: array
          items:
            $ref: '#/components/schemas/NetworkGraphEdge'
        metrics:
          type: object
          properties:
            node_count:
              type: integer
            edge_count:
              type: integer
            hub_signal_count:
              type: integer
    NetworkDetail:
      allOf:
        - $ref: '#/components/schemas/NetworkListItem'
        - type: object
          properties:
            stats:
              type: object
              description: नेटवर्क के लिए समग्र आँकड़े (उदा. कुल सदस्य संख्या)।
            fraud_tags:
              type: array
              items:
                type: object
              description: नेटवर्क पर सामने आए फ्रॉड-पैटर्न टैग।
            risk_signals:
              type: object
              description: >-
                जोखिम सिग्नल सारांश: residential_proxy_reuse,
                email_intelligence, phone_intelligence।
            reviewed_at:
              type: string
              format: date-time
              nullable: true
            reviewed_by:
              type: string
              nullable: true
            review_reason:
              type: string
              nullable: true
      properties:
        notes_count:
          type: integer
          minimum: 0
          readOnly: true
          description: इस जांच में निजी विश्लेषक नोटों की संख्या।
    NetworkGraphNode:
      type: object
      description: >-
        एक विषय नोड या एक सिग्नल नोड, जिसे प्रकार (kind) द्वारा अलग किया जाता
        है। विषय नोड्स (kind: vendor_user | vendor_business | transaction_party)
        में id, kind, subject, node_status (approved | in_review | declined |
        not_completed), और टैग शामिल होते हैं। सिग्नल नोड्स (kind: signal) में
        id, kind, uuid, signal_type, subject_count, coverage, is_hub,
        is_datacenter_ip, is_high_collision_device, node_status (signal_active |
        signal_guarded), टैग, risk_evidence, first_seen_at, और last_seen_at
        शामिल होते हैं।
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
            - vendor_user
            - vendor_business
            - transaction_party
            - signal
    NetworkGraphEdge:
      type: object
      properties:
        id:
          type: string
          format: uuid
        source:
          type: string
          description: सब्जेक्ट नोड ID।
        target:
          type: string
          description: सिग्नल नोड ID।
        subject_kind:
          type: string
          enum:
            - vendor_user
            - vendor_business
            - transaction_party
        signal_type:
          type: string
          enum:
            - ip_address
            - device
            - face
            - document_number
            - phone
            - email
            - address
        confidence:
          type: number
          format: float
          description: सटीक मिलान के लिए 1.0।
        observation_count:
          type: integer
        first_seen_at:
          type: string
          format: date-time
          nullable: true
        last_seen_at:
          type: string
          format: date-time
          nullable: true
    NetworkListItem:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        network_id:
          type: string
          description: मानव-पठनीय प्रति-संगठन अनुक्रमिक id, उदाहरण के लिए N-0001।
        name:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - active
            - in_review
            - resolved
            - dismissed
          description: >-
            नेटवर्क लाइफ़साइकल स्थिति। किसी नेटवर्क के अंदर प्रति-आवेदक
            outcome_status (approved/in_review/declined/not_completed) से अलग।
        risk:
          $ref: '#/components/schemas/NetworkRiskDisplay'
        pattern_types:
          type: array
          items:
            type: string
            enum:
              - exact_same_device
              - similar_device
              - same_ip_address
              - same_address
              - similar_selfie_backgrounds
              - similar_poa_documents
              - same_document_number
              - same_phone_number
              - same_email
          description: इस नेटवर्क में पाए गए क्लस्टरिंग पैटर्न।
        signal_types:
          type: array
          items:
            type: string
            enum:
              - ip_address
              - device
              - face
              - document_number
              - phone
              - email
              - address
          description: इस नेटवर्क में मौजूद विशिष्ट सिग्नल प्रकार।
        member_counts:
          type: object
          description: श्रेणी के अनुसार सदस्यों की संख्या (उदा. कुल, प्रति outcome_status)।
        member_status:
          type: object
          description: outcome_status के अनुसार सदस्यों का विवरण।
        signal_coverage:
          type: object
          description: इस नेटवर्क के सदस्यों का प्रति signal_type कवरेज।
        first_activity_at:
          type: string
          format: date-time
          nullable: true
        last_activity_at:
          type: string
          format: date-time
          nullable: true
    NetworkRiskDisplay:
      type: object
      properties:
        score:
          type: integer
          description: जोखिम स्कोर, 0-100।
        band:
          type: string
          enum:
            - low
            - medium
            - high
          description: >-
            बैंड जिसके रूप में स्कोर रेंडर होता है। high >= 70, medium >= 40,
            अन्यथा low।
        bar:
          type: number
          format: float
          description: जोखिम बार रेंडर करने के लिए सामान्यीकृत 0-1 मान।
  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.