GET
/
user
/
spaces
curl --request GET \
  --url https://ragapi.sno.ai/v1/user/spaces \
  --header 'Authorization: Bearer <token>'
{
  "spaces": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "isPublic": true,
      "isFavorite": true,
      "owner": {
        "firstName": "<string>",
        "lastName": "<string>"
      },
      "accessType": "read",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Retrieves a list of spaces associated with the current user, including space ID, name, publicity status, favorite status, owner details, access type, and creation date.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Response

200
application/json

A list of user spaces

The response is of type object.