ingestion

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-ingestion"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/3e1f9245-5744-4c41-afc9-bfc00d9ac7fc/social-card.svg?v=3e7ae33eec8b" alt="ingestion" width="600" height="315"></a>
GEThttps://lucidace.com/v1/projects/{project_id}/data-quality/pii-scanScope admin

Scans a sample of recent events for emails, card numbers and phone numbers in property values.

Parameters

project_idstringpathrequired
fromstringquery
tostringquery
sampleintegerquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/projects/{project_id}/data-quality/pii-scan"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "findings": [
    {
      "event": "string",
      "events_scanned": 0,
      "kind": "string",
      "matches": 0,
      "property": "string",
      "suggestion": {
        "action": "string",
        "via": "string"
      }
    }
  ],
  "scanned_events": 0
}
Schema
findingsPiiFinding[]required
Show child parameters
eventstringrequired
events_scannedintegerrequired
Sampled events of this name.
kindstringrequired
email | card | phone
matchesintegerrequired
propertystringrequired
Dotted property path; array items are [].
suggestionobjectrequired
Show child parameters
actionstringrequired
mask | drop
viastringrequired
transformation | tracking_plan
scanned_eventsintegerrequired
400
403
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/ingestion/dlqScope settings:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery
include_dismissedbooleanquery
sourcestringquery

Code samples

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

Responses

200 Page of DlqMessage, newest first from the DLQ store (source=topic: topic order, decodable envelopes only); dismissed ones only with include_dismissed (a page can be short)
Example
{
  "data": [
    {
      "decodable": true,
      "dismissed": true,
      "distinct_id": "string",
      "event": "string",
      "event_uuid": "string",
      "id": "string",
      "reason": "string",
      "received_at": "string",
      "replayed": true,
      "size_bytes": 0
    }
  ],
  "next_cursor": "string"
}
Schema
dataDlqMessage[]required
Show child parameters
decodablebooleanrequired
False when the envelope could not be decoded (only its project was readable).
dismissedbooleanrequired
Only with include_dismissed=true.
distinct_idstringrequired
eventstringrequired
event_uuidstring
idstringrequired
s<id> (store) or <partition>:<offset> (topic scan); pass to the replay endpoint.
reasonstringrequired
received_atstringrequired
replayedbooleanrequired
size_bytesintegerrequired
next_cursorstring
404
502
503
POSThttps://lucidace.com/v1/projects/{project_id}/ingestion/dlq/dismissScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
idsstring[]required
Message ids from the browse endpoint (at most 500).
{
  "ids": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/ingestion/dlq/dismiss" \
  -H "Content-Type: application/json" \
  -d '{"ids":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "dismissed": 0
}
Schema
dismissedintegerrequired
400
403
404
POSThttps://lucidace.com/v1/projects/{project_id}/ingestion/dlq/replayScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
idsstring[]required
Message ids from the browse endpoint (at most 500).
{
  "ids": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/projects/{project_id}/ingestion/dlq/replay" \
  -H "Content-Type: application/json" \
  -d '{"ids":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "replayed": 0,
  "skipped": [
    {
      "id": "string",
      "reason": "string"
    }
  ]
}
Schema
replayedintegerrequired
skippedSkipped[]required
Show child parameters
idstringrequired
reasonstringrequired
400
403
404
502
503
GEThttps://lucidace.com/v1/projects/{project_id}/ingestion/warningsScope settings:read

Parameters

project_idstringpathrequired
kindstringquery
outcomestringquery
eventstringquery
fromstringquery
tostringquery
limitintegerquery
cursorstringquery

Code samples

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

Responses

200 Page of IngestionWarning, newest first; retained 30 days
Example
{
  "data": [
    {
      "detail": "string",
      "distinct_id": "string",
      "event": "string",
      "event_uuid": "string",
      "kind": "string",
      "outcome": "string",
      "ts": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataIngestionWarning[]required
Show child parameters
detailstringrequired
distinct_idstringrequired
eventstringrequired
event_uuidstringrequired
kindstringrequired
validation | size | clock_skew | tracking_plan | transformation | merge_refusal | overflow | replay_chunk | heatmap_payload
outcomestringrequired
kept | dropped | dlq
tsstringrequired
next_cursorstring
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/ingestion/warnings/summaryScope settings:read

Parameters

project_idstringpathrequired
kindstringquery
outcomestringquery
eventstringquery
fromstringquery
tostringquery

Code samples

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

Responses

200 Counts by kind and outcome (default window: the last 24 hours)
Example
[
  {
    "count": 0,
    "kind": "string",
    "outcome": "string"
  }
]
Schema
countintegerrequired
kindstringrequired
outcomestringrequired
404
503
GEThttps://lucidace.com/v1/projects/{project_id}/proxy-domainsScope settings:read

Parameters

project_idstringpathrequired

Code samples

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

Responses

200 Newest first
Example
[
  {
    "cname_target": "string",
    "created_at": "2024-01-01T00:00:00Z",
    "hostname": "string",
    "id": "string",
    "ssl_status": "string",
    "status": "string",
    "verification": [
      {
        "kind": "string",
        "name": "string",
        "value": "string"
      }
    ]
  }
]
Schema
cname_targetstringrequired
Host to point a CNAME at.
created_atstringrequired
hostnamestringrequired
idstringrequired
ssl_statusstringrequired
Certificate status (pending_validation, active, ...).
statusstringrequired
Custom hostname status at the edge (pending, active, ...).
verificationProof[]required
DNS records still to add (empty once active).
Show child parameters
kindstringrequired
txt or http.
namestringrequired
valuestringrequired
404
POSThttps://lucidace.com/v1/projects/{project_id}/proxy-domainsScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
hostnamestringrequired
Host name to serve capture on, e.g. t.example.com.
{
  "hostname": "string"
}

Code samples

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

Responses

201
Example
{
  "cname_target": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "hostname": "string",
  "id": "string",
  "ssl_status": "string",
  "status": "string",
  "verification": [
    {
      "kind": "string",
      "name": "string",
      "value": "string"
    }
  ]
}
Schema
cname_targetstringrequired
Host to point a CNAME at.
created_atstringrequired
hostnamestringrequired
idstringrequired
ssl_statusstringrequired
Certificate status (pending_validation, active, ...).
statusstringrequired
Custom hostname status at the edge (pending, active, ...).
verificationProof[]required
DNS records still to add (empty once active).
Show child parameters
kindstringrequired
txt or http.
namestringrequired
valuestringrequired
400
404
409
502
GEThttps://lucidace.com/v1/projects/{project_id}/proxy-domains/{id}Scope settings:read

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 Status refreshed from the edge

Same as 201 · POST /v1/projects/{project_id}/proxy-domains

404
502

Updated