Comment on page
Ingest File
Ingest PDFs, videos, Markdown and Word documents, and more.
If you have content already cloud-hosted, and available via URL, it can be ingested into Graphlit easily.
You can use the
ingestFile
mutation, and pass the URI to the cloud-hosted file.ingestFile
expects an individual file or ZIP package of files, and will return an error if a webpage or RSS feed is provided in the URI.Graphlit will return the ID of the
content
object which is created, and immediately begin processing the content workflow in the background.mutation IngestFile($uri: URL!) {
ingestFile(uri: $uri) {
id
name
state
type
fileType
uri
}
}
{
"uri": "https://graphlitplatform.blob.core.windows.net/samples/Unstructured%20Data%20is%20Dark%20Data%20Podcast.mp3"
}
{
"type": "FILE",
"fileType": "AUDIO",
"uri": "https://graphlitplatform.blob.core.windows.net/samples/Unstructured%20Data%20is%20Dark%20Data%20Podcast.mp3",
"id": "cc4f2a1f-b103-4cab-8a98-2b8cd84b691c",
"name": "Unstructured Data is Dark Data Podcast.mp3",
"state": "CREATED"
}
Last modified 2mo ago