{"files":{"SKILL.md":"---\nname: datasette-api\ndescription: \"Datasette API skill. Use when working with Datasette for content.json. Covers 1 endpoint.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Datasette API\nAPI version: v1\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://datasette.io\n\n## Setup\n1. No auth setup needed\n2. GET /content.json -- verify access\n\n## Endpoints\n\n1 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### content.json\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /content.json | Execute a SQLite SQL query against the content database |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all content.json?\" -> GET /content.json\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 datasette-api -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search datasette-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 Datasette API\n@base https://datasette.io\n@version v1\n@endpoints 1\n@toc content.json(1)\n\n@endpoint GET /content.json\n@desc Execute a SQLite SQL query against the content database\n@required {sql: str # The SQL query to be executed, _shape: str # The shape of the response data. Must be \"array\"}\n@returns(200) Successful SQL results\n@errors {400: Bad request, 500: Internal server error}\n\n@end\n"}}