Skip to main content
The Sluice API is served at https://sluice.sh/api. All endpoints return JSON and follow consistent error handling conventions.

Authentication

All endpoints (except /api/health) require authentication. See the Authentication page for details.

Rate limits

The free tier allows 10,000 ingested events per day. The POST /api/ingest endpoint enforces this limit and returns 429 with a Retry-After header when exceeded. Dashboard API endpoints (jobs, queues, workers) are not rate-limited in V0.

Error format

All error responses follow a consistent structure:

HTTP status codes

Pagination

The API uses two pagination styles: Cursor-based (for jobs): Returns a nextCursor token. Pass it as the cursor query parameter to get the next page. Best for real-time data where new records are constantly being added.
Page-based (for queues, workers): Uses page and limit query parameters with a total count.

Endpoints