Base URL
The base URL for the v1 Labs API is:Authentication
All requests to the Labs API must be authenticated. Use bearer authentication with a Workspace API token, Organization API token, or Deployment API token. Add the token to theAuthorization header of each request:
Version pinning
The v1 Labs API usesmajor.minor versioning. The major version is part of the base URL (/labs/v1/), and you can pin a specific minor version with the X-Labs-API-Version header:
X-Labs-API-Version header, your requests use the latest minor version. Pinning a minor version keeps a stable request and response shape even after Astronomer ships a newer minor version that changes a field.
The Example endpoint exists only to demonstrate this behavior. The latest minor version returns the field proofOfConcept, and version 1.0 returns the same value as name. A client pinned to 1.0 keeps receiving name after the field is renamed in a later version.
Errors
Error responses use a consistent shape with amessage, a statusCode, and a requestId. Share the requestId with Astronomer support when you report a problem. Requests that exceed an endpoint’s rate limit return 429 Too Many Requests.