Skip to content

Get Workspace

GET
/api/workspaces/{ws_id}
curl --request GET \
--url http://localhost:8000/api/workspaces/example \
--header 'Authorization: Bearer <token>'

Get workspace details (must be a member).

ws_id
required
Ws Id
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}