Decentro · Capability

Decentro KYC & Onboarding API — Forensics

Decentro KYC & Onboarding API — Forensics. 2 operations. Lead operation: Classify document. Self-contained Naftiko capability covering one Decentro business surface.

Run with Naftiko DecentroForensics

What You Can Do

POST
Classifydocument — Classify document
/v1/v2/kyc/forensics/document-classification
POST
Facematch — Face match
/v1/v2/kyc/forensics/face-match

MCP Tools

classify-document

Classify document

face-match

Face match

Capability Spec

kyc-forensics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Decentro KYC & Onboarding API — Forensics
  description: 'Decentro KYC & Onboarding API — Forensics. 2 operations. Lead operation: Classify document. Self-contained
    Naftiko capability covering one Decentro business surface.'
  tags:
  - Decentro
  - Forensics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DECENTRO_API_KEY: DECENTRO_API_KEY
capability:
  consumes:
  - type: http
    namespace: kyc-forensics
    baseUri: https://in.decentro.tech
    description: Decentro KYC & Onboarding API — Forensics business capability. Self-contained, no shared references.
    resources:
    - name: v2-kyc-forensics-document_classification
      path: /v2/kyc/forensics/document_classification
      operations:
      - name: classifydocument
        method: POST
        description: Classify document
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v2-kyc-forensics-face_match
      path: /v2/kyc/forensics/face_match
      operations:
      - name: facematch
        method: POST
        description: Face match
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: client_secret
      value: '{{env.DECENTRO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: kyc-forensics-rest
    port: 8080
    description: REST adapter for Decentro KYC & Onboarding API — Forensics. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v2/kyc/forensics/document-classification
      name: v2-kyc-forensics-document-classification
      description: REST surface for v2-kyc-forensics-document_classification.
      operations:
      - method: POST
        name: classifydocument
        description: Classify document
        call: kyc-forensics.classifydocument
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/kyc/forensics/face-match
      name: v2-kyc-forensics-face-match
      description: REST surface for v2-kyc-forensics-face_match.
      operations:
      - method: POST
        name: facematch
        description: Face match
        call: kyc-forensics.facematch
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kyc-forensics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Decentro KYC & Onboarding API — Forensics. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: classify-document
      description: Classify document
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kyc-forensics.classifydocument
      outputParameters:
      - type: object
        mapping: $.
    - name: face-match
      description: Face match
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kyc-forensics.facematch
      outputParameters:
      - type: object
        mapping: $.