{"files":{"SKILL.md":"---\nname: amazon-forecast-query-service\ndescription: \"Amazon Forecast Query Service API skill. Use when working with Amazon Forecast Query Service for root. Covers 2 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Amazon Forecast Query Service\nAPI version: 2018-06-26\n\n## Auth\nAWS SigV4\n\n## Base URL\nNot specified.\n\n## Setup\n1. Configure auth: AWS SigV4\n2. Verify API access with a test request\n3. POST / -- create first resource\n\n## Endpoints\n2 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Root\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | / | Retrieves a forecast for a single item, filtered by the supplied criteria. The criteria is a key-value pair. The key is either item_id (or the equivalent non-timestamp, non-target field) from the TARGET_TIME_SERIES dataset, or one of the forecast dimensions specified as part of the FeaturizationConfig object. By default, QueryForecast returns the complete date range for the filtered forecast. You can request a specific date range. To get the full forecast, use the CreateForecastExportJob operation.  The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor. |\n| POST | / | Retrieves a what-if forecast. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a resource?\" -> POST /\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 Amazon Forecast Query Service\n@version 2018-06-26\n@auth AWS SigV4\n@endpoints 2\n@toc root(2)\n\n@endpoint POST /\n@desc Retrieves a forecast for a single item, filtered by the supplied criteria. The criteria is a key-value pair. The key is either item_id (or the equivalent non-timestamp, non-target field) from the TARGET_TIME_SERIES dataset, or one of the forecast dimensions specified as part of the FeaturizationConfig object. By default, QueryForecast returns the complete date range for the filtered forecast. You can request a specific date range. To get the full forecast, use the CreateForecastExportJob operation.  The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor.\n@required {ForecastArn: str, Filters: map<str,str>}\n@optional {StartDate: str, EndDate: str, NextToken: str}\n@returns(200) {Forecast: Forecast?{Predictions: map<str, [DataPoint]>?: any}}\n\n@endpoint POST /\n@desc Retrieves a what-if forecast.\n@required {WhatIfForecastArn: str, Filters: map<str,str>}\n@optional {StartDate: str, EndDate: str, NextToken: str}\n@returns(200) {Forecast: Forecast?{Predictions: map<str, [DataPoint]>?: any}}\n\n@end\n"}}