# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand. overlay: 1.0.0 info: title: API Evangelist conversational phrasing for Azure API Management REST API Diagnostic API version: 1.0.0 extends: openapi/microsoft-azure-api-management-apidiagnostic-api-openapi.yml actions: - target: $.info update: x-apievangelist-phrasing: method: generated generated: '2026-10-01' generator: build-phrasing.py label: Generated by API Evangelist operations: 6 - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics'].get update: x-apievangelist-phrasing: intent: List an API's diagnostics effect: read questions: - Which diagnostic settings are configured on one of my APIs? - Can I see all logging diagnostics attached to a single API in API Management? instructions: - text: List every diagnostic configured on the API I name. - text: Show me the logging diagnostics for this API. - text: List every diagnostic configured on API {apiId} in service {serviceName}. slots: apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}'].get update: x-apievangelist-phrasing: intent: Get one diagnostic on an API effect: read questions: - How do I see how a particular diagnostic on an API is configured? - What sampling and logger settings does an API diagnostic use? instructions: - text: Get the diagnostic I name from this API. - text: Show me the settings of one diagnostic on the API. - text: Get diagnostic {diagnosticId} on API {apiId} in service {serviceName}. slots: diagnosticId: path.diagnosticId apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}'].put update: x-apievangelist-phrasing: intent: Create or replace an API diagnostic effect: write questions: - How do I turn on request logging for a single API? - Can I create a diagnostic on an API or overwrite the existing one in one call? instructions: - text: Create a diagnostic named {name} on the API I name. slots: name: requestBody.name - text: Create or replace this API's diagnostic with properties {properties}. slots: properties: requestBody.properties - text: Create or replace diagnostic {diagnosticId} on API {apiId} in service {serviceName}. slots: diagnosticId: path.diagnosticId apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}'].delete update: x-apievangelist-phrasing: intent: Delete a diagnostic from an API effect: destructive questions: - How can I stop logging on an API by removing its diagnostic? - Is removing an API diagnostic permanent? instructions: - text: Delete the diagnostic I name from this API. - text: Remove the logging diagnostic from the API. - text: Delete diagnostic {diagnosticId} from API {apiId} in service {serviceName}. slots: diagnosticId: path.diagnosticId apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}'].patch update: x-apievangelist-phrasing: intent: Update an API diagnostic effect: write questions: - Can I change the sampling rate on an existing API diagnostic without recreating it? - Is there a way to patch just some settings of an API's diagnostic? instructions: - text: Patch the existing diagnostic I name on this API. - text: Adjust the sampling settings of an API diagnostic that already exists. - text: Adjust sampling on existing diagnostic {diagnosticId} of API {apiId} in {serviceName}. slots: diagnosticId: path.diagnosticId apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01' - target: $.paths['/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}'].head update: x-apievangelist-phrasing: intent: Get an API diagnostic's ETag effect: read questions: - Can I read an API diagnostic's ETag without its full body? - Does a diagnostic with a given ID exist on my API? instructions: - text: Check the ETag of the diagnostic I name on this API. - text: Confirm an API diagnostic exists from its entity state header. - text: Read only the ETag of diagnostic {diagnosticId} on API {apiId} in {serviceName}. slots: diagnosticId: path.diagnosticId apiId: path.apiId serviceName: path.serviceName method: generated generated: '2026-10-01'