naftiko: 1.0.0-alpha2 info: label: Partner API — Experimental description: 'Partner API — Experimental. 4 operations. Lead operation: Zapier Create an Action Run. Self-contained Naftiko capability covering one Zapier business surface.' tags: - Zapier - Experimental created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZAPIER_API_KEY: ZAPIER_API_KEY capability: consumes: - type: http namespace: partner-experimental baseUri: https://api.zapier.com description: Partner API — Experimental business capability. Self-contained, no shared references. resources: - name: v2-action-runs path: /v2/action-runs operations: - name: createactionrun method: POST description: Zapier Create an Action Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-action-runs-id path: /v2/action-runs/{id} operations: - name: retrieveactionrun method: GET description: Zapier Retrieve Action Run outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: An Action Run ID. required: true - name: v2-whitelabel-apps path: /v2/whitelabel/apps operations: - name: v2whitelabelappslist method: GET description: Zapier Get Whitelabel Apps [v2] outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: category in: query type: string description: Filter apps by category slug. - name: limit in: query type: number description: Limit the number of apps returned. - name: offset in: query type: number description: The number of apps to skip before beginning to return results. - name: search in: query type: string description: Case-insensitive search to filter apps by title. - name: v2-zap-runs path: /v2/zap-runs operations: - name: getzapruns method: GET description: Zapier Get Zap Runs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: from_date in: query type: string description: Filter Zap runs that occurred on or after this date. If not provided, the results default to Zap runs from the last 30 days. - name: limit in: query type: integer description: Used for paginating results. Specifies the maximum number of items to return per page. If this value is not set, it defaults to 10. - name: offset in: query type: integer description: Used for paginating results. Specifies the offset to use. - name: search in: query type: string description: Performs a text search against the zap_title, data_in, and data_out fields, returning only zap runs that match the specified keywords. - name: statuses in: query type: array description: Accepts one or more status values separated by comma, enabling the filtering of zap runs based on the specified status or statuses provided. - name: to_date in: query type: string description: Filter Zap runs that occurred before this date. - name: zap_id in: query type: integer description: Find Zap runs for the specified Zap ID. authentication: type: bearer token: '{{env.ZAPIER_API_KEY}}' exposes: - type: rest namespace: partner-experimental-rest port: 8080 description: REST adapter for Partner API — Experimental. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/action-runs name: v2-action-runs description: REST surface for v2-action-runs. operations: - method: POST name: createactionrun description: Zapier Create an Action Run call: partner-experimental.createactionrun with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/action-runs/{id} name: v2-action-runs-id description: REST surface for v2-action-runs-id. operations: - method: GET name: retrieveactionrun description: Zapier Retrieve Action Run call: partner-experimental.retrieveactionrun with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v2/whitelabel/apps name: v2-whitelabel-apps description: REST surface for v2-whitelabel-apps. operations: - method: GET name: v2whitelabelappslist description: Zapier Get Whitelabel Apps [v2] call: partner-experimental.v2whitelabelappslist with: category: rest.category limit: rest.limit offset: rest.offset search: rest.search outputParameters: - type: object mapping: $. - path: /v1/v2/zap-runs name: v2-zap-runs description: REST surface for v2-zap-runs. operations: - method: GET name: getzapruns description: Zapier Get Zap Runs call: partner-experimental.getzapruns with: from_date: rest.from_date limit: rest.limit offset: rest.offset search: rest.search statuses: rest.statuses to_date: rest.to_date zap_id: rest.zap_id outputParameters: - type: object mapping: $. - type: mcp namespace: partner-experimental-mcp port: 9090 transport: http description: MCP adapter for Partner API — Experimental. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zapier-create-action-run description: Zapier Create an Action Run hints: readOnly: false destructive: false idempotent: false call: partner-experimental.createactionrun with: body: tools.body outputParameters: - type: object mapping: $. - name: zapier-retrieve-action-run description: Zapier Retrieve Action Run hints: readOnly: true destructive: false idempotent: true call: partner-experimental.retrieveactionrun with: id: tools.id outputParameters: - type: object mapping: $. - name: zapier-get-whitelabel-apps-v2 description: Zapier Get Whitelabel Apps [v2] hints: readOnly: true destructive: false idempotent: true call: partner-experimental.v2whitelabelappslist with: category: tools.category limit: tools.limit offset: tools.offset search: tools.search outputParameters: - type: object mapping: $. - name: zapier-get-zap-runs description: Zapier Get Zap Runs hints: readOnly: true destructive: false idempotent: true call: partner-experimental.getzapruns with: from_date: tools.from_date limit: tools.limit offset: tools.offset search: tools.search statuses: tools.statuses to_date: tools.to_date zap_id: tools.zap_id outputParameters: - type: object mapping: $.