List graphs
Retrieve a list of Knowledge Graphs.
By default, the response contains only org-wide Knowledge Graphs. To include Knowledge Graphs that are deployed to specific teams, pass one or more team IDs in the team_ids query parameter. Requests authenticated with a team-scoped API key always return only that key’s team; passing a different value in team_ids is rejected.
- 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.
Query Parameters
Specifies the order of the results. Valid values are asc for ascending and desc for descending.
asc, desc The ID of the first object in the previous page. This parameter instructs the API to return the previous page of results.
The ID of the last object in the previous page. This parameter instructs the API to return the next page of results.
Specifies the maximum number of objects returned in a page. The default value is 50. The minimum value is 1, and the maximum value is 100.
Filter results to Knowledge Graphs deployed to any of the specified teams. Repeat the query parameter to pass multiple IDs (for example, ?team_ids=42&team_ids=43). Omitting this parameter returns only org-wide Knowledge Graphs; Knowledge Graphs deployed to specific teams are excluded unless the caller opts them in via team_ids.