Confluent Schema Registry API — Schemas

Confluent Schema Registry API — Schemas. 3 operations. Lead operation: Get schema by global ID. Self-contained Naftiko capability covering one Confluent Schema Registry business surface.

Run with Naftiko Confluent Schema RegistrySchemas

What You Can Do

GET
Getschemabyid — Get schema by global ID
/v1/schemas/ids/{id}
GET
Getversions — Get subject-version pairs for schema ID
/v1/schemas/ids/{id}/versions
GET
Getschematypes — List supported schema types
/v1/schemas/types

MCP Tools

get-schema-global-id

Get schema by global ID

read-only idempotent
get-subject-version-pairs-schema

Get subject-version pairs for schema ID

read-only idempotent
list-supported-schema-types

List supported schema types

read-only idempotent

Capability Spec

schema-registry-schemas.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Confluent Schema Registry API — Schemas
  description: 'Confluent Schema Registry API — Schemas. 3 operations. Lead operation: Get schema by global ID. Self-contained
    Naftiko capability covering one Confluent Schema Registry business surface.'
  tags:
  - Confluent Schema Registry
  - Schemas
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CONFLUENT_SCHEMA_REGISTRY_API_KEY: CONFLUENT_SCHEMA_REGISTRY_API_KEY
capability:
  consumes:
  - type: http
    namespace: schema-registry-schemas
    baseUri: http://localhost:8081
    description: Confluent Schema Registry API — Schemas business capability. Self-contained, no shared references.
    resources:
    - name: schemas-ids-id
      path: /schemas/ids/{id}
      operations:
      - name: getschemabyid
        method: GET
        description: Get schema by global ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: subject
          in: query
          type: string
        - name: format
          in: query
          type: string
    - name: schemas-ids-id-versions
      path: /schemas/ids/{id}/versions
      operations:
      - name: getversions
        method: GET
        description: Get subject-version pairs for schema ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: deleted
          in: query
          type: boolean
    - name: schemas-types
      path: /schemas/types
      operations:
      - name: getschematypes
        method: GET
        description: List supported schema types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: schema-registry-schemas-rest
    port: 8080
    description: REST adapter for Confluent Schema Registry API — Schemas. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/schemas/ids/{id}
      name: schemas-ids-id
      description: REST surface for schemas-ids-id.
      operations:
      - method: GET
        name: getschemabyid
        description: Get schema by global ID
        call: schema-registry-schemas.getschemabyid
        with:
          id: rest.id
          subject: rest.subject
          format: rest.format
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/schemas/ids/{id}/versions
      name: schemas-ids-id-versions
      description: REST surface for schemas-ids-id-versions.
      operations:
      - method: GET
        name: getversions
        description: Get subject-version pairs for schema ID
        call: schema-registry-schemas.getversions
        with:
          id: rest.id
          deleted: rest.deleted
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/schemas/types
      name: schemas-types
      description: REST surface for schemas-types.
      operations:
      - method: GET
        name: getschematypes
        description: List supported schema types
        call: schema-registry-schemas.getschematypes
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: schema-registry-schemas-mcp
    port: 9090
    transport: http
    description: MCP adapter for Confluent Schema Registry API — Schemas. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-schema-global-id
      description: Get schema by global ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: schema-registry-schemas.getschemabyid
      with:
        id: tools.id
        subject: tools.subject
        format: tools.format
      outputParameters:
      - type: object
        mapping: $.
    - name: get-subject-version-pairs-schema
      description: Get subject-version pairs for schema ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: schema-registry-schemas.getversions
      with:
        id: tools.id
        deleted: tools.deleted
      outputParameters:
      - type: object
        mapping: $.
    - name: list-supported-schema-types
      description: List supported schema types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: schema-registry-schemas.getschematypes
      outputParameters:
      - type: object
        mapping: $.