GET
/
user
/
spaces
curl --request GET \
  --url https://api.loccus.ai/v1/user/spaces \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "handle": "space-a",
    "alias": "Space A",
    "owner": {
      "type": "user",
      "handle": "user-a",
      "alias": "User A"
    },
    "audios": 10,
    "voiceprints": 10,
    "verifications": 10,
    "identities": 10,
    "createdAt": "2023-01-01T00:00:00.000000Z"
  }
]

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default: 1

The index of the page.

page-size
integer
default: 20

The maximum size of the pages.

sort
enum<string>
default: handle

The criteria used to sort the spaces.

Available options:
handle,
createdAt
search
string

The term used to search the spaces by handle or alias.

after

The term used to search spaces after or equal to the specified date.

before

The term used to search spaces before or equal to the specified date.

Response

200 - application/json
id
string
required

The UUID of the space. Is unique.

handle
string
required

The handle of the space. Is unique.

alias
string | null
required

The alias of the space.

owner
object
required

The owner of the space.

audios
integer
required

The number of audios of the space.

voiceprints
integer
required

The number of voiceprints of the space.

verifications
integer
required

The number of verifications of the space.

identities
integer
required

The number of identities of the space.

createdAt
string
required

The date and time when the space was created.