---
title: "Release the provider credentials for one active run to an Overlay Cloud host"
method: POST
path: "/api/v1/agent-environments/{environmentId}/run-credentials"
tags: ["Agent environments"]
---

# Release the provider credentials for one active run to an Overlay Cloud host

`POST /api/v1/agent-environments/{environmentId}/run-credentials`

## Path parameters

- `environmentId` string, required

## Request body

- object
  - `protocolVersion` 1, required
  - `runId` string, required

## Response `200`

Successful response. Stable response schemas are documented in workflow guides when available.

- unknown

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid authentication.
- `500` — Unexpected server error.

## Changes

- **2026-10-02** `d474203bf994` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/layernorm/apis/overlay-web-api/changes/api/v1/agent-environments/:environmentId/run-credentials/post.md)

---

[API](https://skmtc.dev/layernorm/apis/overlay-web-api.md) · [All operations](https://skmtc.dev/layernorm/apis/overlay-web-api/llms.txt) · [OpenAPI document](https://skmtc.dev/layernorm/apis/overlay-web-api/revisions/723150bfdd74?raw)
