---
title: "POST /agent-playground/graphs/{id}/versions/{version_id}/node-connections/"
method: POST
path: "/agent-playground/graphs/{id}/versions/{version_id}/node-connections/"
tags: ["agent-playground"]
---

# POST /agent-playground/graphs/{id}/versions/{version_id}/node-connections/

`POST /agent-playground/graphs/{id}/versions/{version_id}/node-connections/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/agent-playground/graphs/{id}/versions/{version_id}/node-connections/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

POST /graphs/{pk}/versions/{version_id}/node-connections/

## Request body

- CreateNodeConnection
  - `id` string, uuid, required: FE-generated UUID
  - `source_node_id` string, uuid, required
  - `target_node_id` string, uuid, required

## Response `201`

Created

- CreateNodeConnection
  - `id` string, uuid, required: FE-generated UUID
  - `source_node_id` string, uuid, required
  - `target_node_id` string, uuid, required

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
