🚀 Zep v3 is now available! Existing implementations will need to be migrated from v2 to v3 - Migration Guide 🚀

PlaygroundDiscordContext EngineeringDashboardSign Up >
DocumentationSDK ReferenceGraphiti
DocumentationSDK ReferenceGraphiti
  • SDK Reference
LogoLogo
PlaygroundDiscordContext EngineeringDashboardSign Up >
SDK ReferenceGraph

Update Graph.

PATCH
https://api.getzep.com/api/v2/graph/:graphId
PATCH
/api/v2/graph/:graphId
1from zep_cloud import Zep
2
3client = Zep(
4 api_key="YOUR_API_KEY",
5)
6client.graph.update(
7 graph_id="graphId",
8)
Try it
1{
2 "created_at": "created_at",
3 "description": "description",
4 "fact_rating_instruction": {
5 "examples": {
6 "high": "high",
7 "low": "low",
8 "medium": "medium"
9 },
10 "instruction": "instruction"
11 },
12 "graph_id": "graph_id",
13 "id": 1,
14 "name": "name",
15 "project_uuid": "project_uuid",
16 "uuid": "uuid"
17}
Updates information about a graph.
Was this page helpful?
Previous

Get Graph Edges

Next
Built with
Get Graph Edges
Updates information about a graph.

Authentication

AuthorizationApi-Key
Header authentication of the form `Api-Key <token>`

Path parameters

graphIdstringRequired
Graph ID

Request

This endpoint expects an object.
descriptionstringOptional
fact_rating_instruction
objectOptional
namestringOptional

Response

The updated graph object
created_atstring or null
descriptionstring or null
fact_rating_instructionobject or null
graph_idstring or null
idinteger or null
namestring or null
project_uuidstring or null
uuidstring or null

Errors

Graph ID

Header authentication of the form Api-Key <token>