projects
Update project
Changed onPlan: Business or higher
Scope: projects:write
Updates project sharing or the human-readable name. The description is generated by the agent and cannot be edited through this endpoint. Omitted fields keep their current values. This does not change access to the published app; use PATCH /v1/projects/{project_id}/publish for that.
patch/v1/projects/{project_id}
Request
- Base URLhttps://api.lovable.dev
- Auth
- API key in header Lovable-API-Key
- or HTTP bearer
Path parameters
project_idstring required
Project ID.
Example:prj_01jw3k9m2xq8r5v0c7d4e6f2gh
Headers
Lovable-Versionstring
Stable API version to serve, as a YYYY-MM-DD date. Omit for the oldest supported stable version, currently 2026-09-11.
Lovable-Betastring
Comma-separated beta revision strings to enable on top of the stable version.
Request body
Example request
{
"name": "Acme Landing Page",
"visibility": "workspace_edit"
}Response
OK
Example response
{
"created_at": "2026-01-15T09:30:00Z",
"description": "A landing page for Acme with a hero, features, and pricing.",
"folder_id": "fold_01jw3k9m2xq8r5v0c7d4e6f2gh",
"id": "prj_01jw3k9m2xq8r5v0c7d4e6f2gh",
"is_published": true,
"last_edited_at": "2026-01-15T09:30:00Z",
"latest_commit_sha": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"latest_screenshot_url": "https://screenshot2.lovable.dev/acme-landing-page.png",
"name": "Acme Landing Page",
"owner_id": "404666c6-b533-5d2c-9768-c425bf40559b",
"preview_url": "https://id-preview--fa8b85cf-b9ff-4f1c-989a-74c32d1326f4.lovable.app",
"publish_audience": "public",
"publish_audience_targets": [
{
"id": "grp_01jw3k9m2xq8r5v0c7d4e6f2gh",
"type": "group"
}
],
"visibility": "workspace_edit",
"workspace_id": "workspace_01jw3k9m2xq8r5v0c7d4e6f2gh"
}Changes
- info
added the required property
to the response with the status
- info
- info
added the required property
to the response with the status
- info