curl --request GET \
--url https://api.sfcompute.com/preview/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"resource_path": "<string>",
"owner": "<string>",
"name": "<string>",
"object": "workspace",
"created_at": 1738972800
}
],
"has_more": true
}⚠️ This endpoint is in preview.
List all workspaces for the authenticated account.
curl --request GET \
--url https://api.sfcompute.com/preview/v2/workspaces \
--header 'Authorization: Bearer <token>'{
"object": "list",
"data": [
{
"id": "<string>",
"resource_path": "<string>",
"owner": "<string>",
"name": "<string>",
"object": "workspace",
"created_at": 1738972800
}
],
"has_more": true
}Documentation Index
Fetch the complete documentation index at: https://docs.sfcompute.com/llms.txt
Use this file to discover all available pages before exploring further.
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Filter by workspace ID, resource path, or name (repeatable).
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 moved. IDs are stable and permanent.
(wksp_[0-9a-zA-Z_-]{1,21})|(sfc:workspace:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){1,1})