Skip to main content
GET
/
v1
/
workspaces
List workspaces
curl --request GET \
  --url https://ai.liara.ir/v1/workspaces \
  --header 'Authorization: <api-key>'
{
  "workspaces": [
    {
      "_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"

Response

List of workspaces

workspaces
object[]