Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connections

Create source connections, send their credentials, choose their settings and see where their setup stands.

Connections

List connections

get

The workspace's source connections and where each stands. setup_status is the connection's next setup step — poll it after sending credentials or settings: validating means a background check (e.g. reading its tables) is still running.

Authorizations
AuthorizationstringRequired
Path parameters
workspace_idstring · uuidRequired
Query parameters
is_apiboolean · nullableOptional
is_databaseboolean · nullableOptional
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/
GET /developers/workspaces/{workspace_id}/connections/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "connection_id": "text",
      "name": "text",
      "source_connector_id": "text",
      "source_connector_name": "text",
      "pipeline_id": "text",
      "active_jobs": 1,
      "failed_jobs": 1,
      "show_warning": true,
      "has_valid_credentials": true,
      "last_successful_connection_at": "2026-01-01T00:00:00.000Z",
      "setup_status": "awaiting_credentials",
      "running_validation": "text"
    }
  ]
}

Create connection

post

Create a source connection on a source connector. It's created without credentials: send them next to its credentials/ (or authorize its OAuth fields), then configure its jobs. Returns the connection as GET connections/<connection_id>/ does.

Authorizations
AuthorizationstringRequired
Path parameters
workspace_idstring · uuidRequired
Body
connector_idstring · uuidRequired
namestringRequired
Responses
201Success
application/json
connection_idstringRequired
namestringRequired
source_connector_idstringRequired
source_connector_namestringRequired
pipeline_idstring · nullableRequired
active_jobsintegerRequired
failed_jobsintegerRequired
show_warningbooleanRequired
has_valid_credentialsboolean · nullableRequired

null until the credentials are checked, then the last check's result.

last_successful_connection_atstring · date-time · nullableRequired
setup_statusstring · enumRequired
  • awaiting_credentials - awaiting_credentials
  • lost_authentication - lost_authentication
  • validating - validating
  • needs_settings - needs_settings
  • no_options_available - no_options_available
  • schema_unavailable - schema_unavailable
  • ready_for_jobs - ready_for_jobs
  • no_destination - no_destination
  • configured - configured
Possible values:
running_validationstring · nullableRequired

What the background check is doing.

post/developers/workspaces/{workspace_id}/connections/
POST /developers/workspaces/{workspace_id}/connections/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "connector_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text"
}
{
  "connection_id": "text",
  "name": "text",
  "source_connector_id": "text",
  "source_connector_name": "text",
  "pipeline_id": "text",
  "active_jobs": 1,
  "failed_jobs": 1,
  "show_warning": true,
  "has_valid_credentials": true,
  "last_successful_connection_at": "2026-01-01T00:00:00.000Z",
  "setup_status": "awaiting_credentials",
  "running_validation": "text"
}

Get connection

get

Where one connection stands. setup_status is the connection's next setup step — poll it after sending credentials or settings: validating means a background check (e.g. reading its tables) is still running.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Responses
200Success
application/json
connection_idstringRequired
namestringRequired
source_connector_idstringRequired
source_connector_namestringRequired
pipeline_idstring · nullableRequired
active_jobsintegerRequired
failed_jobsintegerRequired
show_warningbooleanRequired
has_valid_credentialsboolean · nullableRequired

null until the credentials are checked, then the last check's result.

last_successful_connection_atstring · date-time · nullableRequired
setup_statusstring · enumRequired
  • awaiting_credentials - awaiting_credentials
  • lost_authentication - lost_authentication
  • validating - validating
  • needs_settings - needs_settings
  • no_options_available - no_options_available
  • schema_unavailable - schema_unavailable
  • ready_for_jobs - ready_for_jobs
  • no_destination - no_destination
  • configured - configured
Possible values:
running_validationstring · nullableRequired

What the background check is doing.

get/developers/workspaces/{workspace_id}/connections/{connection_id}/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "connection_id": "text",
  "name": "text",
  "source_connector_id": "text",
  "source_connector_name": "text",
  "pipeline_id": "text",
  "active_jobs": 1,
  "failed_jobs": 1,
  "show_warning": true,
  "has_valid_credentials": true,
  "last_successful_connection_at": "2026-01-01T00:00:00.000Z",
  "setup_status": "awaiting_credentials",
  "running_validation": "text"
}

Credentials

Get connection credentials

get

Each field is identified by its _id. A hidden field (a secret) is write-only, and a file's content is never returned — only its filename.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Responses
200Success
application/json
has_valid_credentialsboolean · nullableRequired

null until the credentials are checked — right after a change.

get/developers/workspaces/{workspace_id}/connections/{connection_id}/credentials/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/credentials/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "has_valid_credentials": true,
  "auth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "example": "text",
      "is_hidden": true,
      "is_required": true,
      "value": "text"
    }
  ],
  "advanced_auth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "example": "text",
      "is_hidden": true,
      "is_required": true,
      "value": "text"
    }
  ],
  "oauth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "is_custom_oauth": true,
      "oauth_value_id": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "connector_files": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "accepted_extensions": null,
      "kilobyte_size_limit": 1,
      "is_required": true,
      "existing_filename": "text"
    }
  ],
  "advanced_connector_files": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "accepted_extensions": null,
      "kilobyte_size_limit": 1,
      "is_required": true,
      "existing_filename": "text"
    }
  ],
  "bigquery_regions": [
    {
      "region_name": "text",
      "region_key": "text",
      "subscription_block": true
    }
  ]
}

Set connection credentials

patch

Only what's sent changes; a field left out keeps its saved value. Files go base64-encoded. The credentials are checked in the background: has_valid_credentials is null until then. OAuth fields are authorized through oauth/<oauth_field_id>/authorizations/ instead.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Body

Only what's sent changes: a field left out keeps its saved value.

Responses
200Success
application/json
has_valid_credentialsboolean · nullableRequired

null until the credentials are checked — right after a change.

patch/developers/workspaces/{workspace_id}/connections/{connection_id}/credentials/
PATCH /developers/workspaces/{workspace_id}/connections/{connection_id}/credentials/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 179

{
  "auth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "value": "text"
    }
  ],
  "connector_files": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "value": "text",
      "filename": "text"
    }
  ]
}
{
  "has_valid_credentials": true,
  "auth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "example": "text",
      "is_hidden": true,
      "is_required": true,
      "value": "text"
    }
  ],
  "advanced_auth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "example": "text",
      "is_hidden": true,
      "is_required": true,
      "value": "text"
    }
  ],
  "oauth_fields": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "is_custom_oauth": true,
      "oauth_value_id": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "connector_files": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "accepted_extensions": null,
      "kilobyte_size_limit": 1,
      "is_required": true,
      "existing_filename": "text"
    }
  ],
  "advanced_connector_files": [
    {
      "_id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "accepted_extensions": null,
      "kilobyte_size_limit": 1,
      "is_required": true,
      "existing_filename": "text"
    }
  ],
  "bigquery_regions": [
    {
      "region_name": "text",
      "region_key": "text",
      "subscription_block": true
    }
  ]
}

Authorize connection OAuth

post

Start authorizing one of the connection's OAuth fields (listed by its credentials). Send the end user to authorization_url: they sign in with the provider, Erathos receives the authorization and saves it on the connection, then sends them to return_url — or shows a page saying they can close the window. Its status (pending/success/error) is also here, and the connection's credentials show the field's oauth_value_id once authorized. For a connector using the customer's own OAuth app, save the app's credentials (its auth fields) first.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
oauth_field_idstring · uuidRequired
workspace_idstring · uuidRequired
Body
return_urlstringOptional

Where to send the end user once done (https; http only for localhost), with status, connection_id, authorization_id and, on failure, error (a code: authorization_failed or save_failed) added to its query. Without one, they see a page saying they can close the window.

Responses
201Success
application/json
_idstring · uuidRead-onlyRequired
_created_atstring · date-timeRead-onlyRequired
connection_idstring · uuidRequired
oauth_field_idstring · uuidRead-onlyRequired
authorization_urlstringRead-onlyRequired

Send the end user here; valid until expires_at, used once.

return_urlstring · nullableOptional
expires_atstring · date-timeRequired
statusstring · enumOptional
  • pending - PENDING
  • success - SUCCESS
  • error - ERROR
Possible values:
errorone of · nullableRequired

Why it failed, as a code; error_message describes it.

  • authorization_failed - authorization_failed
  • save_failed - save_failed
string · enumOptional
  • authorization_failed - authorization_failed
  • save_failed - save_failed
Possible values:
or
undefined · enumOptionalPossible values:
error_messagestring · nullableRead-onlyRequired
completed_atstring · date-time · nullableOptional
post/developers/workspaces/{workspace_id}/connections/{connection_id}/oauth/{oauth_field_id}/authorizations/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/oauth/{oauth_field_id}/authorizations/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "return_url": "text"
}
{
  "_id": "123e4567-e89b-12d3-a456-426614174000",
  "_created_at": "2026-01-01T00:00:00.000Z",
  "connection_id": "123e4567-e89b-12d3-a456-426614174000",
  "oauth_field_id": "123e4567-e89b-12d3-a456-426614174000",
  "authorization_url": "text",
  "return_url": "text",
  "expires_at": "2026-01-01T00:00:00.000Z",
  "status": "pending",
  "error": "authorization_failed",
  "error_message": "text",
  "completed_at": "2026-01-01T00:00:00.000Z"
}

Get OAuth authorization

get
Authorizations
AuthorizationstringRequired
Path parameters
_idstring · uuidRequired
workspace_idstring · uuidRequired
Responses
200Success
application/json
_idstring · uuidRead-onlyRequired
_created_atstring · date-timeRead-onlyRequired
connection_idstring · uuidRequired
oauth_field_idstring · uuidRead-onlyRequired
authorization_urlstringRead-onlyRequired

Send the end user here; valid until expires_at, used once.

return_urlstring · nullableOptional
expires_atstring · date-timeRequired
statusstring · enumOptional
  • pending - PENDING
  • success - SUCCESS
  • error - ERROR
Possible values:
errorone of · nullableRequired

Why it failed, as a code; error_message describes it.

  • authorization_failed - authorization_failed
  • save_failed - save_failed
string · enumOptional
  • authorization_failed - authorization_failed
  • save_failed - save_failed
Possible values:
or
undefined · enumOptionalPossible values:
error_messagestring · nullableRead-onlyRequired
completed_atstring · date-time · nullableOptional
get/developers/workspaces/{workspace_id}/oauth-authorizations/{_id}/
GET /developers/workspaces/{workspace_id}/oauth-authorizations/{_id}/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "_id": "123e4567-e89b-12d3-a456-426614174000",
  "_created_at": "2026-01-01T00:00:00.000Z",
  "connection_id": "123e4567-e89b-12d3-a456-426614174000",
  "oauth_field_id": "123e4567-e89b-12d3-a456-426614174000",
  "authorization_url": "text",
  "return_url": "text",
  "expires_at": "2026-01-01T00:00:00.000Z",
  "status": "pending",
  "error": "authorization_failed",
  "error_message": "text",
  "completed_at": "2026-01-01T00:00:00.000Z"
}

Settings

List connection settings

get

A connection's settings and, for choice settings, the options to pick from (paged per setting with limit/offset; name searches them). options_loaded=false means the options haven't been loaded yet — the connection needs working credentials first. A connector with no settings returns none: configure its jobs directly.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
limitinteger · min: 1 · max: 50Optional

Options per setting.

Default: 20
namestring · min: 1Optional

Searches the options.

offsetintegerOptionalDefault: 0
setting_idstring · uuidOptional
Responses
200Success
application/json
connection_idstringRequired
is_configuredbooleanRequired
running_validationstring · nullableRequired
options_missingstring · nullableRequired
get/developers/workspaces/{workspace_id}/connections/{connection_id}/settings/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/settings/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "connection_id": "text",
  "is_configured": true,
  "running_validation": "text",
  "settings": [
    {
      "setting_id": "text",
      "name": "text",
      "description": "text",
      "example": "text",
      "data_type": "text",
      "accept_multiple_values": true,
      "is_required": true,
      "edit_mode": "locked",
      "current_values": [
        "text"
      ],
      "options": [
        {
          "option_id": "text",
          "value": "text"
        }
      ],
      "options_loaded": true,
      "options_has_more": true
    }
  ],
  "options_missing": "text"
}

Configure connection settings

post

Choose a connection's settings, once its credentials are valid. The first call chooses them (every required one) and creates the connection's pipeline. After that, a locked setting can't change (a different value means a new connection), and an append setting only gains values — send just the new ones. Repeating a call changes nothing. background_work_queued: new values are being read (e.g. new files as tables); configuring jobs waits for it.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Body
namestring · max: 50Optional

Names the connection's pipeline, on the first call.

Responses
200Success
application/json
connection_idstringRequired
pipeline_namestringRequired
createdbooleanRequired
background_work_queuedbooleanRequired
post/developers/workspaces/{workspace_id}/connections/{connection_id}/settings/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/settings/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "settings": [
    {
      "setting_id": "123e4567-e89b-12d3-a456-426614174000",
      "values": [
        "text"
      ]
    }
  ],
  "name": "text"
}
{
  "connection_id": "text",
  "pipeline_name": "text",
  "created": true,
  "settings": [
    {
      "setting_id": "text",
      "name": "text",
      "values": [
        "text"
      ],
      "edit_mode": "text"
    }
  ],
  "added": [
    {
      "setting_id": "text",
      "name": "text",
      "values": [
        "text"
      ],
      "edit_mode": "text"
    }
  ],
  "background_work_queued": true
}

Tables, endpoints and fields

List connection tables

get

A database connection's tables — their table_id is what configuring jobs selects by. Only tables whose columns were read are listed.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
namestring · min: 1Optional

Substring search.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

schema_namestring · min: 1Optional
table_idstring · uuidOptional
Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/tables/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/tables/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "table_id": "text",
      "connection_id": "text",
      "schema_name": "text",
      "name": "text"
    }
  ]
}

List connection table schemas

get

A database connection's schemas with their table counts — a cheap first look before selecting whole schemas (schema_names) when configuring jobs.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/tables/schemas/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/tables/schemas/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "schema_name": "text",
      "table_count": 1
    }
  ]
}

List table columns

get

The columns of a database connection's tables (table_id narrows to one), each naming its table — to choose a cursor_column, or columns to exclude or anonymize, when configuring jobs. cursor_candidates_only=true keeps the columns usable to track changes by.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
cursor_candidates_onlybooleanOptional

Only columns usable to track changes by (a cursor_column).

Default: false
field_typestring · min: 1Optional

Substring of the type the database reports (e.g. 'date').

namestring · min: 1Optional

Substring search.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

table_idstring · uuidOptional

One table's columns; omit for all of them.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/tables/columns/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/tables/columns/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "column_id": "text",
      "connection_id": "text",
      "table_id": "text",
      "schema_name": "text",
      "table_name": "text",
      "name": "text",
      "field_type": "text",
      "is_nullable": true,
      "example": "text",
      "description": "text",
      "comments": "text",
      "is_primary_key": true,
      "is_cursor_available": true
    }
  ]
}

List connection endpoints

get

An API connection's endpoints (e.g. deals, contacts) — their endpoint_id is what configuring jobs selects by. parent_endpoint_id walks the hierarchy; has_children_endpoints says whether an endpoint has any.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
endpoint_idstring · uuidOptional
namestring · min: 1Optional

Substring search.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

parent_endpoint_idstring · uuidOptional

Only the direct children of this endpoint.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/endpoints/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/endpoints/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "endpoint_id": "text",
      "connector_id": "text",
      "name": "text",
      "parent_endpoint_id": "text",
      "description": "text",
      "has_children_endpoints": true,
      "has_custom_fields": true
    }
  ]
}

List endpoint fields

get

The base fields of an API connection's endpoints (endpoint_id narrows to one), each naming its endpoint. The connection's own custom fields are listed separately.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
endpoint_idstring · uuidOptional
field_typestring · min: 1Optional
namestring · min: 1Optional

Substring search.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/endpoint-fields/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/endpoint-fields/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "field_id": "text",
      "connector_id": "text",
      "endpoint_id": "text",
      "endpoint_name": "text",
      "name": "text",
      "field_type": "text",
      "is_nullable": true,
      "example": "text",
      "description": "text",
      "is_primary_key": true,
      "is_cursor_available": true
    }
  ]
}

List custom fields

get

An API connection's own custom fields (e.g. a CRM's custom properties), beyond its endpoints' base fields — endpoint_id narrows to those one endpoint picks up.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
endpoint_idstring · uuidOptional
field_typestring · min: 1Optional
namestring · min: 1Optional

Substring search.

pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

Responses
200Success
application/json
countintegerOptionalExample: 50
next_pageinteger · nullableOptionalExample: 3
previous_pageinteger · nullableOptionalExample: 1
page_sizeintegerOptionalExample: 10
total_pagesintegerOptionalExample: 5
current_pageintegerOptionalExample: 2
get/developers/workspaces/{workspace_id}/connections/{connection_id}/custom-fields/
GET /developers/workspaces/{workspace_id}/connections/{connection_id}/custom-fields/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 50,
  "next_page": 3,
  "previous_page": 1,
  "page_size": 10,
  "total_pages": 5,
  "current_page": 2,
  "results": [
    {
      "field_id": "text",
      "connection_id": "text",
      "field_key": "text",
      "name": "text",
      "field_type": "text",
      "is_nullable": true,
      "example": "text",
      "description": "text",
      "endpoint": "text"
    }
  ]
}

Jobs

Configure jobs

post

Create or edit a connection's jobs (tables for a database, endpoints for an API), applying one set of settings to a whole selection; call again for other groups. A dry run by default: send dry_run=false to save. Every setting is optional — an existing job keeps its value, a new one gets the recommendation (syncing daily at 03:00). The response lists the resulting job groups, the tables needing a decision (e.g. a cursor column to sync incrementally) and per-table errors.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Body
table_idsstring · uuid[]Optional

Tables to configure (database connections).

endpoint_idsstring · uuid[]Optional

Endpoints to configure (API connections).

job_idsstring · uuid[]Optional

Existing jobs to configure.

schema_namesstring[]Optional

Schemas whose tables to configure; null stands for tables outside any schema.

name_containsstringOptional
select_allbooleanOptionalDefault: false
scopestring · enumOptional
  • all - all
  • existing_only - existing_only
  • new_only - new_only
Possible values:
sync_typestring · enumOptional
  • recommended - recommended
  • full - full
  • incremental_append - incremental_append
  • incremental_overwrite - incremental_overwrite
  • incremental_versioned - incremental_versioned
Possible values:
incremental_modestring · enumOptional
  • append - append
  • overwrite - overwrite
  • versioned - versioned
Possible values:
sync_frequency_idstring · uuidOptional
sync_timestringOptional

HH:MM in the user's timezone.

full_reloadstring · enumOptional
  • never - never
  • every_day - every_day
  • sunday - sunday
  • monday - monday
  • tuesday - tuesday
  • wednesday - wednesday
  • thursday - thursday
  • friday - friday
  • saturday - saturday
Possible values:
weekly_run_daystring · enumOptional
  • sunday - sunday
  • monday - monday
  • tuesday - tuesday
  • wednesday - wednesday
  • thursday - thursday
  • friday - friday
  • saturday - saturday
Possible values:
cursor_columnanyOptional
on_incremental_unavailablestring · enumOptional
  • skip - skip
  • full - full
Possible values:
fallback_sync_frequency_idstring · uuidOptional
fallback_sync_timestringOptional

HH:MM in the user's timezone.

enabledboolean · nullableOptional
cdcboolean · nullableOptional
dry_runbooleanOptional

Only preview the changes (the default); send false to save them.

Default: true
Responses
200Success
application/json
dry_runbooleanRequired
pipelinestring · enumRequired
  • existing - existing
  • created - created
  • will_create - will_create
Possible values:
unchangedintegerRequired
needs_decision_totalintegerRequired
added_ancestorsstring[]Required
overridden_by_parentintegerRequired
columns_not_present_onintegerRequired
timezonestringRequired
post/developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/configure/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/configure/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 712

{
  "table_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "endpoint_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "job_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ],
  "schema_names": [
    "text"
  ],
  "name_contains": "text",
  "select_all": false,
  "scope": "all",
  "sync_type": "recommended",
  "incremental_mode": "overwrite",
  "sync_frequency_id": "123e4567-e89b-12d3-a456-426614174000",
  "sync_time": "text",
  "full_reload": "never",
  "weekly_run_day": "sunday",
  "cursor_column": null,
  "on_incremental_unavailable": "skip",
  "fallback_sync_frequency_id": "123e4567-e89b-12d3-a456-426614174000",
  "fallback_sync_time": "text",
  "columns": {
    "exclude": [
      "text"
    ],
    "include": [
      "text"
    ],
    "anonymize": [
      "text"
    ],
    "deanonymize": [
      "text"
    ]
  },
  "enabled": true,
  "cdc": true,
  "dry_run": true
}
{
  "dry_run": true,
  "pipeline": "existing",
  "summary": [
    {
      "sync_type": "full",
      "cursor_columns": [
        "text"
      ],
      "cdc": true,
      "enabled": true,
      "is_new": true,
      "sync_frequency": "text",
      "sync_time": "text",
      "schedule": "text",
      "count": 1,
      "names": [
        "text"
      ],
      "explanation": "text",
      "updated_through": "text"
    }
  ],
  "unchanged": 1,
  "fell_back_to_full": {
    "count": 1,
    "reason_counts": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "explanation": "text"
  },
  "needs_decision": [
    {
      "entity_id": "text",
      "name": "text",
      "reason": "text",
      "options": [
        "text"
      ],
      "explanation": "text"
    }
  ],
  "needs_decision_total": 1,
  "full_only": {
    "count": 1,
    "reason_counts": {
      "ANY_ADDITIONAL_PROPERTY": 1
    },
    "explanation": "text"
  },
  "impacts": [
    {
      "kind": "text",
      "count": 1,
      "explanation": "text"
    }
  ],
  "added_ancestors": [
    "text"
  ],
  "overridden_by_parent": 1,
  "columns_not_present_on": 1,
  "errors": [
    {
      "entity_id": "text",
      "name": "text",
      "messages": [
        "text"
      ]
    }
  ],
  "plan": {
    "active_jobs_after": 1,
    "jobs_limit": 1,
    "over_limit": true
  },
  "timezone": "text",
  "removed_from_source": [
    {
      "job_id": "text",
      "name": "text",
      "enabled": true
    }
  ]
}

Enable connection jobs

post

Enable the connection's jobs, or just job_ids. Enabling a job also enables its ancestors, like the platform does. Jobs are admitted in order against the plan's job limit, so a call may partly succeed: what wasn't enabled is in skipped, with why.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Body
job_idsstring · uuid[]Optional

Only these jobs; omit for all of the connection's.

Responses
200Success
application/json
post/developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/enable/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/enable/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "job_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "enabled": [
    {
      "job_id": "text",
      "connection_id": "text",
      "cascaded_job_ids": [
        "text"
      ]
    }
  ],
  "skipped": [
    {
      "job_id": "text",
      "reason": "not_found",
      "detail": "text"
    }
  ]
}

Disable connection jobs

post

Disable the connection's jobs, or just job_ids. Disabling a job also disables every job beneath it and cancels their queued next runs (a run already executing goes on). A job already disabled is in skipped.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Body
job_idsstring · uuid[]Optional

Only these jobs; omit for all of the connection's.

Responses
200Success
application/json
post/developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/disable/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/jobs/disable/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "job_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "disabled": [
    {
      "job_id": "text",
      "connection_id": "text",
      "cascaded_job_ids": [
        "text"
      ]
    }
  ],
  "skipped": [
    {
      "job_id": "text",
      "reason": "not_found",
      "detail": "text"
    }
  ]
}

Runs

Run connection

post

Queue a run of the connection's active jobs now — or of just job_ids. force_full_refresh reloads incremental jobs' full history. Runs then show in the workspace's jobs.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Query parameters
force_full_refreshbooleanOptional

Whether to force a full refresh on incremental jobs.

Default: false
Body
raw_cursorstring · nullableOptional
timestamp_cursorstring · date-time · nullableOptional
enable_deletebooleanOptionalDefault: false
job_idsstring · uuid[]OptionalDefault: []
Responses
201

No response body

No content

post/developers/workspaces/{workspace_id}/connections/{connection_id}/run/
POST /developers/workspaces/{workspace_id}/connections/{connection_id}/run/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 140

{
  "raw_cursor": "text",
  "timestamp_cursor": "2026-01-01T00:00:00.000Z",
  "enable_delete": false,
  "job_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}

No content

Cancel connection runs

delete

Cancel the connection's queued, waiting and executing runs — or just those of job_ids. 400 when none is in a cancelable state.

Authorizations
AuthorizationstringRequired
Path parameters
connection_idstring · uuidRequired
workspace_idstring · uuidRequired
Responses
204

No response body

No content

delete/developers/workspaces/{workspace_id}/connections/{connection_id}/cancel/
DELETE /developers/workspaces/{workspace_id}/connections/{connection_id}/cancel/ HTTP/1.1
Host: api.erathos.com
Authorization: YOUR_API_KEY
Accept: */*

No content

Last updated