Skip to content

API Overview

FlightStack provides a REST API for programmatic access to all features.

https://api.flightstack.dev

For self-hosted instances, use your configured API URL.

All API requests require authentication via JWT Bearer token:

Terminal window
curl -H "Authorization: Bearer <token>" \
https://api.flightstack.dev/repository

See Authentication for details on obtaining tokens.

All responses are JSON:

{
"data": { ... },
"error": null
}

Error responses:

{
"data": null,
"error": "Error message",
"statusCode": 400
}
EndpointDescription
/auth/*Authentication
/repositoryRepository management
/pipelinePipeline management
/buildagentBuild agent management
/organizationOrganization management

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_core package
  • CLI: flightstack command-line tool