connectors

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-connectors"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/421f84cf-5aca-4b84-8f1d-85f879be5134/social-card.svg?v=3e7ae33eec8b" alt="connectors" width="600" height="315"></a>
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/transform/testScope connector:write

Parameters

project_idstringpathrequired

Request body

application/json
allow_fetchboolean
codestringrequired
eventobject
inputsobject
{
  "allow_fetch": true,
  "code": "string",
  "event": {},
  "inputs": {}
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/transform/test" \
  -H "Content-Type: application/json" \
  -d '{"allow_fetch":true,"code":"string","event":{},"inputs":{}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "elapsed_ms": 0,
  "error": "string",
  "logs": [
    "string"
  ],
  "ok": true,
  "output": [
    {}
  ]
}
Schema
elapsed_msintegerrequired
errorstring
logsstring[]required
okbooleanrequired
outputobject[]required
default Problem details (RFC 9457)
Example
{
  "detail": "string",
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}
Schema
detailstring
instancestring
statusinteger
titlestring
typestring
GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}Scope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/connectors/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "config": {},
  "created_at": "2024-01-01T00:00:00Z",
  "has_credentials": true,
  "id": "string",
  "kind": "string",
  "last_sync_at": "2024-01-01T00:00:00Z",
  "name": "string",
  "status": "string",
  "sync_interval_secs": 0
}
Schema
configobjectrequired
created_atstringrequired
has_credentialsbooleanrequired
idstringrequired
kindstringrequired
last_sync_atstring
namestringrequired
statusstringrequired
sync_interval_secsintegerrequired
DELETEhttps://lucidace.com/v1/projects/{project_id}/connectors/{id}Scope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/projects/{project_id}/connectors/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204 No Content
PATCHhttps://lucidace.com/v1/projects/{project_id}/connectors/{id}Scope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
configobject
credentialsobjectrequired
namestring
sync_interval_secsinteger
{
  "config": {},
  "credentials": {},
  "name": "string",
  "sync_interval_secs": 0
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/projects/{project_id}/connectors/{id}" \
  -H "Content-Type: application/json" \
  -d '{"config":{},"credentials":{},"name":"string","sync_interval_secs":0}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfillsScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "data": [
    {
      "cohort_id": "string",
      "connector_id": "string",
      "created_at": "2024-01-01T00:00:00Z",
      "error": "string",
      "events": [
        "string"
      ],
      "failed": 0,
      "finished_at": "2024-01-01T00:00:00Z",
      "from": "2024-01-01T00:00:00Z",
      "id": "string",
      "sent": 0,
      "started_at": "2024-01-01T00:00:00Z",
      "status": "string",
      "to": "2024-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}
Schema
databackfill.Job[]required
Show child parameters
cohort_idstring
connector_idstringrequired
created_atstringrequired
errorstring
eventsstring[]required
failedintegerrequired
finished_atstring
fromstringrequired
idstringrequired
sentintegerrequired
started_atstring
statusstringrequired
tostringrequired
next_cursorstring
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfillsScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
cohort_idstring
eventsstring[]
fromstringrequired
tostringrequired
{
  "cohort_id": "string",
  "events": [
    "string"
  ],
  "from": "2024-01-01T00:00:00Z",
  "to": "2024-01-01T00:00:00Z"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills" \
  -H "Content-Type: application/json" \
  -d '{"cohort_id":"string","events":["string"],"from":"2024-01-01T00:00:00Z","to":"2024-01-01T00:00:00Z"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Created
Example
{
  "cohort_id": "string",
  "connector_id": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "error": "string",
  "events": [
    "string"
  ],
  "failed": 0,
  "finished_at": "2024-01-01T00:00:00Z",
  "from": "2024-01-01T00:00:00Z",
  "id": "string",
  "sent": 0,
  "started_at": "2024-01-01T00:00:00Z",
  "status": "string",
  "to": "2024-01-01T00:00:00Z"
}
Schema
cohort_idstring
connector_idstringrequired
created_atstringrequired
errorstring
eventsstring[]required
failedintegerrequired
finished_atstring
fromstringrequired
idstringrequired
sentintegerrequired
started_atstring
statusstringrequired
tostringrequired
GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills/{bid}Scope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired
bidstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills/{bid}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills/{bid}/cancelScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired
bidstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/backfills/{bid}/cancel"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/cdcScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/cdc"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "alert": "string",
  "lag_bytes": 0,
  "lsn": "string",
  "mode": {},
  "paused": true,
  "phase": "string",
  "publication_name": {},
  "slot_name": {}
}
Schema
alertstringrequired
lag_bytesintegerrequired
lsnstringrequired
modeobjectrequired
pausedbooleanrequired
phasestringrequired
publication_nameobjectrequired
slot_nameobjectrequired
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/cdc/resumeScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/cdc/resume"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

Updated