POST
/
v1
/
storage
/
export
curl --request POST \
  --url https://api.unize.org/v1/storage/export/ \
  --header 'Content-Type: application/json' \
  --data '{
  "api_key": "<string>",
  "execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "cypher_query": false
}'
{
  "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>"
  },
  "latest_graph_merge_data": {
    "goal": "<string>",
    "status": "queued",
    "timestamp": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z"
  }
}

Body

application/json
Graph data request
api_key
string
required

The Unize AI API key you generated from the Unize AI dashboard.

execution_id
string
required

The execution ID of the graph from which you want to extract data (e.g., nodes, relationships, or Cypher queries)

cypher_query
boolean
default:
false

If true, the response will contain the Cypher query you can use to visualize the generated graph via Neo4j AuraDB.

Response

200
application/json
Graph data retrieved successfully
graph
object
required

Extracted nodes, relationships, and Cypher Query from the document.

latest_graph_merge_data
object
required

Contains metadata regarding the status of the graph's creation or update process.