BankruptcyWatch · Capability

BankruptcyWatch PACER API — Docket

BankruptcyWatch PACER API — Docket. 1 operations. Lead operation: Get Case Docket. Self-contained Naftiko capability covering one Bankruptcywatch business surface.

Run with Naftiko BankruptcywatchDocket

What You Can Do

GET
Getcasedocket — Get Case Docket
/v1/cases/{caseid}/docket

MCP Tools

get-case-docket

Get Case Docket

read-only idempotent

Capability Spec

pacer-docket.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BankruptcyWatch PACER API — Docket
  description: 'BankruptcyWatch PACER API — Docket. 1 operations. Lead operation: Get Case Docket. Self-contained Naftiko
    capability covering one Bankruptcywatch business surface.'
  tags:
  - Bankruptcywatch
  - Docket
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BANKRUPTCYWATCH_API_KEY: BANKRUPTCYWATCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: pacer-docket
    baseUri: https://api.bankruptcywatch.com/v1
    description: BankruptcyWatch PACER API — Docket business capability. Self-contained, no shared references.
    resources:
    - name: cases-caseId-docket
      path: /cases/{caseId}/docket
      operations:
      - name: getcasedocket
        method: GET
        description: Get Case Docket
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: caseId
          in: path
          type: string
          description: BankruptcyWatch case identifier
          required: true
        - name: dateFrom
          in: query
          type: string
          description: Filter docket entries from this date
        - name: dateTo
          in: query
          type: string
          description: Filter docket entries to this date
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.BANKRUPTCYWATCH_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: pacer-docket-rest
    port: 8080
    description: REST adapter for BankruptcyWatch PACER API — Docket. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/cases/{caseid}/docket
      name: cases-caseid-docket
      description: REST surface for cases-caseId-docket.
      operations:
      - method: GET
        name: getcasedocket
        description: Get Case Docket
        call: pacer-docket.getcasedocket
        with:
          caseId: rest.caseId
          dateFrom: rest.dateFrom
          dateTo: rest.dateTo
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: pacer-docket-mcp
    port: 9090
    transport: http
    description: MCP adapter for BankruptcyWatch PACER API — Docket. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-case-docket
      description: Get Case Docket
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: pacer-docket.getcasedocket
      with:
        caseId: tools.caseId
        dateFrom: tools.dateFrom
        dateTo: tools.dateTo
      outputParameters:
      - type: object
        mapping: $.