GET
/
v1
/
storage
/
{graph_id}
/
cURL
curl --request GET \
  --url https://api.unize.org/v1/storage/{graph_id}/ \
  --header 'Authorization: <api-key>'
{
  "graph": {
    "nodes": [
      {
        "node_label": "<string>",
        "node_name": "<string>",
        "node_var": "<string>",
        "node_properties": "<any>",
        "snippet": "<string>"
      }
    ],
    "relationships": [
      {
        "rel_type": "<string>",
        "start_node": "<string>",
        "end_node": "<string>",
        "rel_properties": "<any>"
      }
    ],
    "cypher": "<string>"
  },
  "last_graph_merge": {
    "system": "st-0.75",
    "extraction_mode": "normal",
    "client_display_error": "<string>",
    "status": "queued",
    "timestamp": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z",
    "extraction_criteria_truncated": "<string>"
  },
  "graph_name": "<string>",
  "total_documents": 123
}

Authorizations

Authorization
string
header
required

Send the API generated from the Playground:

  • Authorization: <api_key>

Path Parameters

graph_id
string
required

The graph_id of the knowledge graph to be exported. A graph_id is an alphanumeric string that uniquely identifies a knowledge graph.

Query Parameters

cypher_query
boolean
default:false

Determines the structure of the graph object in the response. When false, the API returns a JSON object with graph.nodes and graph.relationships. When set to true, the response includes only the graph.cypher property, which contains the full graph in Cypher Query format.

Response

200 - application/json

The response is of type object.