Agent environments

Save your template filesystem

post/v1/project-templates/environment/save

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/project-templates/environment/save
  • Auth: HTTP bearer

Request body

project_idstring uuid

UUIDv7, lowercase canonical form.

repo_remotestring
workspace_idstring uuid

UUIDv7, lowercase canonical form.

settingsunknown

Response

Default Response

organization_idstring uuid required

UUIDv7, lowercase canonical form.

project_idstring uuid

UUIDv7, lowercase canonical form.

repo_remotestring
versioninteger required
workspace_idstring uuid

UUIDv7, lowercase canonical form.

updated_atstring date-time

RFC 3339 UTC timestamp with Z.

membersinteger

Machine only: how many members the organization has. Every member's new conversations start from this machine, so a client folds a user's personal agent config into it only while that user is the only member.

machine_versioninteger
rebase_pendingboolean
rebase_deferredboolean

Project templates only, with rebase_pending: no conversation, VM or save used this template for 30 days, so it is rebuilt on its machine when the next one starts, and that VM moves onto the rebuilt version at its next safe point.

moved_to_imagestring[]

Save responses only: home folders this save put into the image, linked back at the same paths (e.g. ~/.dotnet).

Changes

No recorded changes to this operation across all 1 revision of this API.