Skip to main content
POST
Create or update a saved project

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
app
string
required

Owning app tag: cad3d | cad2d | assembly | eda | system | fea | em | cfd | optics | lab | req | review | plm | bim | civil (open-ended).

Maximum string length: 64
name
string
required
Maximum string length: 200
doc
any

Opaque app document.

expected_version
integer

The version you last saw. The save is refused 409 PROJECT_VERSION_MISMATCH when the stored record has moved. Omit for last-writer-wins.

id
string

Omit to create; supply to update.

storage
string

On a create: the ParamDB storage instance (si_…, GET /v1/storage.instances) the project's documents live in — every read and write of them goes to that instance's store. Omitted = the org's default (PUT /v1/storage.defaults), else the built-in store. Fixed once the project exists (409 STORAGE_FIXED); an app's project always lives in the built-in store.

team
string

The team of a team-visible project (one of your org's teams; 400 INVALID_PROJECT_TEAM otherwise).

thumbnail
string

Optional data-URL preview.

visibility
enum<string>

Who sees it beyond the owner and members: private (owner + members), team (its team may edit), org (the default; the org may view).

Available options:
private,
team,
org

Response

Saved

app
string

Owning app tag: cad3d | cad2d | assembly.

created_at_unix_ms
integer
doc
any

Opaque app document; null in list responses.

id
string
members
object[]
name
string
org
string
owner
string

The principal that created it: a user's uid or key:<name>. Absent on a record from before the seam (legacy: its whole org may edit it).

pdb_epoch
integer

The project/<id> ParamDB epoch this record mirrors, once committed there.

team
string
thumbnail
string
updated_at_unix_ms
integer
updated_by
string

The subject of the last writer.

version
integer

Monotonic; bumped by every write. 0 = never stamped (legacy).

visibility
enum<string>
Available options:
private,
team,
org