{"files":{"SKILL.md":"---\nname: api\ndescription: \" API skill. Use when working with  for extractor. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# \nAPI version: 1.0\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://schedule.import.io/\n\n## Setup\n1. No auth setup needed\n2. GET /extractor -- verify access\n3. POST /extractor -- create first extractor\n\n## Endpoints\n\n4 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### extractor\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /extractor | Schedule and extractor to run at a specific time |\n| GET | /extractor | Get the list of schedules for all your extractors |\n| DELETE | /extractor/{extractorId}/ | Delete an existing schedule |\n| GET | /extractor/{extractorId}/ | Get the schedule of a particular extractor |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a extractor?\" -> POST /extractor\n- \"List all extractor?\" -> GET /extractor\n- \"Delete a extractor?\" -> DELETE /extractor/{extractorId}/\n- \"Get extractor details?\" -> GET /extractor/{extractorId}/\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints typically return the created/updated object\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get api -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search api\n```\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 \n@base https://schedule.import.io/\n@version 1.0\n@endpoints 4\n@toc extractor(4)\n\n@endpoint POST /extractor\n@desc Schedule and extractor to run at a specific time\n@required {Schedule Request Body: map: any # Request body with the schema defined on the left. Interval is a cron string.}\n@returns(200) crawl run schedule\n@errors {404: Unable to find supplied extractor ID., 403: User is not allowed to create schedule for this extractor., 401: User doesn't own this extractor, or doesn't have a valid session., 400: Validation errors on the request input.}\n\n@endpoint GET /extractor\n@desc Get the list of schedules for all your extractors\n@returns(200) array of crawl run schedules\n@errors {404: Unable to find supplied extractor ID., 401: User doesn't have a valid session.}\n\n@endpoint DELETE /extractor/{extractorId}/\n@desc Delete an existing schedule\n@required {extractorId: any # the id of the extractor with a schedule}\n@returns(200) Empty object\n@errors {404: Unable to find supplied extractor ID., 403: User is not allowed to delete this schedule., 401: User doesn't have a valid session.}\n\n@endpoint GET /extractor/{extractorId}/\n@desc Get the schedule of a particular extractor\n@required {extractorId: any # the id of the extractor with a schedule}\n@returns(200) crawl run schedule\n\n@end\n"}}