Langsung ke konten utama
GET
/
workspaces
/
{workspaceId}
Ambil workspace
curl --request GET \
  --url https://api.altostrat.io/workspaces/{workspaceId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "ws_a1b2c3d4e5f6g7h8",
  "name": "ACME Corporation",
  "description": "Workspace utama untuk semua proyek ACME.",
  "billing_mode": "pooled",
  "pooled_seat_limit": 100,
  "archived": false,
  "created_at": "2025-10-29T00:40:06.000000Z",
  "updated_at": "2025-10-29T00:40:06.000000Z",
  "archived_at": null
}

Authorizations

Authorization
string
header
required

Masukkan JWT Anda dalam format: Bearer {token}

Path Parameters

workspaceId
string
required

ID dari workspace.

Example:

"ws_a1b2c3d4e5f6g7h8"

Response

Objek workspace yang diminta.

id
string

Pengidentifikasi unik untuk workspace, diawali dengan ws_.

Example:

"ws_a1b2c3d4e5f6g7h8"

name
string

Nama dari workspace.

Example:

"ACME Corporation"

description
string | null

Deskripsi opsional untuk workspace.

Example:

"Workspace utama untuk semua proyek ACME."

billing_mode
enum<string>

Mode penagihan untuk workspace. Menentukan bagaimana langganan dan penggunaan ditangani.

Opsi yang tersedia:
single,
assigned,
pooled
Example:

"pooled"

pooled_seat_limit
integer | null

Jumlah total kursi yang tersedia dalam mode penagihan 'pooled'. Ini null untuk mode lain.

Example:

100

archived
boolean

Apakah workspace diarsipkan.

Example:

false

created_at
string<date-time>

Stempel waktu saat workspace dibuat.

Example:

"2025-10-29T00:40:06.000000Z"

updated_at
string<date-time>

Stempel waktu saat workspace terakhir diperbarui.

Example:

"2025-10-29T00:40:06.000000Z"

archived_at
string<date-time> | null

Stempel waktu saat workspace diarsipkan.

Example:

null