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}/driftScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "drift": [
    "string"
  ],
  "drift_additive": [
    "string"
  ],
  "drift_breaking": [
    "string"
  ],
  "run_id": "string",
  "started_at": "2024-01-01T00:00:00Z"
}
Schema
driftstring[]required
drift_additivestring[]required
drift_breakingstring[]required
run_idstring
started_atstring
default Problem details (RFC 9457)
Example
{
  "detail": "string",
  "instance": "string",
  "status": 0,
  "title": "string",
  "type": "string"
}
Schema
detailstring
instancestring
statusinteger
titlestring
typestring
POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/enableScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/enable"
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
default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/estimateScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
daysinteger
filterstring
triggerobject
Show child parameters
action_idstringrequired
interval_secsintegerrequired
modestringrequired
sourcestringrequired
wherestringrequired
{
  "days": 0,
  "filter": "string",
  "trigger": {
    "action_id": "string",
    "interval_secs": 0,
    "mode": "string",
    "source": "string",
    "where": "string"
  }
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/estimate" \
  -H "Content-Type: application/json" \
  -d '{"days":0,"filter":"string","trigger":{"action_id":"string","interval_secs":0,"mode":"string","source":"string","where":"string"}}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{
  "count": 0,
  "days": 0,
  "ignored_paths": [
    "string"
  ],
  "since": "2024-01-01T00:00:00Z"
}
Schema
countintegerrequired
daysintegerrequired
ignored_pathsstring[]
sincestringrequired
default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/file-modelsScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "models": [
    {
      "format": "string",
      "name": "string",
      "pattern": "string",
      "prefix": "string",
      "property_map": {},
      "spend": {
        "ad_group": "string",
        "campaign": "string",
        "campaign_id": "string",
        "channel": "string",
        "clicks": "string",
        "currency": "string",
        "date": "string",
        "impressions": "string",
        "spend": "string"
      }
    }
  ]
}
Schema
modelswarehouse.FileModel[]required
Show child parameters
formatstring
namestringrequired
patternstring
prefixstring
property_mapobject
spendobjectrequired
Show child parameters
ad_groupstring
campaignstring
campaign_idstring
channelstring
clicksstring
currencystring
datestringrequired
impressionsstring
spendstringrequired
default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

PUThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/file-modelsScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
modelswarehouse.FileModel[]required
Show child parameters
formatstring
namestringrequired
patternstring
prefixstring
property_mapobject
spendobjectrequired
Show child parameters
ad_groupstring
campaignstring
campaign_idstring
channelstring
clicksstring
currencystring
datestringrequired
impressionsstring
spendstringrequired
{
  "models": [
    {
      "format": "string",
      "name": "string",
      "pattern": "string",
      "prefix": "string",
      "property_map": {},
      "spend": {
        "ad_group": "string",
        "campaign": "string",
        "campaign_id": "string",
        "channel": "string",
        "clicks": "string",
        "currency": "string",
        "date": "string",
        "impressions": "string",
        "spend": "string"
      }
    }
  ]
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/projects/{project_id}/connectors/{id}/file-models" \
  -H "Content-Type: application/json" \
  -d '{"models":[{"format":"string","name":"string","pattern":"string","prefix":"string","property_map":{},"spend":{"ad_group":"string","campaign":"string","campaign_id":"string","channel":"string","clicks":"string","currency":"string","date":"string","impressions":"string","spend":"string"}}]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/github/installScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Request body

application/json
return_tostring
{
  "return_to": "string"
}

Code samples

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

Responses

200 OK
Example
{
  "url": "string"
}
Schema
urlstringrequired
default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

GEThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/live-checkScope connector:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 OK
Example
{
  "connector_id": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "duration_ms": 0,
  "id": "string",
  "ok": true,
  "steps": [
    {
      "detail": "string",
      "ms": 0,
      "name": "string",
      "status": "string"
    }
  ],
  "verified_at": "2024-01-01T00:00:00Z",
  "wrote": true
}
Schema
connector_idstringrequired
created_atstringrequired
duration_msintegerrequired
idstringrequired
okbooleanrequired
stepslivecheck.Step[]required
Show child parameters
detailstring
msintegerrequired
namestringrequired
statusstringrequired
verified_atstring
wrotebooleanrequired
default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

POSThttps://lucidace.com/v1/projects/{project_id}/connectors/{id}/live-checkScope connector:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

default Problem details (RFC 9457)

Same as default · GET /v1/projects/{project_id}/connectors/{id}/drift

Updated