API Reference
Complete reference for all Tailstream API endpoints.
Authentication
All API requests require authentication. See the Authentication Guide for details on token types and usage.
API Categories
Ingest API
Send log events to Tailstream.
POST /api/ingest/{streamId}
- Send log events
Streams API
Manage event streams and ingest tokens.
POST /api/streams
- Create a new streamPOST /api/streams/{stream}/ingest-token
- Issue an ingest token
Response Codes
All endpoints use standard HTTP status codes:
- 200 - Success
- 201 - Created successfully
- 400 - Bad request (malformed data)
- 401 - Missing or invalid authentication
- 403 - Insufficient permissions
- 404 - Resource not found
- 422 - Validation error
- 429 - Rate limit exceeded (includes
Retry-After
header)
Getting Started
- Start with Authentication to understand token types
- Follow the Ingest Setup Guide to send your first logs
- Explore individual endpoint documentation for detailed request/response formats