> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ilyama.golain.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Device map markers in a bounding box (requires project member).



## OpenAPI

````yaml /api-reference/ilyama.v1.json get /projects/{project_id}/locations
openapi: 3.1.0
info:
  description: >
    Generation-ready starter contract for ilyama's HTTP API.

    This is intentionally scoped to stable routes already mounted in
    services/apis

    so frontend clients can begin integrating against the rewrite immediately.
  title: ilyama Core API
  version: 0.1.0
servers:
  - url: /core/api/v1
security:
  - bearerAuth: []
tags:
  - name: Certificates (HTTP)
  - name: Device JITR
  - name: Device RPC
  - name: Devices
  - name: Edge replication
  - name: Fleets
  - name: Integrations
  - name: MDM
  - name: Notification Event Registry
  - name: Notifications
  - name: OTA
  - name: Observability & data
  - name: Organizations
  - name: Project settings
  - name: Projects
  - name: Projects — Email Templates
  - name: Projects — Notification Subscriptions
  - name: Projects — Status
  - name: System
  - name: Tickets & workflows
  - name: Webhooks
paths:
  /projects/{project_id}/locations:
    get:
      tags:
        - Project settings
      summary: Device map markers in a bounding box (requires project member).
      operationId: getProjectsProjectIdLocations
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            format: uuid
            type: string
        - description: JSON array [min_lng, min_lat, max_lng, max_lat]
          in: query
          name: bounding_box
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectLocationsResponse'
          description: Locations loaded
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
      security:
        - bearerAuth: []
          orgIdHeader: []
components:
  schemas:
    ProjectLocationsResponse:
      properties:
        data:
          properties:
            locations:
              properties:
                clusters:
                  items: {}
                  type: array
                devices:
                  items:
                    additionalProperties: true
                    type: object
                  type: array
              required:
                - devices
                - clusters
              type: object
          required:
            - locations
          type: object
        meta:
          properties:
            bounding_box_required:
              type: boolean
            cluster_marker_count:
              type: integer
            device_marker_count:
              type: integer
            surface:
              enum:
                - project_device_locations
              type: string
          required:
            - surface
            - device_marker_count
            - cluster_marker_count
            - bounding_box_required
          type: object
        ok:
          enum:
            - 1
          type: integer
      required:
        - ok
        - data
        - meta
      type: object
    ErrorEnvelope:
      properties:
        detail:
          type: string
        message:
          oneOf:
            - type: string
            - type: object
        ok:
          enum:
            - 0
          type: integer
      required:
        - ok
        - message
        - detail
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http
    orgIdHeader:
      in: header
      name: ORG-ID
      type: apiKey

````