Skip to main content

Versioning & Collaboration

Every prompt in Prompt Studio maintains a complete version history. This enables safe experimentation, easy rollback, and team collaboration.

How Versioning Works

When you create a prompt, it starts at version 1. Every subsequent save creates a new version automatically. The prompt document always contains the current (latest) version's content, while all previous versions are stored in a separate version history.

Version Fields

Each version records:

FieldDescription
versionNumberSequential version number (1, 2, 3, ...)
contentThe prompt content at this version
variablesVariable definitions at this version
changeNoteOptional description of what changed
createdByUser who made the change
createdAtTimestamp of the change

Viewing Versions

On a prompt's detail page, click the Versions tab to see the complete history. Each version shows the version number, change note, author, and date. Click View to expand and see the full content of any version.

Restoring a Version

To restore a previous version:

  1. Open the Versions tab
  2. Find the version you want to restore
  3. Click Restore
  4. Confirm the action

Restoring does not delete newer versions. Instead, it creates a new version with the restored content. For example, if you restore version 2 while on version 5, the result is version 6 with the content from version 2.

Sharing & Visibility

Visibility Modes

ModeWho Can SeeWho Can Edit
PrivateOwner + shared usersOwner only
PublicAll users in the organizationOwner only

Sharing with Users

  1. Open the prompt detail page
  2. Go to the Sharing tab
  3. Search for users by name or email
  4. Click Share to grant read access
  5. Click the remove button to revoke access

Multi-Tenant Behavior

In multi-tenant deployments:

  • Users can only share with members of the same organization
  • Public prompts are visible only within the organization
  • Organization admins can see all prompts in their organization

In single-tenant deployments:

  • Users can share with any user on the platform
  • Public prompts are visible to all users

Best Practices

  1. Write descriptive change notes when editing prompts — your team will thank you
  2. Use tags consistently across your organization for easy discovery
  3. Start prompts as private, then share or make public once tested
  4. Duplicate before experimenting to preserve the working version
  5. Use variables for values that change between environments or use cases