---
title: "Coordinate-specific layer context"
method: GET
path: "/api/v1/layers/context"
tags: ["Layer Stack"]
---

# Coordinate-specific layer context

`GET /api/v1/layers/context`

## Request

- Base URL: `https://senlay.cloud`
- URL: `https://senlay.cloud/api/v1/layers/context`
- Auth: HTTP bearer

Authenticated endpoint returning current layer status and derived terrain, marine, wind, sensor, and risk context for a coordinate. Heavy static layers are reported as missing/next actions unless already cached.

## Query parameters

- `lat` number, required
- `lng` number, required
- `field` string

## Response `200`

Spot layer context

- LayerContextResponse
  - `status` string
  - `contract` ContractRef
    - `name` string
    - `version` string
    - `description` string
  - `field` string
  - `coordinates` object
    - `lat` number
    - `lng` number
  - `cache` object
  - `catalog` object
  - `layer_context` LayerContext: Versioned coordinate-specific layer-stack context. Shape may expand as cached static layers come online.
    - `layer_stack_version` string
    - `active_layers` object[]
    - `contexts` object
    - `missing_or_next_layers` string[]
    - `recommended_actions` string[]

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `429`: Rate limit reached

---

[API](https://skmtc.dev/senlay/apis/senlay-physical-world-verification-api.md) · [All operations](https://skmtc.dev/senlay/apis/senlay-physical-world-verification-api/llms.txt) · [OpenAPI document](https://skmtc.dev/senlay/apis/senlay-physical-world-verification-api/revisions/a7ad5d37ea76?raw)
