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

# List the registry checks

> Required scope: `registry:read`.

Every registry check this API offers, its JSON input and where the answer comes from.



## OpenAPI

````yaml /openapi.json get /v1/partner/registry
openapi: 3.1.0
info:
  title: Sahl Partner API
  version: 0.2.0
  description: >-
    Server-to-server API for lenders and banks: document reading, verification,
    risk assessment, eID checks, Moroccan company (KYB) onboarding, bank
    statements, document requests, webhooks, registry checks, cases, scoring,
    KYC policy, webhook deliveries and bank connections. Authenticate with
    `Authorization: Bearer <API key>`. Paths are relative to the server URL. New
    workspaces start in sandbox.
servers:
  - url: https://app.sahlfinancial.com/api
    description: Single API host. Send environment=sandbox (the default) for test data.
security:
  - bearerAuth: []
tags:
  - name: KYC
    description: Read documents, verify a profile, assess risk, start an eID check.
  - name: Bank connections (Growth)
    description: >-
      Growth plan, switched on per workspace by Sahl. Sandbox simulation today;
      production answers 409 until a bank data provider is live.
  - name: KYB
    description: >-
      Moroccan company file: read the Modèle J, the IF attestation and the
      manager's CIN, check an ICE. Every plan.
  - name: Statements
    description: Read a bank statement line by line and reconcile it. Every plan.
  - name: Webhooks
    description: >-
      Manage webhook endpoints with an API key (scope `webhooks:manage`). Every
      plan.
  - name: Document requests
    description: >-
      Ask an applicant for documents through a link or an embedded page, and
      follow the request.
  - name: Sandbox
    description: 'The specimen gallery: the only documents a new workspace''s Sandbox reads.'
  - name: Registry
    description: >-
      Check a SIREN, a VAT number, a LEI, an IBAN, a Moroccan RIB or ICE. Scope
      `registry:read`.
  - name: Cases
    description: >-
      Read the cases your calls filed, their documents and the fields read.
      Scope `cases:read`.
  - name: Scoring
    description: >-
      Read, re-run or simulate a case's credit score. Scopes `scoring:read`,
      `scoring:write`.
  - name: Policy
    description: >-
      Read and save the KYC policy your `/v1/kyc/*` calls run under. Scopes
      `policy:read`, `policy:write`.
  - name: Webhook deliveries
    description: >-
      See what was sent to your endpoints and send a delivery again. Scope
      `webhooks:manage`.
  - name: Account
    description: The calling key, its usage, its recent calls and the error catalogue.
paths:
  /v1/partner/registry:
    get:
      tags:
        - Registry
      summary: List the registry checks
      description: >-
        Required scope: `registry:read`.


        Every registry check this API offers, its JSON input and where the
        answer comes from.
      operationId: registry_list
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegistryCatalog'
        '401':
          description: >-
            Missing, invalid, revoked or expired API key (plain-string
            `detail`), or `partner_identity_rejected`: The key is bound to a
            service account and X-Partner-Identity was missing or did not verify
            for it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail:
                  code: partner_identity_rejected
                  message: >-
                    The key is bound to a service account and X-Partner-Identity
                    was missing or did not verify for it.
        '403':
          description: >-
            `insufficient_scope`: The API key does not hold the scope this route
            needs. Issue a key with that scope in Settings > API. The body's
            detail is a plain string for this one.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail: API key lacks the required scope
        '429':
          description: >-
            `rate_limit_exceeded`: Too many calls a minute: per API key on the
            partner routes, or per key / per address at the edge. Wait for
            Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail:
                  code: rate_limit_exceeded
                  message: >-
                    Too many calls a minute: per API key on the partner routes,
                    or per key / per address at the edge. Wait for Retry-After.
        '500':
          description: '`internal_error`: Unexpected error. Quote X-Request-ID to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                detail:
                  code: internal_error
                  message: Unexpected error. Quote X-Request-ID to support.
      security:
        - bearerAuth: []
components:
  schemas:
    RegistryCatalog:
      properties:
        scope:
          type: string
          title: Scope
          description: The API key scope every check needs.
          default: registry:read
        metered:
          type: boolean
          title: Metered
          description: Registry checks are not billed per document.
          default: false
        checks:
          items:
            $ref: '#/components/schemas/RegistryCheck'
          type: array
          title: Checks
          description: The supported checks.
      type: object
      required:
        - checks
      title: RegistryCatalog
    Error:
      type: object
      title: Error
      description: >-
        FastAPI error body. `detail` is a string, a list (validation 422), or an
        object with `code` and `message` (extra keys possible).
      properties:
        detail:
          oneOf:
            - type: string
            - type: array
              items:
                additionalProperties: true
                type: object
              description: Validation errors (422).
            - type: object
              additionalProperties: true
              properties:
                code:
                  type: string
                message:
                  type: string
      required:
        - detail
    RegistryCheck:
      properties:
        kind:
          type: string
          title: Kind
          description: Check name, also the last path segment.
        method:
          type: string
          title: Method
          description: HTTP method of the check.
          default: POST
        path:
          type: string
          title: Path
          description: Path of the check (the API is served under /api).
        countries:
          items:
            type: string
          type: array
          title: Countries
          description: Where it applies ('all', 'EU', or ISO codes).
        input:
          additionalProperties:
            type: string
          type: object
          title: Input
          description: JSON body fields and their expected format.
        source:
          type: string
          title: Source
          description: Where the answer comes from.
        network:
          type: boolean
          title: Network
          description: >-
            True when a third party is called (the answer can be available:
            false).
        description:
          type: string
          title: Description
          description: What the check answers.
      type: object
      required:
        - kind
        - path
        - countries
        - input
        - source
        - network
        - description
      title: RegistryCheck
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in the console. Scopes: kyc:extract, kyc:verify,
        kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage;
        requests:read, requests:write; bank:read, bank:write (Growth plan,
        enabled per workspace by Sahl); registry:read; cases:read; scoring:read,
        scoring:write; policy:read, policy:write; usage:read. The Sandbox
        specimen routes, `GET /v1/partner/me` and `GET /v1/partner/errors` need
        any valid key.

````

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