GET
/
api
/
v1
/
sources
curl --request GET \
  --url https://api.nekt.ai/api/v1/sources/ \
  --header 'x-api-key: <api-key>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "logo": "<string>",
      "current_connector_slug": "<string>",
      "current_connector_allow_manual_incremental_sync": true,
      "current_connector_allow_manual_log_based_sync": true,
      "current_connector_requires_manual_replication_key": true,
      "current_connector_config": "<any>",
      "description": "<string>",
      "full_sync_cron": "<string>",
      "full_sync_cron_timezone": "Africa/Abidjan",
      "pipeline_slug": "<string>",
      "pipeline_active": true,
      "pipeline_current_status": "<string>",
      "pipeline_triggers": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "created_at": "2023-11-07T05:31:56Z",
          "updated_at": "2023-11-07T05:31:56Z",
          "type": "manual",
          "cron_expression": "<string>",
          "cron_timezone": "Africa/Abidjan",
          "events": [
            "<string>"
          ],
          "event_rule": "any"
        }
      ],
      "last_run": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z",
        "started_at": "2023-11-07T05:31:56Z",
        "ended_at": "2023-11-07T05:31:56Z",
        "status": "queued"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key authentication. Format: 'x-api-key: {api_token}'

Query Parameters

connector_slug
string
last_run_status
enum<string>[]

Multiple values may be separated by commas.

  • queued - QUEUED
  • running - RUNNING
  • success - SUCCESS
  • failed - FAILED
  • cancelling - CANCELLING
  • canceled - CANCELED
Available options:
canceled,
cancelling,
failed,
queued,
running,
success
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

pipeline_current_status
enum<string>[]

Multiple values may be separated by commas.

  • preparing - PREPARING
  • queued - QUEUED
  • running - RUNNING
  • cancelling - CANCELLING
  • idle - IDLE
  • inactive - INACTIVE
Available options:
cancelling,
idle,
inactive,
preparing,
queued,
running
pipeline_slug
string

A search term.

sort
enum<string>[]

Ordering

  • pipeline_slug - Pipeline slug
  • -pipeline_slug - Pipeline slug (descending)
  • connector_slug - Connector slug
  • -connector_slug - Connector slug (descending)
  • description - Description
  • -description - Description (descending)
Available options:
-connector_slug,
-description,
-pipeline_slug,
connector_slug,
description,
pipeline_slug

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
next
string | null
Example:

"http://api.example.org/accounts/?page=4"

previous
string | null
Example:

"http://api.example.org/accounts/?page=2"