Project Environment

View as Markdown

List Env Vars

GET/api/v1/project-env
Also as:MCPtool_call software-factory.listProjectEnvskillsoftware-factory

List variables. Config values are returned; **secret values never are.**

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/project-env" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itGET /api/v1/project-env

Used once, saved nowhere. Your token travels for this request through opvs.ai and SpiderPublish to app.opvs.ai, then this page forgets it when the tab closes.

GET only · 30 tries a minute

Put Env Var

PUT/api/v1/project-env
Also as:MCPtool_call software-factory.setProjectEnvVarskillsoftware-factory

Create or replace one variable. PUT, not PATCH — edit means replace.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X PUT "https://app.opvs.ai/api/v1/project-env" \
  -H "Authorization: Bearer $OPVS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Try itPUT /api/v1/project-env
Try it sends reading requests only.

This endpoint changes data in your workspace, so it is not sent from the docs. Copy the command and run it in your own terminal.

Resolved Env

GET/api/v1/project-env/resolved
Also as:MCPtool_call software-factory.resolveProjectEnvskillsoftware-factory

Preview the effective map: which names a build gets, and where each came from.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/project-env/resolved" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itGET /api/v1/project-env/resolved

Used once, saved nowhere. Your token travels for this request through opvs.ai and SpiderPublish to app.opvs.ai, then this page forgets it when the tab closes.

GET only · 30 tries a minute

Credential Options

GET/api/v1/project-env/credential-options
Also as:MCPtool_call software-factory.projectEnvCredentialOptionsskillsoftware-factory

Metadata-only credential options for Project Settings or provisioning.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/project-env/credential-options" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itGET /api/v1/project-env/credential-options

Used once, saved nowhere. Your token travels for this request through opvs.ai and SpiderPublish to app.opvs.ai, then this page forgets it when the tab closes.

GET only · 30 tries a minute

Env Leases

GET/api/v1/project-env/leases
Also as:MCPtool_call software-factory.projectEnvLeasesskillsoftware-factory

Names-only delivery history for one project; values never enter this path.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/project-env/leases" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itGET /api/v1/project-env/leases

Used once, saved nowhere. Your token travels for this request through opvs.ai and SpiderPublish to app.opvs.ai, then this page forgets it when the tab closes.

GET only · 30 tries a minute

Env Audit

GET/api/v1/project-env/audit
Also as:MCPtool_call software-factory.projectEnvAuditskillsoftware-factory

Who set or removed which variable, and when. Names only — never values.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/project-env/audit" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itGET /api/v1/project-env/audit

Used once, saved nowhere. Your token travels for this request through opvs.ai and SpiderPublish to app.opvs.ai, then this page forgets it when the tab closes.

GET only · 30 tries a minute

Delete Env Var

DELETE/api/v1/project-env/{name}
Also as:MCPtool_call software-factory.deleteProjectEnvVarskillsoftware-factory

Delete one variable.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X DELETE "https://app.opvs.ai/api/v1/project-env/{name}" \
  -H "Authorization: Bearer $OPVS_TOKEN"
Try itDELETE /api/v1/project-env/{name}
Try it sends reading requests only.

This endpoint changes data in your workspace, so it is not sent from the docs. Copy the command and run it in your own terminal.

Did this answer your question?