Headers
-
request-id
string Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00
Path parameters
-
workspaceId
string Required The identifier of the Workspace
Query parameters
-
limit
string Number of items to return. Default: 10. Maximum: 10000
-
nextToken
string Pagination token to get next page of items
-
searchTerm
string String to match name of Assets
-
inSpaceIds
string Filter the Assets to those currently in a set of Spaces. Comma-separated list, for example: '?inSpaceIds={spaceId1},{spaceId2},{spaceId3}'
GET
/workspaces/{workspaceId}/assets
curl \
--request GET 'https://api.reelables.com/v1/workspaces/{workspaceId}/assets' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "request-id: string"
Response examples (200)
{
"total": 42,
"nextToken": "string",
"items": [
{
"inSpaces": [
{
"spaceName": "string",
"spaceId": "string",
"hasExited": true,
"enteredOn": "2025-05-04T09:42:00Z",
"exitedOn": "2025-05-04T09:42:00Z"
}
],
"temperatures": {
"nextToken": "string",
"items": [
{
"timestamp": "2025-05-04T09:42:00Z",
"degreesCelsius": 42.0
}
]
},
"name": "string",
"locations": {
"nextToken": "string",
"items": [
{
"lastSeenTimestamp": "2025-05-04T09:42:00Z",
"coordinate": {
"latitude": 42.0,
"accuracy": 42,
"longitude": 42.0
},
"address": {
"country": "string",
"road": "string",
"city": "string",
"district": "string",
"postalCode": "string",
"county": "string",
"state": "string"
},
"error": 42,
"timestamp": "2025-05-04T09:42:00Z"
}
]
},
"id": "string",
"label": {
"bleId": 42,
"nfcId": "string",
"addedOn": "2025-05-04T09:42:00Z"
},
"createdOn": "2025-05-04T09:42:00Z",
"workspaceId": "string"
}
]
}
Response examples (401)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
Response examples (403)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
Response examples (429)
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}