---
title: "Set active graph version"
method: PUT
path: "/api/graphs/{graph_id}/versions/active"
tags: ["v1", "graphs"]
---

# Set active graph version

`PUT /api/graphs/{graph_id}/versions/active`

## Path parameters

- `graph_id` string, required

## Request body

- SetGraphActiveVersion
  - `active_graph_version` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `401` — Authentication required
- `422` — Validation Error

---

[API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [All operations](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/llms.txt) · [OpenAPI document](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/revisions/72eaad2d41b3?raw)
