---
title: "Reset To Maritime Llm"
method: POST
path: "/api/agents/{agent_id}/reset-llm"
tags: ["environment"]
---

# Reset To Maritime Llm

`POST /api/agents/{agent_id}/reset-llm`

## 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}/reset-llm`
- Auth: HTTP bearer

Replace the agent's OpenAI key with a Maritime proxy token and set the base URL.

Updates both the env vars in the DB and the openclaw.json inside the
running container so currently deployed agents pick up the change
without a full redeploy.

## 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)
