NextGen Catalog API — Statistics

NextGen Catalog API — Statistics. 1 operations. Lead operation: Retrieve statistics related to user contributions.. Self-contained Naftiko capability covering one National Archives And Records Administration business surface.

Run with Naftiko National Archives And Records AdministrationStatistics

What You Can Do

GET
Get — Retrieve statistics related to user contributions.
/v1/records/stats

MCP Tools

retrieve-statistics-related-user-contributions

Retrieve statistics related to user contributions.

read-only idempotent

Capability Spec

national-archives-and-records-administration-statistics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NextGen Catalog API — Statistics
  description: 'NextGen Catalog API — Statistics. 1 operations. Lead operation: Retrieve statistics related to user contributions..
    Self-contained Naftiko capability covering one National Archives And Records Administration business surface.'
  tags:
  - National Archives And Records Administration
  - Statistics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NATIONAL_ARCHIVES_AND_RECORDS_ADMINISTRATION_API_KEY: NATIONAL_ARCHIVES_AND_RECORDS_ADMINISTRATION_API_KEY
capability:
  consumes:
  - type: http
    namespace: national-archives-and-records-administration-statistics
    baseUri: https://catalog.archives.gov/api/v2
    description: NextGen Catalog API — Statistics business capability. Self-contained, no shared references.
    resources:
    - name: records-stats
      path: /records/stats
      operations:
      - name: get
        method: GET
        description: Retrieve statistics related to user contributions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: national-archives-and-records-administration-statistics-rest
    port: 8080
    description: REST adapter for NextGen Catalog API — Statistics. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/records/stats
      name: records-stats
      description: REST surface for records-stats.
      operations:
      - method: GET
        name: get
        description: Retrieve statistics related to user contributions.
        call: national-archives-and-records-administration-statistics.get
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: national-archives-and-records-administration-statistics-mcp
    port: 9090
    transport: http
    description: MCP adapter for NextGen Catalog API — Statistics. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-statistics-related-user-contributions
      description: Retrieve statistics related to user contributions.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: national-archives-and-records-administration-statistics.get
      outputParameters:
      - type: object
        mapping: $.