Skip to content
Back to skills

Api

ASecurity

Query API skill. Use when working with Query for insights, funnels, retention. Covers 19 endpoints.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
developmentapi

Works with

  • cursor
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 11, 2026

npx -y skills add Lap-Platform/claude-marketplace --skill api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lap-platform-api-76361041/badge)](https://www.skillsdirectory.com/skills/lap-platform-api-76361041)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: query-api
description: "Query API skill. Use when working with Query for insights, funnels, retention. Covers 19 endpoints."
version: 1.0.0
generator: lapsh
---

# Query API
API version: 1.0.0

## Auth
No authentication required.

## Base URL
https://mixpanel.com/api/query

## Setup
1. No auth setup needed
2. GET /insights -- verify access
3. POST /cohorts/list -- create first list

## Endpoints

19 endpoints across 9 groups. See references/api-spec.lap for full details.

### insights
| Method | Path | Description |
|--------|------|-------------|
| GET | /insights | Query Saved Report |

### funnels
| Method | Path | Description |
|--------|------|-------------|
| GET | /funnels | Query Saved Report |
| GET | /funnels/list | List Saved Funnels |

### retention
| Method | Path | Description |
|--------|------|-------------|
| GET | /retention | Query Retention Report |
| GET | /retention/addiction | Query Frequency Report |

### segmentation
| Method | Path | Description |
|--------|------|-------------|
| GET | /segmentation | Query Segmentation Report |
| GET | /segmentation/numeric | Numerically Bucket |
| GET | /segmentation/sum | Numerically Sum |
| GET | /segmentation/average | Numerically Average |

### stream
| Method | Path | Description |
|--------|------|-------------|
| GET | /stream/query | Profile Event Activity |

### cohorts
| Method | Path | Description |
|--------|------|-------------|
| POST | /cohorts/list | List Saved Cohorts |

### engage
| Method | Path | Description |
|--------|------|-------------|
| POST | /engage | Query Profiles |

### events
| Method | Path | Description |
|--------|------|-------------|
| GET | /events | Aggregate Event Counts |
| GET | /events/top | Today's Top Events |
| GET | /events/names | Top Events |
| GET | /events/properties | Aggregrated Event Property Values |
| GET | /events/properties/top | Top Event Properties |
| GET | /events/properties/values | Top Event Property Values |

### jql
| Method | Path | Description |
|--------|------|-------------|
| POST | /jql | Custom JQL Query |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all insights?" -> GET /insights
- "List all funnels?" -> GET /funnels
- "List all list?" -> GET /funnels/list
- "List all retention?" -> GET /retention
- "List all addiction?" -> GET /retention/addiction
- "List all segmentation?" -> GET /segmentation
- "List all numeric?" -> GET /segmentation/numeric
- "List all sum?" -> GET /segmentation/sum
- "List all average?" -> GET /segmentation/average
- "List all query?" -> GET /stream/query
- "Create a list?" -> POST /cohorts/list
- "Create a engage?" -> POST /engage
- "List all events?" -> GET /events
- "List all top?" -> GET /events/top
- "List all names?" -> GET /events/names
- "List all properties?" -> GET /events/properties
- "List all top?" -> GET /events/properties/top
- "List all values?" -> GET /events/properties/values
- "Create a jql?" -> POST /jql

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- List endpoints may support pagination; check for limit, offset, or cursor params
- Create/update endpoints typically return the created/updated object

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)

Files in this skill

  • SKILL.md3.4 KB
  • references/api-spec.lap13.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…