Get Workspace
GET/api/v1/workspaces/:workspace
Get a Workspace
by its ID
or Name
.
Request
Path Parameters
workspace stringrequired
Responses
- 200
- 400
- 401
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
id integerrequired
ID
of the Workspace
Possible values: > 0
Example:
1000
name stringrequired
Name
of the Workspace
Example:
Workspace 1
createdAt date-timerequired
Creation Date
of the Workspace
Example:
2025-03-12T18:12:44.464Z
updatedAt date-timerequired
Update Date
of the Workspace
Example:
2025-03-12T18:12:44.464Z
description stringnullablerequired
Description
of the Workspace
Example:
Description
{
"id": 1000,
"name": "Workspace 1",
"createdAt": "2025-03-12T18:12:44.464Z",
"updatedAt": "2025-03-12T18:12:44.464Z",
"description": "Description"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
status stringrequired
Possible values: [Validation Error
]
errors
object[]
required
error stringrequired
location stringrequired
Possible values: [body
, query
, path
, headers
]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: [Unauthorized
]
{
"status": "Unauthorized"
}
Workspace not found
- application/json
- Schema
- Example (from schema)
Schema
status stringrequired
Possible values: [Workspace not found
]
{
"status": "Workspace not found"
}
Loading...