{"files":{"SKILL.md":"---\nname: vtex-headless-cms\ndescription: \"VTEX Headless CMS API skill. Use when working with VTEX Headless CMS for _v. Covers 3 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# VTEX Headless CMS\nAPI version: 0.31.2\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://storeframework.myvtex.com\n\n## Setup\n1. No auth setup needed\n2. GET /_v/cms/api/{projectId} -- verify access\n\n## Endpoints\n\n3 endpoints across 1 groups. See references/api-spec.lap for full details.\n\n### _v\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /_v/cms/api/{projectId} | Get all content types |\n| GET | /_v/cms/api/{projectId}/{content-type} | Get all CMS pages by content type |\n| GET | /_v/cms/api/{projectId}/{content-type}/{document-id} | Get CMS page |\n\n## Common Questions\n\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get api details?\" -> GET /_v/cms/api/{projectId}\n- \"Get api details?\" -> GET /_v/cms/api/{projectId}/{content-type}\n- \"Get api details?\" -> GET /_v/cms/api/{projectId}/{content-type}/{document-id}\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- List endpoints may support pagination; check for limit, offset, or cursor params\n\n## CLI\n\n```bash\n# Update this spec to the latest version\nnpx @lap-platform/lapsh get vtex-headless-cms -o references/api-spec.lap\n\n# Search for related APIs\nnpx @lap-platform/lapsh search vtex-headless-cms\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 VTEX Headless CMS\n@base https://storeframework.myvtex.com\n@version 0.31.2\n@endpoints 3\n@toc _v(3)\n\n@endpoint GET /_v/cms/api/{projectId}\n@desc Get all content types\n@required {projectId: str # Project ID specified in the settings of the CMS (alpha) app.}\n@returns(200) {contentTypes: [map]} # OK\n@errors {404: Not Found, 500: Internal Server Error}\n\n@endpoint GET /_v/cms/api/{projectId}/{content-type}\n@desc Get all CMS pages by content type\n@required {projectId: str # Project ID specified in the settings of the CMS (alpha) app., content-type: str # Content type identifier defined in the FastStore project.}\n@optional {page: str # The page number to retrieve in a paginated list of results. If not specified, the default return is 10 items per page., versionId: str # Version ID presented in the URL path of a CMS preview., releaseId: str # Release ID presented in the URL path of a CMS preview., filters[{field}]: str # Filter results by a property of the page (e.g., `filters[status]`) or by a nested custom field of the `parameters` object (e.g., `filters[parameters.collection.sort]`). *Replace {field} with the desired property.*}\n@returns(200) {hasNextPage: bool, totalItems: int, data: [map]} # OK\n@errors {404: Not Found, 500: Internal Server Error}\n\n@endpoint GET /_v/cms/api/{projectId}/{content-type}/{document-id}\n@desc Get CMS page\n@required {projectId: str # Project ID specified in the settings of the CMS (alpha) app., content-type: str # Content type ID defined in the FastStore project., document-id: str # Document ID presented in the URL path of a CMS preview.}\n@optional {versionId: str # Version ID presented in the URL path of a CMS preview., releaseId: str # Release ID presented in the URL path of a CMS preview.}\n@returns(200) {id: str, name: str, type: str, status: str, versionId: str, versionStatus: str, sections: [map]} # OK\n@errors {404: Not Found, 500: Internal Server Error}\n\n@end\n"}}