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>
GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/channelsScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "private": true
    }
  ]
}
Schema
datakit.Channel[]required
Show child parameters
idstringrequired
namestringrequired
privatebooleanrequired
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}/delivery-logScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "data": [
    {
      "at": "2024-01-01T00:00:00Z",
      "id": "string",
      "level": "string",
      "message": "string",
      "response": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
datakit.LogEntry[]required
Show child parameters
atstringrequired
idstringrequired
levelstringrequired
messagestringrequired
responsestring
next_cursorstring
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/disableScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/disable"
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
GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/dlqScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "data": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "error": "string",
      "id": "string",
      "payload": {},
      "stream": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
datamgmt.Letter[]required
Show child parameters
created_atstringrequired
errorstringrequired
idstringrequired
payloadobjectrequired
streamstringrequired
next_cursorstring
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/dlq/replayScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
limitinteger
{
  "limit": 0
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/dlq/replay" \
  -H "Content-Type: application/json" \
  -d '{"limit":0}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "replayed": 0
}
Schema
replayedintegerrequired
GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/draftScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "diff": [
    {
      "draft": "string",
      "field": "string",
      "live": "string"
    }
  ],
  "draft": {}
}
Schema
diffmgmt.change[]required
Show child parameters
draftstringrequired
fieldstringrequired
livestringrequired
draftobjectrequired
PUThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/draftScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
cohortsstring[]
configobjectrequired
consentobject
Show child parameters
categoriesstring[]
missingstring
enrichkit.Enrich[]
Show child parameters
columnsstring[]
key_propertystring
namestringrequired
prefixstring
sourcestringrequired
filterstringrequired
internalboolean
rate_per_minuteinteger
realtimebooleanrequired
sensitiveobject
Show child parameters
actionstring
allowstring[]
transformstringrequired
triggerobject
Show child parameters
action_idstringrequired
interval_secsintegerrequired
modestringrequired
sourcestringrequired
wherestringrequired
{
  "cohorts": [
    "string"
  ],
  "config": {},
  "consent": {
    "categories": [
      "string"
    ],
    "missing": "string"
  },
  "enrich": [
    {
      "columns": [
        "string"
      ],
      "key_property": "string",
      "name": "string",
      "prefix": "string",
      "source": "string"
    }
  ],
  "filter": "string",
  "internal": true,
  "rate_per_minute": 0,
  "realtime": true,
  "sensitive": {
    "action": "string",
    "allow": [
      "string"
    ]
  },
  "transform": "string",
  "trigger": {
    "action_id": "string",
    "interval_secs": 0,
    "mode": "string",
    "source": "string",
    "where": "string"
  }
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/draft" \
  -H "Content-Type: application/json" \
  -d '{"cohorts":["string"],"config":{},"consent":{"categories":["string"],"missing":"string"},"enrich":[{"columns":["string"],"key_property":"string","name":"string","prefix":"string","source":"string"}],"filter":"string","internal":true,"rate_per_minute":0,"realtime":true,"sensitive":{"action":"string","allow":["string"]},"transform":"string","trigger":{"action_id":"string","interval_secs":0,"mode":"string","source":"string","where":"string"}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

DELETEhttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/draftScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

204 No Content
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/draft/publishScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

Updated