{"files":{"SKILL.md":"---\nname: azure-metrics\ndescription: \"Azure Metrics API skill. Use when working with Azure Metrics for subscriptions. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Azure Metrics\nAPI version: 2018-09-01-preview\n\n## Auth\nApiKey Authorization in header\n\n## Base URL\nhttps://monitoring.azure.com\n\n## Setup\n1. Set your API key in the appropriate header\n2. Verify API access with a test request\n3. POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics -- create first metric\n\n## Endpoints\n1 endpoint across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics | **Post the metric values for a resource**. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a metric?\" -> POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Azure Metrics\n@base https://monitoring.azure.com\n@version 2018-09-01-preview\n@auth ApiKey Authorization in header\n@endpoints 1\n@toc subscriptions(1)\n\n@endpoint POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProvider}/{resourceTypeName}/{resourceName}/metrics\n@desc **Post the metric values for a resource**.\n@required {Content-Type: any # Supports application/json and application/x-ndjson, Content-Length: any # Content length of the payload, Authorization: any # Authorization token issue for issued for audience \"https:\\\\monitoring.azure.com\\\", subscriptionId: any # The azure subscription id, resourceGroupName: any # The ARM resource group name, resourceProvider: any # The ARM resource provider name, resourceTypeName: any # The ARM resource type name, resourceName: any # The ARM resource name, body: map # The Azure metrics document json payload}\n@returns(200) The azure metrics publish succeeded\n\n@end\n"}}