Update graph
Update the name, description, web connector URLs, or team assignment of a Knowledge Graph.
Including a team_ids array replaces the whole team assignment: an empty array makes the Knowledge Graph org-wide, one or more team IDs scope it to exactly those teams. Omitting team_ids leaves the current team assignment unchanged. Team-scoped API keys cannot change the team assignment of a Knowledge Graph.
- With an org-scoped API key, control team scope from the request body: pass
team_idson create or update, or filter list with theteam_idsquery parameter. Omitteam_idson list to see only org-wide Knowledge Graphs. - With a team-scoped API key, every request is automatically restricted to the key’s team. Create assigns to that team; list and retrieve return only that team’s Knowledge Graphs; body
team_idsis not accepted.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.
Path Parameters
The unique identifier of the Knowledge Graph.
Body
The name of the Knowledge Graph (max 255 characters). Omitting this field leaves the name unchanged.
A description of the Knowledge Graph (max 255 characters). Omitting this field leaves the description unchanged.
An array of web connector URLs to update for this Knowledge Graph. You can only connect URLs to Knowledge Graphs with the type web. To clear the list of URLs, set this field to an empty array.
Optional list of team IDs the Knowledge Graph is deployed to. Omitting this field leaves the current team assignment unchanged. Passing an array replaces the whole team assignment: an empty array makes the graph org-wide, one or more team IDs scope it to exactly those teams. Not accepted from team-scoped API keys.
Response
A unique identifier of the Knowledge Graph.
The timestamp when the Knowledge Graph was created.
The name of the Knowledge Graph (max 255 characters).
A description of the Knowledge Graph (max 255 characters).
An array of web connector URLs associated with this Knowledge Graph.
The team IDs the Knowledge Graph is deployed to. An empty array indicates an org-wide Knowledge Graph accessible to every team in the organization.