hex-rate-limits

Featured

Implement Hex rate limiting, backoff, and idempotency patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for Hex. Trigger with phrases like "hex rate limit", "hex throttling", "hex 429", "hex retry", "hex backoff".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hex Rate Limits ## Overview Hex's API enforces tight limits on project run triggers (20 per minute, 60 per hour) while leaving read operations like status checks and project listing largely unthrottled. Data teams scheduling batch analytics runs or triggering parameterized notebooks from CI/CD pipelines must carefully manage the hourly cap, since a single pipeline triggering 15 projects can consume a quarter of the hourly budget. Polling run status is free, but triggering runs is the bottleneck that shapes integration architecture. ## Rate Limit Reference | Endpoint | Limit | Window | Scope | |----------|-------|--------|-------| | RunProject (trigger) | 20 req | 1 minute | Per API token | | RunProject (trigger) | 60 req | 1 hour | Per API token | | GetRunStatus | No hard limit | - | Per API token | | ListProjects | No hard limit | - | Per API token | | CancelRun | No hard limit | - | Per API token | ## Rate Limiter Implementation ```typescript class HexRateLimiter { private minuteTokens: number = 20; private hourlyTokens: number = 60; private lastMinuteRefill: number = Date.now(); private lastHourlyRefill: number = Date.now(); private queue: Array<{ resolve: () => void }> = []; async acquire(): Promise<void> { this.refill(); if (this.minuteTokens >= 1 && this.hourlyTokens >= 1) { this.minuteTokens -= 1; this.hourlyTokens -= 1; return; } return new Promise(resolve => this.queue.push({ resolve })); } private refill() ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

hex-performance-tuning

Optimize Hex API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Hex integrations. Trigger with phrases like "hex performance", "optimize hex", "hex latency", "hex caching", "hex slow", "hex batch".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hex-cost-tuning

Optimize Hex costs through tier selection, sampling, and usage monitoring. Use when analyzing Hex billing, reducing API costs, or implementing usage monitoring and budget alerts. Trigger with phrases like "hex cost", "hex billing", "reduce hex costs", "hex pricing", "hex expensive", "hex budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

customerio-rate-limits

Implement Customer.io rate limiting and backoff. Use when handling high-volume API calls, implementing retry logic, or hitting 429 errors. Trigger: "customer.io rate limit", "customer.io throttle", "customer.io 429", "customer.io backoff", "customer.io too many requests".

2,266 Updated today
jeremylongshore
AI & Automation Solid

hootsuite-rate-limits

Implement Hootsuite rate limiting, backoff, and idempotency patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for Hootsuite. Trigger with phrases like "hootsuite rate limit", "hootsuite throttling", "hootsuite 429", "hootsuite retry", "hootsuite backoff".

2,266 Updated today
jeremylongshore
AI & Automation Featured

fathom-rate-limits

Handle Fathom API rate limits (60 requests/minute per user). Trigger with phrases like "fathom rate limit", "fathom 429", "fathom throttle".

2,266 Updated today
jeremylongshore