Functions
Rebuild every function in a project
Re-bundles ALL functions in the project from their stored source with the same wrapper-only guarantee as the single-function rebuild (deps pinned to recorded versions; source code_hash unchanged; no new release). Per-function failures are isolated (Promise.allSettled) and never abort the batch — a function that cannot be rebuilt keeps its old artifact and is reported in results[]. Strictly opt-in. Wallet-authed and ownership-checked; identity only — NO active tier is required, so it works during billing grace.
post/projects/v1/{project_id}/functions/rebuild
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/projects/v1/{project_id}/functions/rebuild
- Auth: API key in header SIGN-IN-WITH-X
Path parameters
project_idstring required
Run402 project ID. Public IDs are not UUIDs.
Example:prj_1741340000_0042
Response
Batch rebuild summary. Always 200 even when individual functions failed — inspect results[] and rebuilt_count.
Changes
No recorded changes to this operation across all 1 revision of this API.