naftiko: 1.0.0-alpha2 info: label: Ashby API — Survey Form Definition description: 'Ashby API — Survey Form Definition. 2 operations. Lead operation: surveyFormDefinition.info. Self-contained Naftiko capability covering one Ashby business surface.' tags: - Ashby - Survey Form Definition created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ASHBY_API_KEY: ASHBY_API_KEY capability: consumes: - type: http namespace: ashby-survey-form-definition baseUri: https://api.ashbyhq.com description: Ashby API — Survey Form Definition business capability. Self-contained, no shared references. resources: - name: surveyFormDefinition.info path: /surveyFormDefinition.info operations: - name: surveyformdefinitioninfo method: POST description: surveyFormDefinition.info outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: surveyFormDefinition.list path: /surveyFormDefinition.list operations: - name: surveyformdefinitionlist method: POST description: surveyFormDefinition.list outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: Ashby-Signature value: '{{env.ASHBY_API_KEY}}' placement: header exposes: - type: rest namespace: ashby-survey-form-definition-rest port: 8080 description: REST adapter for Ashby API — Survey Form Definition. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/surveyformdefinition-info name: surveyformdefinition-info description: REST surface for surveyFormDefinition.info. operations: - method: POST name: surveyformdefinitioninfo description: surveyFormDefinition.info call: ashby-survey-form-definition.surveyformdefinitioninfo with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/surveyformdefinition-list name: surveyformdefinition-list description: REST surface for surveyFormDefinition.list. operations: - method: POST name: surveyformdefinitionlist description: surveyFormDefinition.list call: ashby-survey-form-definition.surveyformdefinitionlist with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ashby-survey-form-definition-mcp port: 9090 transport: http description: MCP adapter for Ashby API — Survey Form Definition. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: surveyformdefinition-info description: surveyFormDefinition.info hints: readOnly: false destructive: false idempotent: false call: ashby-survey-form-definition.surveyformdefinitioninfo with: body: tools.body outputParameters: - type: object mapping: $. - name: surveyformdefinition-list description: surveyFormDefinition.list hints: readOnly: false destructive: false idempotent: false call: ashby-survey-form-definition.surveyformdefinitionlist with: body: tools.body outputParameters: - type: object mapping: $.