curl --request GET \
--url https://api.nekt.ai/api/v1/sources/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nekt.ai/api/v1/sources/"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nekt.ai/api/v1/sources/', 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.nekt.ai/api/v1/sources/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.nekt.ai/api/v1/sources/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.nekt.ai/api/v1/sources/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nekt.ai/api/v1/sources/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 123,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"archived": true,
"deleted": true,
"draft": true,
"active": true,
"status": "<string>",
"connector_config": "<unknown>",
"description": "<string>",
"has_callback_webhook": true,
"output_volumes": [
"<unknown>"
],
"oauth_type": "<string>",
"table_prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deploy_failed": true,
"deploy_failed_reason": "<string>",
"webhook_api_gateway_endpoint": "<string>",
"python_execution_cpu": 123,
"python_execution_memory": 123,
"spark_driver_cores": 123,
"spark_driver_memory": 123,
"spark_executor_cores": 123,
"spark_executor_memory": 123,
"spark_executor_instances": 123,
"spark_executor_disk": 123,
"spark_execution_timeout_minutes": 123,
"settings_number_of_retries": 123,
"settings_retry_delay_seconds": 123,
"settings_max_consecutive_failures": 123,
"settings_full_sync_cron": "<string>",
"settings_full_sync_cron_timezone": "Africa/Abidjan",
"connector_version": "<string>",
"output_layer": "<string>",
"output_folder": "<string>",
"last_run": "<string>",
"created_by": 123
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}List Sources
Opt-in visibility of soft-deleted rows on the list action, for admins/owners only.
Views combine include_deleted_requested() with their own get_manager() to start the
list queryset from all_objects when the caller passes ?include_deleted=true. The opt-in
is intentionally scoped to list — update/trigger/destroy keep using the default (deleted-
excluding) manager, so they can never operate on a soft-deleted resource.
Only Owners/Admins may see deleted items; a non-admin caller (including token principals with
role=None, e.g. scoped MCP tokens) asking for them gets a 403.
curl --request GET \
--url https://api.nekt.ai/api/v1/sources/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.nekt.ai/api/v1/sources/"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.nekt.ai/api/v1/sources/', 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.nekt.ai/api/v1/sources/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.nekt.ai/api/v1/sources/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.nekt.ai/api/v1/sources/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.nekt.ai/api/v1/sources/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"count": 123,
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"archived": true,
"deleted": true,
"draft": true,
"active": true,
"status": "<string>",
"connector_config": "<unknown>",
"description": "<string>",
"has_callback_webhook": true,
"output_volumes": [
"<unknown>"
],
"oauth_type": "<string>",
"table_prefix": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deploy_failed": true,
"deploy_failed_reason": "<string>",
"webhook_api_gateway_endpoint": "<string>",
"python_execution_cpu": 123,
"python_execution_memory": 123,
"spark_driver_cores": 123,
"spark_driver_memory": 123,
"spark_executor_cores": 123,
"spark_executor_memory": 123,
"spark_executor_instances": 123,
"spark_executor_disk": 123,
"spark_execution_timeout_minutes": 123,
"settings_number_of_retries": 123,
"settings_retry_delay_seconds": 123,
"settings_max_consecutive_failures": 123,
"settings_full_sync_cron": "<string>",
"settings_full_sync_cron_timezone": "Africa/Abidjan",
"connector_version": "<string>",
"output_layer": "<string>",
"output_folder": "<string>",
"last_run": "<string>",
"created_by": 123
}
],
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Authorizations
API Key authentication. Format: 'x-api-key: api_key'
Query Parameters
Admins/owners only. Include deleted items in the list response.
Multiple values may be separated by commas.
pending_events- PENDING_EVENTSqueued- QUEUEDrunning- RUNNINGsuccess- SUCCESSfailed- FAILEDcancelling- CANCELLINGcanceled- CANCELED
canceled, cancelling, failed, pending_events, queued, running, success A page number within the paginated result set.
Number of results to return per page.
A search term.
Ordering
slug- Slug-slug- Slug (descending)connector_slug- Connector slug-connector_slug- Connector slug (descending)description- Description-description- Description (descending)created_by- Created by-created_by- Created by (descending)created_at- Created at-created_at- Created at (descending)updated_at- Updated at-updated_at- Updated at (descending)
-connector_slug, -created_at, -created_by, -description, -slug, -updated_at, connector_slug, created_at, created_by, description, slug, updated_at Multiple values may be separated by commas.
pending_events- PENDING_EVENTSpreparing- PREPARINGqueued- QUEUEDrunning- RUNNINGcancelling- CANCELLINGidle- IDLEinactive- INACTIVEdeploy_failed- DEPLOY_FAILED
cancelling, deploy_failed, idle, inactive, pending_events, preparing, queued, running Was this page helpful?