Workstations

View as Markdown

List Workstations

GET/api/v1/workstations

List this brand's workstations (newest first).

Errors

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

Order Workstation

POST/api/v1/workstations

Order a workstation for this brand — the self-serve onboarding entry point.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X POST "https://app.opvs.ai/api/v1/workstations" \
  -H "Authorization: Bearer $OPVS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Get Workstation

GET/api/v1/workstations/{workstation_id}

Fetch one workstation — the onboarding status-poll target for the dashboard.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl "https://app.opvs.ai/api/v1/workstations/{workstation_id}" \
  -H "Authorization: Bearer $OPVS_TOKEN"

Decommission Workstation

DELETE/api/v1/workstations/{workstation_id}

Decommission (release) a workstation this brand owns.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X DELETE "https://app.opvs.ai/api/v1/workstations/{workstation_id}" \
  -H "Authorization: Bearer $OPVS_TOKEN"

Regenerate Workstation Pat

POST/api/v1/workstations/{workstation_id}/regenerate-pat

Rotate this workstation's install PAT and reveal the new one + installer ONCE.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X POST "https://app.opvs.ai/api/v1/workstations/{workstation_id}/regenerate-pat" \
  -H "Authorization: Bearer $OPVS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'

Reveal Workstation Install Command

POST/api/v1/workstations/{workstation_id}/install-command

Mint the onboarding command again while no shared-key desk has registered.

Errors

CodeWhenWhat to do
422Validation Error—
Request
curl -X POST "https://app.opvs.ai/api/v1/workstations/{workstation_id}/install-command" \
  -H "Authorization: Bearer $OPVS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Did this answer your question?