---
updatedAt: 2026-06-01T10:05:26.000Z
agentTools:
  projectIndex: https://developer.loconiq.com/llms.txt
---

# List Locis

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "LoconIQ On Premise API",
    "description": "Visit developer.loconiq.com for more information",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://{onPremisesIp}",
      "variables": {
        "onPremisesIp": {
          "description": "The IP of the Edge in your network",
          "default": "192.168.0.1"
        }
      }
    }
  ],
  "paths": {
    "/v1/infrastructure/locis": {
      "get": {
        "operationId": "listLocis",
        "summary": "List Locis",
        "parameters": [
          {
            "name": "includeInactive",
            "in": "query",
            "description": "Include inactive locis, that might be configured but not sending data",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListItemWrapperLociResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "EdgeApiKeyAuth": []
          },
          {
            "BearerAuth": []
          }
        ],
        "tags": [
          "Environment Infrastructure"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "message": {
            "description": "Error description of the failed request",
            "type": "string"
          },
          "requestId": {
            "description": "The request id sent for the request. Please provide this id if you contact support",
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "message"
        ]
      },
      "LociEventResponse": {
        "type": "object",
        "properties": {
          "firedAt": {
            "description": "Date when the event has been fired",
            "type": "string",
            "format": "date-time"
          },
          "eventType": {
            "description": "Type of the event",
            "type": "string",
            "enum": [
              "FALL_DETECTED"
            ]
          }
        },
        "required": [
          "eventType",
          "firedAt"
        ]
      },
      "LociResponse": {
        "type": "object",
        "properties": {
          "id": {
            "description": "ID of the Loci",
            "type": "integer",
            "format": "int64"
          },
          "organizationId": {
            "description": "Organization id of the Loci",
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "description": "Name of the Loci",
            "type": "string",
            "nullable": true
          },
          "environmentId": {
            "description": "The id of the environment if linked to any",
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "x": {
            "description": "The x position of the Loci",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "y": {
            "description": "The y position of the Loci",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "z": {
            "description": "The z position of the Loci",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "type": {
            "description": "The type of the Loci",
            "type": "string",
            "enum": [
              "ACCESS_POINT",
              "TAG",
              "LISTENER"
            ],
            "nullable": true
          },
          "customerId": {
            "description": "The id set by the customer id for reference",
            "type": "string",
            "nullable": true
          },
          "labels": {
            "description": "The labels set to this Loci",
            "type": "array",
            "items": {
              "type": "string",
              "description": "The labels set to this Loci"
            },
            "nullable": true,
            "uniqueItems": true
          },
          "lastPositionUpdate": {
            "description": "The timestamp of the last update of the position received from the localization",
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "fallDetected": {
            "description": "Returns whether a fall has been detected",
            "type": "boolean",
            "nullable": true
          },
          "maxMovement": {
            "description": "The maximum movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "minMovement": {
            "description": "The minimum movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "medianMovement": {
            "description": "The median movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "meanMovement": {
            "description": "The mean movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "stdMovement": {
            "description": "The standard deviation of the movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "quantile90Movement": {
            "description": "The 90% quantile movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "quantile10Movement": {
            "description": "The 10% quantile movement in the observation window in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "lengthMovement": {
            "description": "The number of samples in the observation window",
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "qw": {
            "description": "The scalar w quaternion (Hamilton convention)",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "qx": {
            "description": "The x-rotation quaternion (Hamilton convention)",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "qy": {
            "description": "The y-rotation quaternion (Hamilton convention)",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "qz": {
            "description": "The z-rotation quaternion (Hamilton convention)",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "axInertial": {
            "description": "The inertial acceleration in x direction in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ayInertial": {
            "description": "The inertial acceleration in y direction in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "azInertial": {
            "description": "The inertial acceleration in z direction in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "axWorld": {
            "description": "The acceleration in x direction in the world frame in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "ayWorld": {
            "description": "The acceleration in y direction in the world frame in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "azWorld": {
            "description": "The acceleration in z direction in the world frame in m/s²",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "battery": {
            "description": "The battery state of charge in %.",
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "sleepState": {
            "description": "The sleep state of the Loci",
            "type": "string",
            "enum": [
              "ACTIVE",
              "SLEEP"
            ],
            "nullable": true
          },
          "events": {
            "description": "Events fired from the Loci. Please not that events older than 7 days will be automatically deleted.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LociEventResponse"
            },
            "nullable": true,
            "uniqueItems": true
          }
        },
        "required": [
          "id",
          "organizationId"
        ]
      },
      "ListItemWrapperLociResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LociResponse"
            }
          },
          "requestId": {
            "description": "The request id sent for the request. Please provide this id if you contact support",
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "items"
        ]
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "EdgeApiKeyAuth": {
        "type": "apiKey",
        "name": "x-edge-api-key",
        "in": "header"
      }
    }
  },
  "tags": [
    {
      "name": "Environment Infrastructure",
      "description": "Endpoints for infrastructure handling"
    }
  ]
}
```