Skip to main content
GET
/
v1
/
workspaces
/
{workspaceID}
Get workspace details
curl --request GET \
  --url https://ai.liara.ir/v1/workspaces/{workspaceID} \
  --header 'Authorization: <api-key>'
{
  "workspace": {
    "_id": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345"

Path Parameters

workspaceID
string
required

The workspace ID

Pattern: ^[a-f0-9]{24}$

Response

Workspace details

workspace
object