Skip to content

Register all statements and blobs from a manifest into a new graph.

POST
/manifest/v1
curl --request POST \
--url https://example.com/manifest/v1 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "manifest": {}, "name": "Manifest Registration", "parent_id": "00000000-0000-0000-0000-000000000000" }'

Register all statements and blobs from a manifest into a new graph.

Returns the UUID of the created graph.

Media type application/json

Request body for importing a manifest into a newly created graph.

object
manifest
required

Manifest payload to import. Accepts a manifest object, a JSON string, base64 JSON, or gzip+base64 JSON.

object
name
required

Human-readable name for the new graph created from this manifest import.

string
Example
Manifest Registration
parent_id
required

UUID of the parent graph that the imported graph will be attached to.

string
Example
00000000-0000-0000-0000-000000000000

Manifest registered successfully

Media type application/json

Response body returned after a manifest import succeeds.

object
graph_id
required

UUID of the graph created for the imported manifest.

string
Example
{
"graph_id": "00000000-0000-0000-0000-000000000000"
}

The manifest payload is invalid, a blob is not valid base64, a blob CID does not match, or the parent graph does not exist

Graph was already registered

Internal server error

Blob storage is unavailable or misconfigured