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

# Schema detail

> Returns a single schema together with every discoverable credential built on it. Each credential includes issuer info and traction metrics (holder count, issuance count, and demand count — the number of verification programs that accept it).



## OpenAPI

````yaml GET /catalog/schemas/{id}
openapi: 3.0.3
info:
  title: Moca Network API
  description: >-
    Server-to-server API for credential issuance, status tracking, catalog
    browsing, and partner operations on the Moca Network.
  version: 1.0.0
  contact:
    name: Moca Network
    url: https://moca.network
servers:
  - url: https://api.sandbox.mocachain.org/v1
    description: Sandbox
  - url: https://mocachain-mainnet.api.air3.com/v1
    description: Production
security:
  - partnerJwt: []
paths:
  /catalog/schemas/{id}:
    get:
      tags:
        - Catalog
      summary: Schema detail
      description: >-
        Returns a single schema together with every discoverable credential
        built on it. Each credential includes issuer info and traction metrics
        (holder count, issuance count, and demand count — the number of
        verification programs that accept it).
      operationId: getSchemaDetail
      parameters:
        - name: id
          in: path
          required: true
          description: Schema ID.
          schema:
            type: string
          example: sch_01HX
      responses:
        '200':
          description: Schema with credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CatalogApiResponse'
              example:
                code: 80000000
                msg: success
                data:
                  schemaId: sch_01HX
                  title: KYC Identity
                  description: Basic identity verification schema
                  credentials:
                    - credentialId: c21s70g0i54sn0023172Cv
                      name: Age Verification
                      category: identity
                      issuer:
                        issuerId: iss_01
                        name: Acme Corp
                      traction:
                        holderCount: 120
                        issuanceCount: 200
                        demandCount: 50
                      createdAt: '2026-01-15T10:30:00Z'
                timestamp: 1772530828000
        '404':
          description: Schema not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: 404
                message: Schema not found
      security: []
      servers:
        - url: https://credential-testnet.api.sandbox.air3.com
          description: Credential API sandbox (catalog)
components:
  schemas:
    CatalogApiResponse:
      type: object
      description: Standard API response envelope used by all Catalog endpoints.
      properties:
        code:
          type: integer
          description: Response code. `80000000` indicates success.
          example: 80000000
        msg:
          type: string
          description: Human-readable status message.
          example: success
        data:
          description: Response payload. Shape varies per endpoint.
        timestamp:
          type: integer
          description: UNIX timestamp in milliseconds.
          example: 1772530828000
    Error:
      type: object
      properties:
        error:
          type: integer
          description: HTTP status code.
        message:
          type: string
          description: Human-readable error description.
  securitySchemes:
    partnerJwt:
      type: apiKey
      in: header
      name: x-partner-auth
      description: >-
        A signed Partner JWT containing `partnerId`, `email`, `scope`, and `exp`
        claims. See [Partner
        Authentication](/airkit/usage/partner-authentication) for setup.

````