curl --request GET \
--url https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "metadata_import",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_type": "metadata",
"name": "<string>",
"filters": [
{
"from": "2023-12-25",
"to": "2023-12-25",
"folder_id": "<string>",
"path": "<string>",
"title_search": "<string>",
"team": "<string>",
"meeting_type": "<string>",
"recursive": "true"
}
],
"default_mode": "append",
"delete_missing": true,
"rate_limit": 123,
"created_at": 123,
"runs": [
{
"object": "metadata_import_run",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_type": "metadata",
"mode": "append",
"delete_missing": true,
"status": "pending",
"progress": {
"pages_listed": 123,
"files_listed": 123,
"files_created": 123,
"files_updated": 123,
"files_skipped": 123,
"files_failed": 123,
"files_queued": 123,
"files_indexed": 123,
"files_imported": 123,
"files_removed": 123,
"files_enriched": 123
},
"error": "<string>",
"started_at": 123,
"completed_at": 123,
"created_at": 123,
"max_files": 123,
"include_thumbnails": true,
"enrich_metadata": true
}
],
"total_runs": 123,
"limit": 123,
"offset": 123,
"max_files": 123,
"include_thumbnails": true,
"enrich_metadata": true
}{
"error": "<string>"
}{
"error": "<string>"
}Get Bulk Import
Get a metadata import definition with one page of its run history (newest first).
curl --request GET \
--url https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cloudglue.dev/v1/collections/{collection_id}/imports/{import_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "metadata_import",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connector_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_type": "metadata",
"name": "<string>",
"filters": [
{
"from": "2023-12-25",
"to": "2023-12-25",
"folder_id": "<string>",
"path": "<string>",
"title_search": "<string>",
"team": "<string>",
"meeting_type": "<string>",
"recursive": "true"
}
],
"default_mode": "append",
"delete_missing": true,
"rate_limit": 123,
"created_at": 123,
"runs": [
{
"object": "metadata_import_run",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"import_type": "metadata",
"mode": "append",
"delete_missing": true,
"status": "pending",
"progress": {
"pages_listed": 123,
"files_listed": 123,
"files_created": 123,
"files_updated": 123,
"files_skipped": 123,
"files_failed": 123,
"files_queued": 123,
"files_indexed": 123,
"files_imported": 123,
"files_removed": 123,
"files_enriched": 123
},
"error": "<string>",
"started_at": 123,
"completed_at": 123,
"created_at": 123,
"max_files": 123,
"include_thumbnails": true,
"enrich_metadata": true
}
],
"total_runs": 123,
"limit": 123,
"offset": 123,
"max_files": 123,
"include_thumbnails": true,
"enrich_metadata": true
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the metadata collection
The ID of the metadata import
Query Parameters
Maximum number of runs to return (default 20)
1 <= x <= 100Number of runs to skip
x >= 0Response
The import with paged run history
An import with one page of its run history (newest first). total_runs/limit/offset make truncation visible.
metadata_import Inferred from the collection's type at creation and fixed for the import's lifetime. metadata (metadata collections): source metadata is indexed, no media is downloaded, runs are free. media (every other collection type): each matching file is ingested and processed exactly like a manual add, billed per file.
metadata, media Show child attributes
Show child attributes
append, refresh Upstream list requests per second; null means the per-connector safe default. Clamped to a per-connector ceiling at run time.
Unix timestamp in milliseconds
One page of run history, newest first
Show child attributes
Show child attributes
Per-run ceiling on files processed from the listing; null means unbounded
Whether runs copy connector poster images as default thumbnails for imported files (Grain and iconik today)
Backfill source-metadata fields the connector's list endpoint omits, after each index batch settles: Gong parties + Call Spotlight content (batched - enriched docs are re-embedded so the content is searchable) and Dropbox media_info duration/dimensions (per-file). No-op for other connectors. Off by default: it spends upstream API budget and, for Gong, embedding work. Metadata imports only — setting it on a media import is a 400, since a media run ingests each file in full and has no metadata-only record to enrich.