Variables
Lists project-scoped variables, or — when environmentName is provided — the environment-scoped variables for that environment. Secret values are masked.
Authentication: Requires Owner or Member role.
Repository identifier (owner/repo)
flxbl-io/sf-coreEnvironment name. When provided, returns environment-scoped variables for that environment.
devList of variables (secret values masked)
No content
Forbidden - Requires role: owner, member
GET /sfp/api/variables?repositoryIdentifier=flxbl-io%2Fsf-core HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Upserts a project- or environment-scoped variable. Omit environmentName for a project-scoped value; supply it for an environment-scoped override.
Set isSecret: true to encrypt the value at rest — secret values are never returned by list/get and are only decrypted at workflow runtime.
Authentication: Requires Owner role.
Repository identifier (owner/repo) the variable belongs to
flxbl-io/sf-coreVariable name. Uppercase, alphanumeric and underscores, starting with a letter.
POOL_NAMEVariable value. For secrets this is the plaintext that gets encrypted at rest.
When true the value is encrypted at rest and never returned by list/get.
falseEnvironment name for an environment-scoped variable. Omit for a project-scoped variable.
devVariable created or updated
No content
Invalid key, unknown project, or unknown environment
Forbidden - Requires role: owner
POST /sfp/api/variables HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 117
{
"repositoryIdentifier": "flxbl-io/sf-core",
"key": "POOL_NAME",
"value": "text",
"isSecret": false,
"environmentName": "dev"
}No content
Permanently deletes a variable and any encrypted secret value. Authentication: Requires Owner role.
Variable deleted
No content
Forbidden - Requires role: owner
Variable not found
DELETE /sfp/api/variables?repositoryIdentifier=text&key=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns the resolved set of variables a workflow would see, annotated with where each value comes from (project or environment) and whether an environment value overrides a project one. Secret values are not included — only their keys. Use this to show inherited vs overridden variables.
Authentication: Requires Owner or Member role.
Repository identifier (owner/repo)
flxbl-io/sf-coreEnvironment name. When provided, returns environment-scoped variables for that environment.
devEffective variables with source/override provenance
No content
Forbidden - Requires role: owner, member
GET /sfp/api/variables/effective?repositoryIdentifier=flxbl-io%2Fsf-core HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns one variable. Secret values are masked. Authentication: Requires Owner or Member role.
The variable (secret value masked)
No content
Forbidden - Requires role: owner, member
Variable not found
GET /sfp/api/variables/lookup?repositoryIdentifier=text&key=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Removes the variable from the project scope AND every environment override for the repository, in one atomic operation. Encrypted secret values are removed too.
Authentication: Requires Owner role.
Deleted; returns the affected scopes ({ deleted, project, environments })
No content
Forbidden - Requires role: owner
Variable not found in any scope
DELETE /sfp/api/variables/all?repositoryIdentifier=text&key=text HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Returns the effective variables for the execution scope (environment overrides project), with secret values decrypted for immediate use by the worker.
Task execution id of the running workflow
Resolved { vars, secrets, entries }
No content
Task execution not found
GET /sfp/api/flows/internal/variables/{taskExecutionId} HTTP/1.1
Accept: */*
No content
Last updated
Was this helpful?