Workspaces
List workspaces
Changed on⚠️ This endpoint is in public preview.
List all workspaces for the authenticated account.
get/preview/v2/workspaces
Request
- Base URLhttps://api.sfcompute.com
- URLhttps://api.sfcompute.com/preview/v2/workspaces
- AuthHTTP bearer
Query parameters
idSfc Api Resource Path Or Id Workspace Id[]
Filter by workspace ID, resource path, or name (repeatable).
[ "wksp_k3R-nX9vLm7Qp2Yw5Jd8F" ]
Response
List of workspaces.
Example response
{
"object": "list",
"data": [
{
"id": "wksp_k3R-nX9vLm7Qp2Yw5Jd8F",
"resource_path": "sfc:workspace:<account_id>:<name>",
"owner": "my-resource-name",
"name": "my-resource-name",
"object": "workspace",
"created_at": 1738972800
}
]
}Changes
- info
endpoint added
- info