---
title: "Set Oc Target Version"
method: POST
path: "/api/admin/agents/oc-version"
tags: ["admin-agents-ci"]
---

# Set Oc Target Version

`POST /api/admin/agents/oc-version`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/agents/oc-version`
- Auth: none declared

Set OpenClaw target version for an environment.

Body: {
    "version": "2026.4.10",
    "environment": "gamma"|"prod",
    "stagger_seconds": 300  // optional, default 300 (5 min)
}

Agents upgrade via Redis pub/sub broadcast. Each agent applies a random
delay within stagger_seconds before restarting, so the fleet doesn't
restart all at once.

Auth: X-Admin-Key.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
