Update a generation session

Updates session fields including status, PRD, plan, product object, and assembly state.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
Session ID

Request

This endpoint expects an object.
assemblyStatemap from strings to anyOptional
planmap from strings to anyOptional
prdmap from strings to anyOptional
productObjectmap from strings to anyOptional
productObjectHashstringOptional
statusenumOptional
Allowed values:

Response

Updated session
assemblyStatemap from strings to any or null
catalogVersionstring or null
createdAtstring
expiresAtstring
idstring
organizationIdstring or null
planmap from strings to any or null
prdmap from strings to any or null
productObjectmap from strings to any or null
productObjectHashstring or null
schemaVersionstring or null
statusenum
updatedAtstring
userIdstring

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error