---
title: "Associate graphs"
method: PUT
path: "/v1/applications/{application_id}/graphs"
tags: ["template"]
---

# Associate graphs

`PUT /v1/applications/{application_id}/graphs`

Updates the list of Knowledge Graphs associated with a no-code chat agent.

## Path parameters

- `application_id` string, required

## Request body

- ApplicationGraphIdsRequest
  - `graph_ids` string[], required — A list of Knowledge Graph IDs to associate with the application. Note that this will replace the existing list of Knowledge Graphs associated with the application, not add to it.

## Response `200`

Successful

- ApplicationGraphsResponse
  - `graph_ids` string[], required — A list of Knowledge Graphs associated with the application.

---

[API](https://skmtc.dev/writer/apis/writer-enterprise-api.md) · [All operations](https://skmtc.dev/writer/apis/writer-enterprise-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/writer/writer-enterprise-api/revisions/313187c251a5/schema)
