Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The San Francisco Compute Company Workspaces API

Resource containers scoped to an account.

The San Francisco Compute Company Workspaces API is one of 14 APIs that The San Francisco Compute Company publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workspaces. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 5 operations across 2 paths, and defines 17 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, https://api.sfcompute.com.

5 operations 2 paths 17 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.sfcompute.com/preview/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

The San Francisco Compute Company Workspaces API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Workspaces 5

Resource containers scoped to an account.

POST
/preview/v2/workspaces
Create workspace
create_workspace_handler body → 201400401403500
GET
/preview/v2/workspaces
List workspaces
list_workspaces_handler 1 param → 200401403422500
DELETE
/preview/v2/workspaces/{workspace}
Delete workspace
delete_workspace_handler 1 param → 204401403404422500
GET
/preview/v2/workspaces/{workspace}
Get workspace
get_workspace_handler 1 param → 200401403404500
PATCH
/preview/v2/workspaces/{workspace}
Update workspace
patch_workspace_handler 1 param body → 200400401403404500

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are WorkspaceScope (4 properties), ListWorkspacesResponse (3 properties), ErrorDetail (3 properties), PatchWorkspaceRequest (1 property). Each schema is shown below with its type and property counts.

WorkspaceId
string
ForbiddenError
object
1 property 1 required
BadRequestError
object
1 property 1 required
WorkspaceScope
object
4 properties 4 required
ListWorkspacesResponse
object
3 properties 3 required
InternalServerError
object
1 property 1 required
NotFoundError
object
1 property 1 required
Name
string
UnprocessableEntityError
object
1 property 1 required
CreateWorkspaceRequest
object
1 property
ResourcePathOrId_WorkspaceId
string
A resource path like 'sfc:workspace:acme:my-workspace' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or m…
UnixEpoch
integer
Unix timestamp.
UnauthorizedError
object
1 property 1 required
ErrorDetail
object
3 properties 2 required
PatchWorkspaceRequest
object
1 property
WorkspaceResponse
workspaceResourcePath_WorkspaceId
string
A resource path for a workspace resource. Format: sfc:workspace: : .

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

the-san-francisco-compute-company-workspaces-api-openapi.yml Raw ↑

Other APIs The San Francisco Compute Company publishes across the network.

The San Francisco Compute Company Account API
The San Francisco Compute Company Deployments API
The San Francisco Compute Company Feature Flags API
The San Francisco Compute Company Images API
The San Francisco Compute Company Instance SKU Catalog API
The San Francisco Compute Company Instance SKUs API
The San Francisco Compute Company Instance Templates API
The San Francisco Compute Company Instances API
The San Francisco Compute Company Orderbook API
The San Francisco Compute Company Orders API
The San Francisco Compute Company Pools API
The San Francisco Compute Company Procurements API