API Overview
API Overview
Section titled “API Overview”FlightStack provides a REST API for programmatic access to all features.
Base URL
Section titled “Base URL”https://api.flightstack.devFor self-hosted instances, use your configured API URL.
Authentication
Section titled “Authentication”All API requests require authentication via JWT Bearer token:
curl -H "Authorization: Bearer <token>" \ https://api.flightstack.dev/repositorySee Authentication for details on obtaining tokens.
Response Format
Section titled “Response Format”All responses are JSON:
{ "data": { ... }, "error": null}Error responses:
{ "data": null, "error": "Error message", "statusCode": 400}Endpoints
Section titled “Endpoints”| Endpoint | Description |
|---|---|
/auth/* | Authentication |
/repository | Repository management |
/pipeline | Pipeline management |
/buildagent | Build agent management |
/organization | Organization management |
Rate Limiting
Section titled “Rate Limiting”API requests are rate-limited to prevent abuse:
- 100 requests per minute for authenticated users
- 10 requests per minute for unauthenticated
Official SDKs are available:
- Dart/Flutter:
flightstack_corepackage - CLI:
flightstackcommand-line tool