Skip to main content
GET
cURL
Knowledge Graphs deployed to a specific team aren’t accessible via the API or SDK. To use a Knowledge Graph via the API or SDK, configure it with “All Teams” access in AI Studio.

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.

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.