{"files":{"SKILL.md":"---\nname: gdpr-api\ndescription: \"GDPR API skill. Use when working with GDPR for data-retrievals, data-deletions. Covers 5 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# GDPR API\nAPI version: 3.0.0\n\n## Auth\nApiKey token in query\n\n## Base URL\nNot specified.\n\n## Setup\n1. Set your API key in the appropriate header\n2. GET /data-retrievals/v3.0/{tracking_id} -- check status of retrieval\n3. POST /data-retrievals/v3.0 -- create first v3.0\n\n## Endpoints\n5 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Data-retrievals\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /data-retrievals/v3.0 | Create a Retrieval |\n| GET | /data-retrievals/v3.0/{tracking_id} | Check Status of Retrieval |\n\n### Data-deletions\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /data-deletions/v3.0 | Create a Deletion |\n| GET | /data-deletions/v3.0/{tracking_id} | Check Status of Deletion |\n| DELETE | /data-deletions/v3.0/{tracking_id} | Cancel a Deletion |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a v3.0?\" -> POST /data-retrievals/v3.0\n- \"Get v3.0 details?\" -> GET /data-retrievals/v3.0/{tracking_id}\n- \"Delete a v3.0?\" -> DELETE /data-deletions/v3.0/{tracking_id}\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- Error responses include status codes and descriptions in the spec\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 GDPR API\n@version 3.0.0\n@auth ApiKey token in query\n@endpoints 5\n@toc data-retrievals(2), data-deletions(3)\n\n@group data-retrievals\n@endpoint POST /data-retrievals/v3.0\n@desc Create a Retrieval\n@required {token: str # Your project token}\n@optional {distinct_ids: [str], compliance_type: str # Select CCPA or GDPR. Default is GDPR., disclosure_type: str # Only required if compliance_type = CCPA. Can be Data, Categories, or Sources. Default is Data.}\n@returns(201) {status: str, results: map{task_id: str}} # Success\n@errors {401, 403}\n\n@endpoint GET /data-retrievals/v3.0/{tracking_id}\n@desc Check Status of Retrieval\n@returns(200) {status: str, results: map{status: str, results: str, distinct_ids: [str]}} # Success\n@errors {401, 403}\n\n@endgroup\n\n@group data-deletions\n@endpoint POST /data-deletions/v3.0\n@desc Create a Deletion\n@required {token: str # Your project token}\n@optional {distinct_ids: [str], compliance_type: str # Select CCPA or GDPR. Default is GDPR.}\n@returns(201) {status: str, results: map{task_id: str}} # Success\n@errors {401, 403}\n\n@endpoint GET /data-deletions/v3.0/{tracking_id}\n@desc Check Status of Deletion\n@returns(200) {status: str, results: map{tracking_id: str, status: str, requesting_user: str, compliance_type: str, project_id: num, date_requested: str, distinct_ids: [str]}} # Success\n@errors {401, 403}\n\n@endpoint DELETE /data-deletions/v3.0/{tracking_id}\n@desc Cancel a Deletion\n@returns(204) Success\n@errors {401, 403}\n\n@endgroup\n\n@end\n"}}