Projects

Loads the project onto a Design Engine replica, or returns the already-running instance. alreadyLoaded distinguishes the two.

API-key callers receive lifecycle confirmation only. The url and serverToken fields that a browser receives are omitted, because serverToken is minted per project rather than per user and would let its holder act as any collaborator. Programmatic access to live project data will use short-lived project-scoped grants instead.

post/api/v2/projects/{projectId}/open

Request

  • Base URL
    https://davinci-app.com
  • Auth
    HTTP bearer

Request body

branchstring
oldProjectIdstring

Previously open project to close as part of switching.

initialPromptstring

Response

Project is loaded and ready.

projectIdstring required
branchNamestring required
alreadyLoadedboolean required

True when the project was already running and this call reused the instance.

permissionsstring[] required
urlstring

Design Engine replica URL. Present only for browser access-token callers; omitted for API keys.

serverTokenstring

Project instance credential. Present only for browser access-token callers; omitted for API keys.

Changes

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      endpoint added