Skip to main content
POST
Import graph data

Authorizations

Authorization
string
header
required

Worlds API data-plane token.

Path Parameters

worldId
string
required

The world-api-minted world ID, a w_ prefix and a lowercase ULID.

Pattern: ^w_[0-7][0-9a-hjkmnp-tv-z]{25}$

Body

application/json
data
string
required

RDF payload to import. The format must match the contentType field.

Minimum string length: 1
contentType
string
default:text/turtle

MIME type of the import payload. Supported values: text/turtle, application/trig, application/n-triples, application/n-quads, text/n3, application/json (quad rows), text/plain or application/x-ndjson (text chunks). Defaults to text/turtle.

Response

Import result

imported
object
required

Imported quad and chunk counts.