Skip to main content
Glama

promote_prompt

Copy prompts between environments like staging to production to deploy tested configurations across development stages.

Instructions

Promote a prompt from one environment to another (e.g., staging → prod). Copies the current version to the target environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_prompt_idYesSource prompt ID or slug (e.g., staging prompt)
target_collection_idYesTarget collection ID for the promoted prompt
target_nameNoTarget prompt name (defaults to source name with env suffix replaced)
target_envYesTarget environment
virtual_keyNoVirtual key ID to use (defaults to source prompt's virtual_key)

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/s-b-e-n-s-o-n/portkey-admin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server