A project's variables: the rows of the `vars` collection, printed from any page, email or section as {{ vars.name }} and resolved when it compiles. Typed, and public by construction — never a store for credentials.
Read a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Parameters
SDK
curl -X GET "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY"
Change a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Parameters
Body Required
SDK
curl -X PUT "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "type_value", "value": "value_value"}'
Remove a variable
/organizations/{organizationId}/projects/{projectId}/vars/{varId}
Parameters
SDK
curl -X DELETE "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars/varId_uuid" \ -H "Authorization: Bearer $API_KEY"
List a project's variables
/organizations/{organizationId}/projects/{projectId}/vars
Parameters
SDK
curl -X GET "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars" \ -H "Authorization: Bearer $API_KEY"
Define a variable
/organizations/{organizationId}/projects/{projectId}/vars
Parameters
Body Required
SDK
curl -X POST "https://api.giantcontext.com/organizations/organizationId_uuid/projects/projectId_uuid/vars" \ -H "Authorization: Bearer $API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "name_value", "type": "type_value", "value": "value_value"}'
This content was built autonomously. Giant Context analyzed the site, determined what was missing, created and submitted an idea and draft, which Giant Context staff accepted and published.
Cookie Consent
We use cookies to enhance your browsing experience, serve personalized content, and analyze our traffic.