{"files":{"SKILL.md":"---\nname: api\ndescription: \" API skill. Use when working with  for extractor. Covers 2 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://data.import.io/\n\n## Setup\n1. No auth setup needed\n2. GET /extractor/{extractorId}/json/latest -- verify access\n\n## Endpoints\n\n2 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### extractor\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /extractor/{extractorId}/json/latest | Get the latest crawl run results as json |\n| GET | /extractor/{extractorId}/csv/latest | Get the latest crawl run results as a csv |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all latest?\" -> GET /extractor/{extractorId}/json/latest\n- \"List all latest?\" -> GET /extractor/{extractorId}/csv/latest\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\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://data.import.io/\n@version 1.0\n@endpoints 2\n@toc extractor(2)\n\n@endpoint GET /extractor/{extractorId}/json/latest\n@desc Get the latest crawl run results as json\n@required {extractorId: any # The id of the extractor to start get the latest crawl run data}\n@returns(200) OK\n@errors {404: Not found: Extractor has not been run., 401: User doesn't own this extractor, or doesn't have a valid session.}\n\n@endpoint GET /extractor/{extractorId}/csv/latest\n@desc Get the latest crawl run results as a csv\n@required {extractorId: any # the id of the extractor to start get the latest crawl run data}\n@returns(200) OK\n@errors {404: Not found: Extractor has not been run., 401: User doesn't own this extractor, or doesn't have a valid session.}\n\n@end\n"}}