Get static site repository
Retrieve metadata about the Git repository connected to a static site: the source type, Git provider, repository URL, default branch, and the commit currently deployed (from the latest successful deployment). Call this first to discover the deployed commit SHA, then pass it as the ref to the tree and contents endpoints to inspect exactly the code that is deployed. Static sites always have a privateGit or publicGit source; the 422 response only occurs if the repository URL is missing.
Documentation Index
Fetch the complete documentation index at: https://api-docs.sevalla.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Static site identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Response
Default Response
Where the static site source code comes from. privateGit - private Git repository connected via OAuth. publicGit - public Git repository URL.
privateGit, publicGit "privateGit"
Git hosting provider for the repository. github - GitHub. bitbucket - Bitbucket. gitlab - GitLab. Null for public git sources.
github, bitbucket, gitlab "github"
Full URL of the Git repository
"https://github.com/acme/my-site"
Default branch configured for deployments
"main"
The commit currently deployed from the static site's current repository. Null if the static site has never deployed successfully, or if its repository was changed after the last successful deployment (the deployed commit belongs to the old repo and no longer applies).