naftiko: 1.0.0-alpha2 info: label: Demandbase Data Export API — Export Jobs description: 'Demandbase Data Export API — Export Jobs. 5 operations. Lead operation: Demandbase List exportable entities. Self-contained Naftiko capability covering one Demandbase business surface.' tags: - Demandbase - Export Jobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEMANDBASE_API_KEY: DEMANDBASE_API_KEY capability: consumes: - type: http namespace: data-export-export-jobs baseUri: https://api.demandbase.com description: Demandbase Data Export API — Export Jobs business capability. Self-contained, no shared references. resources: - name: export-v1-entities path: /export/v1/entities operations: - name: listexportableentities method: GET description: Demandbase List exportable entities outputRawFormat: json outputParameters: - name: result type: object value: $. - name: export-v1-jobs path: /export/v1/jobs operations: - name: listexportjobs method: GET description: Demandbase List export jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by job status - name: limit in: query type: integer - name: offset in: query type: integer - name: createexportjob method: POST description: Demandbase Create an export job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: export-v1-jobs-jobId path: /export/v1/jobs/{jobId} operations: - name: getexportjob method: GET description: Demandbase Get export job status outputRawFormat: json outputParameters: - name: result type: object value: $. - name: cancelexportjob method: DELETE description: Demandbase Cancel an export job outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DEMANDBASE_API_KEY}}' exposes: - type: rest namespace: data-export-export-jobs-rest port: 8080 description: REST adapter for Demandbase Data Export API — Export Jobs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/export/v1/entities name: export-v1-entities description: REST surface for export-v1-entities. operations: - method: GET name: listexportableentities description: Demandbase List exportable entities call: data-export-export-jobs.listexportableentities outputParameters: - type: object mapping: $. - path: /v1/export/v1/jobs name: export-v1-jobs description: REST surface for export-v1-jobs. operations: - method: GET name: listexportjobs description: Demandbase List export jobs call: data-export-export-jobs.listexportjobs with: status: rest.status limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createexportjob description: Demandbase Create an export job call: data-export-export-jobs.createexportjob with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/export/v1/jobs/{jobid} name: export-v1-jobs-jobid description: REST surface for export-v1-jobs-jobId. operations: - method: GET name: getexportjob description: Demandbase Get export job status call: data-export-export-jobs.getexportjob outputParameters: - type: object mapping: $. - method: DELETE name: cancelexportjob description: Demandbase Cancel an export job call: data-export-export-jobs.cancelexportjob outputParameters: - type: object mapping: $. - type: mcp namespace: data-export-export-jobs-mcp port: 9090 transport: http description: MCP adapter for Demandbase Data Export API — Export Jobs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: demandbase-list-exportable-entities description: Demandbase List exportable entities hints: readOnly: true destructive: false idempotent: true call: data-export-export-jobs.listexportableentities outputParameters: - type: object mapping: $. - name: demandbase-list-export-jobs description: Demandbase List export jobs hints: readOnly: true destructive: false idempotent: true call: data-export-export-jobs.listexportjobs with: status: tools.status limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: demandbase-create-export-job description: Demandbase Create an export job hints: readOnly: false destructive: false idempotent: false call: data-export-export-jobs.createexportjob with: body: tools.body outputParameters: - type: object mapping: $. - name: demandbase-get-export-job-status description: Demandbase Get export job status hints: readOnly: true destructive: false idempotent: true call: data-export-export-jobs.getexportjob outputParameters: - type: object mapping: $. - name: demandbase-cancel-export-job description: Demandbase Cancel an export job hints: readOnly: false destructive: true idempotent: true call: data-export-export-jobs.cancelexportjob outputParameters: - type: object mapping: $.