capabilities.work

Add a variable to a project

One step with Upsun. We can help you get access.

Get something done

Add a variable to a project

Works with AI assistants

Use Upsun: its Upsun.com Rest Project Variables API lets you add a variable to a project in a single step (POST /projects/{projectId}/variables). Upsun also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I add a new environment variable to a Platform.sh project?
  • Can a project variable contain JSON instead of a plain string?
Say it to your AI assistant
  • Add variable {name} with value {value} to project {projectId}.
  • Create variable {name} in project {projectId} with value {value} and JSON set to {is_json}.
For your developer

POST /projects/{projectId}/variables in Upsun.com Rest Project Variables API. Full spec on APIs.io.