GET
/
organization
/
teamspaces
/
{teamspace_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
teamspace = client.organization.teamspaces.retrieve(
    "teamspace_id",
)
print(teamspace.id)
{
  "id": "<string>",
  "name": "<string>",
  "access": "open",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamspace_id
string
required

The ID of the teamspace to retrieve.

Response

Successfully retrieved teamspace

id
string
required
name
string

The name of the teamspace

access
enum<string>

Open teamspaces allow all organization members to join without admin approval. Access for users who join this way is limited to conversations with agents in this teamspace.

Closed teamspaces require admin approval to join.

Available options:
open,
closed
created_at
string<date-time>

The ISO string for when the teamspace was created.