Research and investigate Lightdash API endpoints to understand request/response schemas and behavior.
This skill is used to thoroughly research and investigate a Lightdash API endpoint. It involves researching official documentation and performing live verification against a running Lightdash instance to confirm the actual JSON schema, including request parameters and response bodies.
The user should provide:
/api/v1/projects/:projectUuid/spaces)web_search or WebFetch to find the endpoint details in the Lightdash API Docs.If you have access to a Lightdash instance and an API key:
Environment Setup:
LIGHTDASH_API_KEY and LIGHTDASH_URL (defaults to https://app.lightdash.cloud) in the environment or .env file.LIGHTDASH_API_KEY and LIGHTDASH_URL."Execution:
Use curl to fetch the live response. This is the preferred method.
# Example for GET request
curl -X GET "${LIGHTDASH_URL}/api/v1/your/endpoint" \
-H "Authorization: ApiKey ${LIGHTDASH_API_KEY}" \
-H "Content-Type: application/json"
For POST/PUT requests with a body:
curl -X POST "${LIGHTDASH_URL}/api/v1/your/endpoint" \
-H "Authorization: ApiKey ${LIGHTDASH_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
Alternatively, use the Schema Verification Script if a Go-based execution is preferred:
LIGHTDASH_API_KEY=your_key LIGHTDASH_URL=https://app.lightdash.cloud go run .claude/skills/research-lightdash-api/assets/verify_schema.go /api/v1/your/endpoint
Discrepancy Analysis:
{ "status": "ok", "results": ... } envelope.