naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Insights description: 'Microsoft Azure Azure AgFoodPlatform Data Plane Service — Insights. 6 operations. Lead operation: Microsoft Azure Put Insights Cascade Delete Jobid. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Insights created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: azure-agfoodplatform-data-plane-service-insights baseUri: '' description: Microsoft Azure Azure AgFoodPlatform Data Plane Service — Insights business capability. Self-contained, no shared references. resources: - name: insights-cascade-delete-jobId path: /insights/cascade-delete/{jobId} operations: - name: microsoftazureinsightscreatecascadedeletejob method: PUT description: Microsoft Azure Put Insights Cascade Delete Jobid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: jobId in: path type: string description: Job ID supplied by end user. required: true - name: partyId in: query type: string description: ID of the associated party. required: true - name: modelId in: query type: string description: Id of the associated model. required: true - name: resourceType in: query type: string description: Resource Type. required: true - name: resourceId in: query type: string description: Id of the associated resource. required: true - name: insightId in: query type: string description: Insight id. required: true - name: api-version in: query type: string description: The requested API version required: true - name: microsoftazureinsightsgetcascadedeletejobdetails method: GET description: Microsoft Azure Get Insights Cascade Delete Jobid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: jobId in: path type: string description: Id of the job. required: true - name: api-version in: query type: string description: The requested API version required: true - name: parties-partyId-models-modelId-resource-types-resourceType-resources-resourceId- path: /parties/{partyId}/models/{modelId}/resource-types/{resourceType}/resources/{resourceId}/insights operations: - name: microsoftazureinsightslistbypartyidmodelidandresource method: GET description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: partyId in: path type: string description: Id of the associated party. required: true - name: modelId in: path type: string description: Id of the associated model. required: true - name: resourceType in: path type: string description: Resource type associated with the record. required: true - name: resourceId in: path type: string description: Id of the associated resource. required: true - name: minInsightStartDateTime in: query type: string description: 'Minimum insightStartDateTime time of insight resources (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.' - name: maxInsightStartDateTime in: query type: string description: 'Maximum insightStartDateTime time of insight resources (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.' - name: minInsightEndDateTime in: query type: string description: 'Minimum insightEndDateTime time of insight resources (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.' - name: maxInsightEndDateTime in: query type: string description: 'Maximum insightEndDateTime time of insight resources (inclusive), sample format: yyyy-MM-ddTHH:mm:ssZ.' - name: measurementFilters in: query type: array description: "Filters on measureKey.unit/unitValue or measureKey.value/value pairs within the Measures object.\r" - name: ids in: query type: array description: Ids of the resource. - name: names in: query type: array description: Names of the resource. - name: propertyFilters in: query type: array description: "Filters on key-value pairs within the Properties object.\r" - name: statuses in: query type: array description: Statuses of the resource. - name: minCreatedDateTime in: query type: string description: Minimum creation date of resource (inclusive). - name: maxCreatedDateTime in: query type: string description: Maximum creation date of resource (inclusive). - name: minLastModifiedDateTime in: query type: string description: Minimum last modified date of resource (inclusive). - name: maxLastModifiedDateTime in: query type: string description: Maximum last modified date of resource (inclusive). - name: maxPageSize in: query type: integer description: "Maximum number of items needed (inclusive).\r" - name: skipToken in: query type: string description: Skip token for getting next set of results. - name: api-version in: query type: string description: The requested API version required: true - name: parties-partyId-models-modelId-resource-types-resourceType-resources-resourceId- path: /parties/{partyId}/models/{modelId}/resource-types/{resourceType}/resources/{resourceId}/insights/{insightId} operations: - name: microsoftazureinsightscreateorupdate method: PATCH description: Microsoft Azure Patch Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: partyId in: path type: string description: Id of the associated party. required: true - name: modelId in: path type: string description: "Id of the associated model.\r" required: true - name: resourceType in: path type: string description: Resource type associated with the record. required: true - name: resourceId in: path type: string description: Id of the associated resource. required: true - name: insightId in: path type: string description: Id of the insight resource. required: true - name: api-version in: query type: string description: The requested API version required: true - name: insightData in: body type: string description: Insight data. required: true - name: microsoftazureinsightsget method: GET description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: partyId in: path type: string description: Id of the associated party. required: true - name: modelId in: path type: string description: "Id of the associated model.\r" required: true - name: resourceType in: path type: string description: Resource type associated with the record. required: true - name: resourceId in: path type: string description: Id of the associated resource. required: true - name: insightId in: path type: string description: Id of the insight resource. required: true - name: api-version in: query type: string description: The requested API version required: true - name: microsoftazureinsightsdelete method: DELETE description: Microsoft Azure Delete Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: partyId in: path type: string description: Id of the associated party. required: true - name: modelId in: path type: string description: "Id of the associated model.\r" required: true - name: resourceType in: path type: string description: Resource type associated with the record. required: true - name: resourceId in: path type: string description: Id of the associated resource. required: true - name: insightId in: path type: string description: Id of the insight resource. required: true - name: api-version in: query type: string description: The requested API version required: true exposes: - type: rest namespace: azure-agfoodplatform-data-plane-service-insights-rest port: 8080 description: REST adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Insights. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/insights/cascade-delete/{jobid} name: insights-cascade-delete-jobid description: REST surface for insights-cascade-delete-jobId. operations: - method: PUT name: microsoftazureinsightscreatecascadedeletejob description: Microsoft Azure Put Insights Cascade Delete Jobid call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightscreatecascadedeletejob with: jobId: rest.jobId partyId: rest.partyId modelId: rest.modelId resourceType: rest.resourceType resourceId: rest.resourceId insightId: rest.insightId api-version: rest.api-version outputParameters: - type: object mapping: $. - method: GET name: microsoftazureinsightsgetcascadedeletejobdetails description: Microsoft Azure Get Insights Cascade Delete Jobid call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsgetcascadedeletejobdetails with: jobId: rest.jobId api-version: rest.api-version outputParameters: - type: object mapping: $. - path: /v1/parties/{partyid}/models/{modelid}/resource-types/{resourcetype}/resources/{resourceid}/insights name: parties-partyid-models-modelid-resource-types-resourcetype-resources-resourceid description: REST surface for parties-partyId-models-modelId-resource-types-resourceType-resources-resourceId-. operations: - method: GET name: microsoftazureinsightslistbypartyidmodelidandresource description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightslistbypartyidmodelidandresource with: partyId: rest.partyId modelId: rest.modelId resourceType: rest.resourceType resourceId: rest.resourceId minInsightStartDateTime: rest.minInsightStartDateTime maxInsightStartDateTime: rest.maxInsightStartDateTime minInsightEndDateTime: rest.minInsightEndDateTime maxInsightEndDateTime: rest.maxInsightEndDateTime measurementFilters: rest.measurementFilters ids: rest.ids names: rest.names propertyFilters: rest.propertyFilters statuses: rest.statuses minCreatedDateTime: rest.minCreatedDateTime maxCreatedDateTime: rest.maxCreatedDateTime minLastModifiedDateTime: rest.minLastModifiedDateTime maxLastModifiedDateTime: rest.maxLastModifiedDateTime maxPageSize: rest.maxPageSize skipToken: rest.skipToken api-version: rest.api-version outputParameters: - type: object mapping: $. - path: /v1/parties/{partyid}/models/{modelid}/resource-types/{resourcetype}/resources/{resourceid}/insights/{insightid} name: parties-partyid-models-modelid-resource-types-resourcetype-resources-resourceid description: REST surface for parties-partyId-models-modelId-resource-types-resourceType-resources-resourceId-. operations: - method: PATCH name: microsoftazureinsightscreateorupdate description: Microsoft Azure Patch Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightscreateorupdate with: partyId: rest.partyId modelId: rest.modelId resourceType: rest.resourceType resourceId: rest.resourceId insightId: rest.insightId api-version: rest.api-version insightData: rest.insightData outputParameters: - type: object mapping: $. - method: GET name: microsoftazureinsightsget description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsget with: partyId: rest.partyId modelId: rest.modelId resourceType: rest.resourceType resourceId: rest.resourceId insightId: rest.insightId api-version: rest.api-version outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazureinsightsdelete description: Microsoft Azure Delete Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsdelete with: partyId: rest.partyId modelId: rest.modelId resourceType: rest.resourceType resourceId: rest.resourceId insightId: rest.insightId api-version: rest.api-version outputParameters: - type: object mapping: $. - type: mcp namespace: azure-agfoodplatform-data-plane-service-insights-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Azure AgFoodPlatform Data Plane Service — Insights. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-put-insights-cascade description: Microsoft Azure Put Insights Cascade Delete Jobid hints: readOnly: false destructive: false idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightscreatecascadedeletejob with: jobId: tools.jobId partyId: tools.partyId modelId: tools.modelId resourceType: tools.resourceType resourceId: tools.resourceId insightId: tools.insightId api-version: tools.api-version outputParameters: - type: object mapping: $. - name: microsoft-azure-get-insights-cascade description: Microsoft Azure Get Insights Cascade Delete Jobid hints: readOnly: true destructive: false idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsgetcascadedeletejobdetails with: jobId: tools.jobId api-version: tools.api-version outputParameters: - type: object mapping: $. - name: microsoft-azure-get-parties-partyid description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights hints: readOnly: true destructive: false idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightslistbypartyidmodelidandresource with: partyId: tools.partyId modelId: tools.modelId resourceType: tools.resourceType resourceId: tools.resourceId minInsightStartDateTime: tools.minInsightStartDateTime maxInsightStartDateTime: tools.maxInsightStartDateTime minInsightEndDateTime: tools.minInsightEndDateTime maxInsightEndDateTime: tools.maxInsightEndDateTime measurementFilters: tools.measurementFilters ids: tools.ids names: tools.names propertyFilters: tools.propertyFilters statuses: tools.statuses minCreatedDateTime: tools.minCreatedDateTime maxCreatedDateTime: tools.maxCreatedDateTime minLastModifiedDateTime: tools.minLastModifiedDateTime maxLastModifiedDateTime: tools.maxLastModifiedDateTime maxPageSize: tools.maxPageSize skipToken: tools.skipToken api-version: tools.api-version outputParameters: - type: object mapping: $. - name: microsoft-azure-patch-parties-partyid description: Microsoft Azure Patch Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid hints: readOnly: false destructive: false idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightscreateorupdate with: partyId: tools.partyId modelId: tools.modelId resourceType: tools.resourceType resourceId: tools.resourceId insightId: tools.insightId api-version: tools.api-version insightData: tools.insightData outputParameters: - type: object mapping: $. - name: microsoft-azure-get-parties-partyid-2 description: Microsoft Azure Get Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid hints: readOnly: true destructive: false idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsget with: partyId: tools.partyId modelId: tools.modelId resourceType: tools.resourceType resourceId: tools.resourceId insightId: tools.insightId api-version: tools.api-version outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-parties-partyid description: Microsoft Azure Delete Parties Partyid Models Modelid Resource Types Resourcetype Resources Resourceid Insights Insightid hints: readOnly: false destructive: true idempotent: true call: azure-agfoodplatform-data-plane-service-insights.microsoftazureinsightsdelete with: partyId: tools.partyId modelId: tools.modelId resourceType: tools.resourceType resourceId: tools.resourceId insightId: tools.insightId api-version: tools.api-version outputParameters: - type: object mapping: $.