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