FiscalNote · Capability

FiscalNote AppData API — Labels

FiscalNote AppData API — Labels. 2 operations. Lead operation: FiscalNote List labels. Self-contained Naftiko capability covering one Fiscalnote business surface.

Run with Naftiko FiscalnoteLabels

What You Can Do

GET
Listlabels — FiscalNote List labels
/v1/appdata/v1/labels
GET
Getlabel — FiscalNote Get label by ID
/v1/appdata/v1/labels/{labelid}

MCP Tools

fiscalnote-list-labels

FiscalNote List labels

read-only idempotent
fiscalnote-get-label-id

FiscalNote Get label by ID

read-only idempotent

Capability Spec

appdata-labels.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: FiscalNote AppData API — Labels
  description: 'FiscalNote AppData API — Labels. 2 operations. Lead operation: FiscalNote List labels. Self-contained Naftiko
    capability covering one Fiscalnote business surface.'
  tags:
  - Fiscalnote
  - Labels
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FISCALNOTE_API_KEY: FISCALNOTE_API_KEY
capability:
  consumes:
  - type: http
    namespace: appdata-labels
    baseUri: https://api.fiscalnote.com
    description: FiscalNote AppData API — Labels business capability. Self-contained, no shared references.
    resources:
    - name: appdata-v1-labels
      path: /appdata/v1/labels
      operations:
      - name: listlabels
        method: GET
        description: FiscalNote List labels
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: appdata-v1-labels-labelId
      path: /appdata/v1/labels/{labelId}
      operations:
      - name: getlabel
        method: GET
        description: FiscalNote Get label by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: labelId
          in: path
          type: string
          description: The unique identifier of the label.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.FISCALNOTE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: appdata-labels-rest
    port: 8080
    description: REST adapter for FiscalNote AppData API — Labels. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/appdata/v1/labels
      name: appdata-v1-labels
      description: REST surface for appdata-v1-labels.
      operations:
      - method: GET
        name: listlabels
        description: FiscalNote List labels
        call: appdata-labels.listlabels
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/appdata/v1/labels/{labelid}
      name: appdata-v1-labels-labelid
      description: REST surface for appdata-v1-labels-labelId.
      operations:
      - method: GET
        name: getlabel
        description: FiscalNote Get label by ID
        call: appdata-labels.getlabel
        with:
          labelId: rest.labelId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: appdata-labels-mcp
    port: 9090
    transport: http
    description: MCP adapter for FiscalNote AppData API — Labels. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: fiscalnote-list-labels
      description: FiscalNote List labels
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: appdata-labels.listlabels
      outputParameters:
      - type: object
        mapping: $.
    - name: fiscalnote-get-label-id
      description: FiscalNote Get label by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: appdata-labels.getlabel
      with:
        labelId: tools.labelId
      outputParameters:
      - type: object
        mapping: $.