GET
/
graph
/
{name}
curl --request GET \
  --url http://localhost:8000/graph/{name}
{
  "id": "<string>",
  "name": "<string>",
  "entities": [
    {
      "id": "<string>",
      "label": "<string>",
      "type": "<string>",
      "properties": {},
      "document_ids": [
        "<string>"
      ],
      "chunk_sources": {}
    }
  ],
  "relationships": [
    {
      "id": "<string>",
      "source_id": "<string>",
      "target_id": "<string>",
      "type": "<string>",
      "document_ids": [
        "<string>"
      ],
      "chunk_sources": {}
    }
  ],
  "metadata": {},
  "document_ids": [
    "<string>"
  ],
  "filters": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "owner": {},
  "access_control": {}
}

Headers

authorization
string

Path Parameters

name
string
required

Response

200
application/json
Successful Response

Represents a knowledge graph

name
string
required
id
string
entities
object[]

Represents an entity in a knowledge graph

relationships
object[]

Represents a relationship between entities in a knowledge graph

metadata
object
document_ids
string[]
filters
object | null
created_at
string
updated_at
string
owner
object
access_control
object