Check for main sandbox updates
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Asks Base44 to check the branch the app was imported from and update the main sandbox if it moved. The request returns before the update runs, so poll Get main sandbox update status to follow it.
Base44 reads the branch at most once a minute for each app, and the checks the app editor makes while the app is open count too. A check that arrives within a minute of the last read is accepted and doesn't read the branch again, so it can miss a commit that landed after that read. Retrying the same check is safe. If the commit you merged isn't the one active_generation shows after a minute, call this endpoint again. A check made while the app's first setup is still running is also accepted and does nothing. An update already in progress isn't interrupted, and the newest commit is built after it.
This endpoint is limited to 30 requests per minute per user, reported in the X-RateLimit-* headers.
<Note>This endpoint accepts a personal API key or personal access token belonging to a user with editor access to the app. A read-only key is refused, and workspace API keys are not accepted. Send credentials in a header: an api_key query parameter is refused.</Note>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/imported/main-update/check
- AuthHTTP bearer
Path parameters
ID of the imported app whose main sandbox to read or update.
Response
Successful Response
Example response
{
"accepted": true
}Changes
- info
endpoint added
- info