Get application repository
Retrieve metadata about the Git repository connected to an application: the source type, Git provider, repository URL, default branch, and the commit currently running (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 running. Only applications with a privateGit or publicGit source have a repository; dockerImage and internally created apps return 422.
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
Application 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 application source code comes from. privateGit - private Git repository connected via OAuth. publicGit - public Git repository URL.
privateGit, publicGit, dockerImage, app "privateGit"
Git hosting provider for the repository. github - GitHub. bitbucket - Bitbucket. gitlab - GitLab.
github, bitbucket, gitlab "github"
Full URL of the Git repository
"https://github.com/acme/my-app"
Default branch configured for deployments
"main"
The commit currently deployed from the app's current repository. Null if the application 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).