cURL
curl --request GET \ --url https://api.sevalla.com/v2/static-sites/{id} \ --header 'Authorization: Bearer <token>'
{ "static_site": { "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "name": "my-static-site", "display_name": "My Static Site", "status": "ready", "repo_url": "https://github.com/user/static-site", "default_branch": "main", "auto_deploy": true, "remote_repository_id": "123456", "git_repository_id": "789012", "git_type": "github", "hostname": "my-site.sevalla.app", "build_command": "npm run build", "created_at": 1738195200000, "updated_at": 1738195200000, "deployments": [ { "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "status": "success", "repo_url": "https://github.com/user/static-site", "branch": "main", "commit_message": "feat: add new feature", "created_at": 1738195200000 } ] } }
Fetch detailed information about a specific static site by its unique identifier.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Default Response
Show child attributes
Was this page helpful?