naftiko: 1.0.0-alpha2 info: label: Azure Synapse Analytics - Spark Job Definition API — SparkJobDefinition description: 'Azure Synapse Analytics - Spark Job Definition API — SparkJobDefinition. 7 operations. Lead operation: Azure Synapse Analytics List Spark job definitions. Self-contained Naftiko capability covering one Microsoft Azure Synapse Analytics business surface.' tags: - Microsoft Azure Synapse Analytics - SparkJobDefinition created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY: MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY capability: consumes: - type: http namespace: azure-synapse-analytics-spark-job-definition-sparkjobdefinition baseUri: https://{workspaceName}.dev.azuresynapse.net description: Azure Synapse Analytics - Spark Job Definition API — SparkJobDefinition business capability. Self-contained, no shared references. resources: - name: sparkJobDefinitions path: /sparkJobDefinitions operations: - name: sparkjobdefinitiongetsparkjobdefinitionsbyworkspace method: GET description: Azure Synapse Analytics List Spark job definitions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sparkJobDefinitions-sparkJobDefinitionName path: /sparkJobDefinitions/{sparkJobDefinitionName} operations: - name: sparkjobdefinitiongetsparkjobdefinition method: GET description: Azure Synapse Analytics Get a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-None-Match in: header type: string - name: sparkjobdefinitioncreateorupdatesparkjobdefinition method: PUT description: Azure Synapse Analytics Create or update a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: sparkjobdefinitiondeletesparkjobdefinition method: DELETE description: Azure Synapse Analytics Delete a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sparkJobDefinitions-sparkJobDefinitionName-debug path: /sparkJobDefinitions/{sparkJobDefinitionName}/debug operations: - name: sparkjobdefinitiondebugsparkjobdefinition method: POST description: Azure Synapse Analytics Debug a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sparkJobDefinitions-sparkJobDefinitionName-execute path: /sparkJobDefinitions/{sparkJobDefinitionName}/execute operations: - name: sparkjobdefinitionexecutesparkjobdefinition method: POST description: Azure Synapse Analytics Execute a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. - name: sparkJobDefinitions-sparkJobDefinitionName-rename path: /sparkJobDefinitions/{sparkJobDefinitionName}/rename operations: - name: sparkjobdefinitionrenamesparkjobdefinition method: POST description: Azure Synapse Analytics Rename a Spark job definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY}}' exposes: - type: rest namespace: azure-synapse-analytics-spark-job-definition-sparkjobdefinition-rest port: 8080 description: REST adapter for Azure Synapse Analytics - Spark Job Definition API — SparkJobDefinition. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sparkjobdefinitions name: sparkjobdefinitions description: REST surface for sparkJobDefinitions. operations: - method: GET name: sparkjobdefinitiongetsparkjobdefinitionsbyworkspace description: Azure Synapse Analytics List Spark job definitions call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiongetsparkjobdefinitionsbyworkspace outputParameters: - type: object mapping: $. - path: /v1/sparkjobdefinitions/{sparkjobdefinitionname} name: sparkjobdefinitions-sparkjobdefinitionname description: REST surface for sparkJobDefinitions-sparkJobDefinitionName. operations: - method: GET name: sparkjobdefinitiongetsparkjobdefinition description: Azure Synapse Analytics Get a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiongetsparkjobdefinition with: If-None-Match: rest.If-None-Match outputParameters: - type: object mapping: $. - method: PUT name: sparkjobdefinitioncreateorupdatesparkjobdefinition description: Azure Synapse Analytics Create or update a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitioncreateorupdatesparkjobdefinition with: If-Match: rest.If-Match body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: sparkjobdefinitiondeletesparkjobdefinition description: Azure Synapse Analytics Delete a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiondeletesparkjobdefinition outputParameters: - type: object mapping: $. - path: /v1/sparkjobdefinitions/{sparkjobdefinitionname}/debug name: sparkjobdefinitions-sparkjobdefinitionname-debug description: REST surface for sparkJobDefinitions-sparkJobDefinitionName-debug. operations: - method: POST name: sparkjobdefinitiondebugsparkjobdefinition description: Azure Synapse Analytics Debug a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiondebugsparkjobdefinition with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sparkjobdefinitions/{sparkjobdefinitionname}/execute name: sparkjobdefinitions-sparkjobdefinitionname-execute description: REST surface for sparkJobDefinitions-sparkJobDefinitionName-execute. operations: - method: POST name: sparkjobdefinitionexecutesparkjobdefinition description: Azure Synapse Analytics Execute a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitionexecutesparkjobdefinition outputParameters: - type: object mapping: $. - path: /v1/sparkjobdefinitions/{sparkjobdefinitionname}/rename name: sparkjobdefinitions-sparkjobdefinitionname-rename description: REST surface for sparkJobDefinitions-sparkJobDefinitionName-rename. operations: - method: POST name: sparkjobdefinitionrenamesparkjobdefinition description: Azure Synapse Analytics Rename a Spark job definition call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitionrenamesparkjobdefinition with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-synapse-analytics-spark-job-definition-sparkjobdefinition-mcp port: 9090 transport: http description: MCP adapter for Azure Synapse Analytics - Spark Job Definition API — SparkJobDefinition. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: azure-synapse-analytics-list-spark description: Azure Synapse Analytics List Spark job definitions hints: readOnly: true destructive: false idempotent: true call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiongetsparkjobdefinitionsbyworkspace outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-get-spark description: Azure Synapse Analytics Get a Spark job definition hints: readOnly: true destructive: false idempotent: true call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiongetsparkjobdefinition with: If-None-Match: tools.If-None-Match outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-create-update description: Azure Synapse Analytics Create or update a Spark job definition hints: readOnly: false destructive: false idempotent: true call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitioncreateorupdatesparkjobdefinition with: If-Match: tools.If-Match body: tools.body outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-delete-spark description: Azure Synapse Analytics Delete a Spark job definition hints: readOnly: false destructive: true idempotent: true call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiondeletesparkjobdefinition outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-debug-spark description: Azure Synapse Analytics Debug a Spark job definition hints: readOnly: false destructive: false idempotent: false call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitiondebugsparkjobdefinition with: body: tools.body outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-execute-spark description: Azure Synapse Analytics Execute a Spark job definition hints: readOnly: false destructive: false idempotent: false call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitionexecutesparkjobdefinition outputParameters: - type: object mapping: $. - name: azure-synapse-analytics-rename-spark description: Azure Synapse Analytics Rename a Spark job definition hints: readOnly: false destructive: false idempotent: false call: azure-synapse-analytics-spark-job-definition-sparkjobdefinition.sparkjobdefinitionrenamesparkjobdefinition with: body: tools.body outputParameters: - type: object mapping: $.