Verktøyene lages fra REST-API-et: hvert verktøy er et endepunkt, med samme kontroller, samme feilkoder og samme aktivitetslogg som når du bruker CLI-en. Agenten ser bare verktøyene tillatelsene den fikk gir (se Agenter og MCP). Beskrivelsene er på engelsk, slik agentene ser dem.
Alle verktøyene tar også organisationId, for å jobbe i en annen av brukerens organisasjoner enn den tilkoblingen ble godkjent for. Det står ikke i tabellene under.
Se prosjekter 29
Tillatelsen projects:read: Apper, publiseringer, byggelogger, applogger, domener, navn på miljøvariabler og aktivitetsloggen.
An app with its latest deployments
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Whether an app is public, needs sign-in with the organisation's accounts in front of it, or signs people in itself (with its client id, issuer and redirect URIs)
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Which public addresses an app may reach, and what it tried to reach but was refused
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
The last 300 lines from the running app
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Status and build log of one deployment (the log is live while building)
| Argument | Type | Beskrivelse |
|---|
deploymentIdpåkrevd | string | The deployment's id |
The project's S3 bucket: name, endpoints, status, and use against the organisation's file quota
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
The repository linked to an app (GitHub or GitLab), or null
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Whether GitHub is set up, and the GitHub App installations connected to the caller's organisation
Ingen argumenter.
The GitLab connections of the caller's organisation, with the default GitLab address and the scope a token needs
Ingen argumenter.
The packages a deployment was built with (from its lockfiles and its image), with version, direct or indirect, development-only and licence, and its runtime and base image
| Argument | Type | Beskrivelse |
|---|
deploymentIdpåkrevd | string | The deployment's id |
The organisation's security at a glance: open vulnerabilities exploited in the wild, critical ones with a fix, runtimes past end of life and accepted risks, and the apps ranked by risk with the most urgent step for each
Ingen argumenter.
Custom domains of one app
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
People outside the organisation invited to sign in to this app as guests, with their end date
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Every app and preview in the organisation with owner, department, data class, address, status, last deploy and last request
| Argument | Type | Beskrivelse |
|---|
owner | any | The owner's email |
dataClass | any | none, internal, personal or sensitive |
department | any | A department's name, or none |
Audit log of the caller's organisation, including staff actions (developers and up). Needs the developer, admin or owner role in the organisation.
Ingen argumenter.
The database's tables and columns with the personal-data tag each has: name, contact, national_id (fødselsnummer), free_text, or none (not personal data). A column without a tag is treated as sensitive: query_database hides its values. Tags are set by people in the dashboard.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
The organisation's departments, which apps belong to, with how many apps each has
Ingen argumenter.
Custom domains of every app in the caller's organisation
Ingen argumenter.
How the latest change to the app's variables rolled out, per environment: deploying, live, or failed with the error and the last lines from the app. A failed change was undone: the previous values are back.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
The app's environment variables per environment (production, preview): names and when they changed, never the values
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
environment | "production" | "preview" | "both" | |
Repositories the organisation's GitHub installations can access
Ingen argumenter.
GitLab projects the organisation's connections can link: those where the token's user has at least the Maintainer role
Ingen argumenter.
The organisation's groups from its identity provider (SCIM), with how many members each has, for limiting who may sign in to an app
Ingen argumenter.
Production deployments waiting for approval by an owner or administrator
Ingen argumenter.
The app's pull request previews with their address and latest deployment
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Projects with their apps, databases, file storage and storage use
Ingen argumenter.
The database's named restore points, newest first, with the period it can be restored to (window) and the base backups in it (backups). state is pending until the changes up to it are archived (a few minutes), ready while the backups reach it, expired once they no longer do, and unavailable while the database is being restored or is not ready. A change of state is sent on the realtime channel as a change to restore_point.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
Known vulnerabilities in the packages of the app's running version, most urgent first: exploited in the wild, then likely to be exploited (EPSS), then critical with a fix. Each has next: what to do (update a package, rebuild, or accept the risk). runtime and os say whether the language or base image is past end of life.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
status | "open" | "accepted" | "fixed" | Only these; all by default |
The signed-in user, the organisation in use (x-skybu-org, or the first one joined) with your role and what it lets you do (capabilities), and the organisations they can use here: every one they belong to, or only the one a connected app was approved for. limits names the projects and environments this key or connection is limited to (null: none)
Ingen argumenter.
Endre prosjekter 20
Tillatelsen projects:write: Lage prosjekter og databaser, legge til domener, sette miljøvariabler, koble repoer og bytte nøkler.
Accept a vulnerability's risk for a while, with a reason (owners and administrators). It stays listed as accepted until expiresAt (at most 90 days), then opens again. Ask the user first: never accept a risk on your own. Needs the admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
vulnerabilityIdpåkrevd | string | The vulnerability's id |
reasonpåkrevd | string | |
expiresAtpåkrevd | string | When the acceptance ends and the vulnerability opens again: at most 90 days ahead |
Add a custom domain. Prove you control it with a TXT record at _skybu-challenge.<domain>, then verify within 7 days, or it is removed and the hostname freed. At most 5 per app. A hostname held by a suspended domain is released to the new claimant.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
hostnamepåkrevd | string | |
Create an app from a GitHub repository or GitLab project and deploy the newest commit on its branch. Later pushes deploy too.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
repopåkrevd | string | owner/repo on GitHub, or the project's full path on GitLab (group/subgroup/project) |
provider | "github" | "gitlab" | Where the repository is. Leave it out to find it among both; required when both have one with this name. |
branch | string | Pushes to this branch deploy to production |
rootDir | string | Build from this folder of the repository |
owner | string | The app's owner, when it has none yet |
department | string | The app's department, when it has none yet |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required when the app has no data class yet |
namepåkrevd | string | The app's name in the project |
kind | "server" | "static" | server (the default) runs the built image; static serves the files in staticDir from Skybu's shared web server |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site |
staticFallback | "404" | "index" | For a static app: 404 (the default) or index for single-page apps |
Create a Postgres database (CloudNativePG) in a project
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
supabase | object | Set up the database for an import from Supabase: roles anon, authenticated and service_role, and app roles that bypass row-level security the way Supabase's service_role key does |
Create a project
| Argument | Type | Beskrivelse |
|---|
namepåkrevd | string | |
Mark this moment with a name, for example before a migration, so the database can be restored to it later. Keeps up to 100 per database. Logged.
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
namepåkrevd | string | |
Invite someone outside the organisation to sign in to this app as a guest, until an optional end date (owners and administrators). They get an email; inviting again sends a new link. Needs the admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
emailpåkrevd | string | The guest's email address; they sign in to Skybu with it |
until | object | The last day the guest may sign in (an ISO date or time); leave out for no end |
Link a GitHub repository or GitLab project: pushes to the branch deploy to production, pull and merge requests get previews
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
repopåkrevd | string | owner/repo on GitHub, or the project's full path on GitLab (group/subgroup/project) |
provider | "github" | "gitlab" | Where the repository is. Leave it out to find it among both; required when both have one with this name. |
branch | string | Pushes to this branch deploy to production |
rootDir | string | Build from this folder of the repository |
owner | string | The app's owner, when it has none yet |
department | string | The app's department, when it has none yet |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required when the app has no data class yet |
Remove a guest from this app (owners and administrators). Their sign-ins to the app are revoked. Needs the admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
guestIdpåkrevd | string | The guest's id |
Remove a custom domain; it stops serving the app and its certificate is deleted
| Argument | Type | Beskrivelse |
|---|
domainIdpåkrevd | string | The domain's id |
Take back the acceptance of a vulnerability's risk (owners and administrators): it is open again. Needs the admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
vulnerabilityIdpåkrevd | string | The vulnerability's id |
New passwords for all three roles; the old ones stop working
| Argument | Type | Beskrivelse |
|---|
databaseIdpåkrevd | string | The database's id |
A new access key for the project's bucket; the old one stops working and apps restart with the new one
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
Make an app public, require sign-in in front of it, let it sign people in itself (app), or follow the organisation's default (owners and administrators). For app, also its callback paths and refresh tokens. Needs the admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
access | "inherit" | "public" | "members" | "app" | public: anyone with the address; members: Skybu asks for sign-in with the organisation's accounts in front of the app; app: the app signs people in itself with OpenID Connect (Sign in with your organisation), with SKYBU_OIDC_* variables; inherit follows the organisation |
signInCallbacks | string[] | For access app: the paths on the app's addresses Skybu may send people back to after sign-in (1 to 5; the first is SKYBU_OIDC_REDIRECT_URI). Default /auth/callback |
offlineAccess | boolean | For access app: give refresh tokens (scope offline_access), each good for 12 hours after sign-in. Off by default |
signInGroups | string[] | For members and app: only members in these groups (ids from GET /api/org/groups), or listed in signInPeople, may sign in. Empty or null: every member |
signInPeople | string[] | For members and app: members (user ids) who may sign in besides the groups. Empty or null with no groups: every member |
Choose how an app is hosted: as a server (the built image runs as a container) or as a static site (the files in staticDir are served by Skybu, no container). Applies from the next deploy. Previews follow their app.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
Set one or more variables (encrypted by OpenBao Transit) for production (the default), preview or both. The app restarts with the change; no new build. Follow it with list_env_rollouts: if the app does not start with the new values, the change is marked failed, the previous values come back and the running version keeps serving.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
variablespåkrevd | object | |
environment | "production" | "preview" | "both" | Previews get only preview values |
sensitive | boolean | Write-only: the app and its builds get the value, but no one can reveal it again; it can only be replaced |
Unlink the repository. Pushes no longer deploy, and the app's previews are deleted.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Remove a variable from production (the default), preview or both. The app restarts with the change; no new build. Follow it with list_env_rollouts: if the app does not start with the new values, the change is marked failed, the previous values come back and the running version keeps serving.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
namepåkrevd | string | |
environment | "production" | "preview" | "both" | |
Change an app's owner, department or data class (unset counts as sensitive). Previews follow their app.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
owner | string | The owner's email; must be a member of the organisation |
department | string | One of the organisation's departments, or null for none |
dataClass | "none" | "internal" | "personal" | "sensitive" | What data the app handles: none (no personal data), internal, personal or sensitive. Unset counts as sensitive. |
Check the TXT record. On success the domain gets a certificate and starts serving the app. Skybu re-checks verified domains daily: the TXT record or a CNAME to the app's address must stay, or after 3 days of failed checks the domain is suspended. Verifying a suspended domain that passes brings it back.
| Argument | Type | Beskrivelse |
|---|
domainIdpåkrevd | string | The domain's id |
Publisere apper 7
Tillatelsen deployments:write: Publisere nye versjoner av apper fra filer eller Git, rulle tilbake, og koble til forhåndsvisningenes databaser.
Get a one-time address to PUT the app folder to as a .tar.gz (Content-Type: application/gzip, at most 50 MB, within an hour), then deploy it with deploy_upload. For apps too large to send as files.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
Deploy an app from its files, sent in the request. Creates the app on first deploy; returns the deployment to follow with get_deployment, which gives the address once it is live. For apps over a few MB, use create_upload instead.
| Argument | Type | Beskrivelse |
|---|
projectIdpåkrevd | string | The project's id |
namepåkrevd | string | |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required for a new app: what data it handles. Ask the user; never guess personal data away. |
department | string | Required for a new app when the organisation has departments (list_departments) |
owner | string | The owner's email; the signed-in user by default |
filespåkrevd | object[] | Every file of the app: source, package.json or requirements.txt, and a Dockerfile if it has one. Skybu detects how to build it (Railpack) or uses the Dockerfile. |
Deploy the newest commit on the linked branch now, without waiting for a push
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
Deploy what was uploaded with create_upload. Creates the app on first deploy.
| Argument | Type | Beskrivelse |
|---|
uploadIdpåkrevd | string | The upload's id |
kind | "server" | "static" | server runs the built image as a container; static serves the files in staticDir from Skybu's shared web server (no container, no project memory) |
staticDir | string | For a static app: the absolute folder inside the built image that holds the site, with index.html at its top |
staticFallback | "404" | "index" | For a static app: 404 answers unknown paths with the site's 404.html; index answers unknown paths without a file extension with /index.html (single-page apps) |
dataClass | "none" | "internal" | "personal" | "sensitive" | Required for a new app: what data it handles. Ask the user; never guess personal data away. |
department | string | Required for a new app when the organisation has departments (list_departments) |
owner | string | The owner's email; the signed-in user by default |
Connection strings for a preview's own database. Every read is logged. Needs the developer, admin or owner role in the organisation.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
numberpåkrevd | number | |
Replace a preview's database with a new empty one; the preview restarts against it
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
numberpåkrevd | number | |
Serve an earlier successful deployment again. When the organisation requires approval for the app, this asks the owners instead.
| Argument | Type | Beskrivelse |
|---|
appIdpåkrevd | string | The app's id |
deploymentIdpåkrevd | string | |