---
title: "Get Llm Status"
method: GET
path: "/api/agents/{agent_id}/llm-status"
tags: ["environment"]
---

# Get Llm Status

`GET /api/agents/{agent_id}/llm-status`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/llm-status`
- Auth: HTTP bearer

Check whether the agent is using the Maritime LLM proxy or a custom key.

OpenClaw resolves the API key with env > openclaw.json precedence, so we
check both: the live process environment first (highest priority), then
the openclaw.json config, then the DB env var as a last resort.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
