aa8d44585147
Create project
Plan: All plans
Creates a new project. Pass workspace_id in the request body.
Request body
Response
OK
Description supplied by the caller on create or update
Project display name
Project ID
Whether the project is published
Remix job ID for tracking progress when source_project_id is provided
SHA of the latest commit
URL of the latest screenshot
User message ID, present when initial_message was provided
Project slug
Static-preview URL for the project, on the workspace's branded host when it has one. Resolves once the first build completes. Absent on remix creates, which return job_id before the project exists.
Provisioning status of the project, not agent build progress. 'completed' means the project scaffold was created, and is set before the agent has finished the initial message, so the code at that point is often an empty starter page. To check whether the agent finished building, poll GET /v1/messages/{message_id}. One of: in_progress, completed, failed. More values may be added; clients must tolerate unknown values.
Published project URL
Project visibility: draft, private, workspace_view, public
Workspace ID