Skip to main content
GET
cURL
Knowledge Graphs can be deployed org-wide (accessible to every team in the organization) or deployed to specific teams. Both are accessible via the API and SDK.
  • With an org-scoped API key, control team scope from the request body: pass team_ids on create or update, or filter list with the team_ids query parameter. Omit team_ids on 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_ids is not accepted.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your Writer API key.

Query Parameters

order
enum<string>
default:desc

Specifies the order of the results. Valid values are asc for ascending and desc for descending.

Available options:
asc,
desc
before
string<uuid>

The ID of the first object in the previous page. This parameter instructs the API to return the previous page of results.

after
string<uuid>

The ID of the last object in the previous page. This parameter instructs the API to return the next page of results.

limit
integer<int32>
default:50

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.

team_ids
integer<int64>[]

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.

Response

200 - application/json
data
graph · object[]
required
has_more
boolean
required

Indicates if there are more Knowledge Graphs available beyond the current page.

first_id
string<uuid>

The ID of the first Knowledge Graph in the current response.

last_id
string<uuid>

The ID of the last Knowledge Graph in the current response.