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

- SetActiveGraphVersionResponse — Response for activating an existing graph version. Carries any webhook presets that were left pinned to their old version because the newly activated version's trigger block is incompatible and needs to be reconfigured.
  - `skipped_webhook_presets` SkippedWebhookPreset[]
    - `id` string, required
    - `name` string, required
    - `pinned_version` integer, required

## Other responses

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

## Changes

- **2026-07-28** `d0169322b2d1` — 1 breaking, 1 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `skipped_webhook_presets` to the response with the `200` status

[Change history](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/graphs/:graph_id/versions/active/put.md)

---

[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-service-production.skmtc.workers.dev/v1/apis/significant-gravitas/autogpt-agent-server/revisions/5dc375899754/schema)
