Skip to content

API reference

This page explains where the API contract comes from and which endpoints matter for the GitHub web landing deploy flow. The canonical source is ../cloud-api/docs/api-reference.md; lifecycle details for web apps come from ../cloud-api/docs/app/web-app-flow.md.

https://api.septiembre.ai

Use the Cognito ID token as the bearer token:

Authorization: Bearer <cognito-id-token>

The API reads the email claim from the Cognito ID token. Do not substitute the access token when calling Septiembre API endpoints.

StepEndpointWhy it matters
Create appPOST /api/v1/orgs/{orgID}/projects/{projectID}/appsStores the web app, GitHub repository, branch, build command, output directory, region, generated subdomain value, and production environment.
Update appPATCH /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}Changes app metadata such as GitHub repo, branch, build command, or output directory.
Manage envPUT /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}/envReplaces app-level environment variables.
Read environmentsGET /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}/environmentsFinds the production environment created with the app.
DeployPOST /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}/deploymentsStarts the build/deploy flow. For web apps, no release tag is needed.
List deploymentsGET /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}/deploymentsShows recent deployment status.
Read failureGET /api/v1/orgs/{orgID}/projects/{projectID}/apps/{appID}/deployments/{deployID}/failureGives structured failure information after a failed deploy.

For user-facing docs, use the lifecycle from web-app-flow.md: web app creation stores database and GitHub configuration. The first successful deploy builds the repository, syncs the static output to S3, and activates/materializes the live DNS/CDN infrastructure. Later deploys rebuild, sync to S3, and invalidate CDN cache.

If an API reference table appears to imply live web infrastructure is complete at app creation time, prefer the lifecycle document for the web landing guide. That distinction matters for non-technical users: they should not expect the public URL to work before the first successful deploy.

Read the Septiembre API reference from ../cloud-api/docs/api-reference.md.
Read web lifecycle behavior from ../cloud-api/docs/app/web-app-flow.md.
Use the Cognito ID token for Authorization.
Do not claim OpenAPI generation exists unless a verified artifact is present.
When documenting web landings, state that live DNS/CDN appears after the first successful deploy.