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>
DELETEhttps://lucidace.com/v1/projects/{project_id}/proxy-domains/{id}Scope settings:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

204
404
502
GEThttps://lucidace.com/v1/projects/{project_id}/proxy-recordsScope settings:read

Parameters

project_idstringpathrequired
limitintegerquery
cursorstringquery

Code samples

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

Responses

200 Newest first
Example
{
  "data": [
    {
      "cname_ok": true,
      "cname_target": "string",
      "created_at": "2024-01-01T00:00:00Z",
      "domain": "string",
      "has_secret": true,
      "id": "string",
      "last_checked_at": "2024-01-01T00:00:00Z",
      "last_error": "string",
      "path_prefix": "string",
      "status": "string",
      "tls_ok": true,
      "token": "string",
      "verified_at": "2024-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
cname_okboolean
Last CNAME check (null = not checked yet or no target).
cname_targetstringrequired
Host the domain must CNAME to (LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.
created_atstringrequired
domainstringrequired
has_secretbooleanrequired
A proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequired
last_checked_atstring
last_errorstringrequired
path_prefixstringrequired
lc-proxy LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.
statusstringrequired
pending (TXT not seen yet) | live | unreachable (verified, but the status check failed)
tls_okboolean
Last TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequired
Value of the _lucida-proxy.<domain> TXT record that proves ownership.
verified_atstring
next_cursorstring
404
POSThttps://lucidace.com/v1/projects/{project_id}/proxy-recordsScope settings:write

Parameters

project_idstringpathrequired

Request body

application/json
domainstringrequired
Host name the proxy is served on, e.g. t.example.com.
path_prefixstring
lc-proxy LC_PROXY_PREFIX (/lc); empty = the root.
{
  "domain": "string",
  "path_prefix": "string"
}

Code samples

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

Responses

201 The record, with its proxy_secret (shown once)
Example
{
  "cname_ok": true,
  "cname_target": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "domain": "string",
  "has_secret": true,
  "id": "string",
  "last_checked_at": "2024-01-01T00:00:00Z",
  "last_error": "string",
  "path_prefix": "string",
  "status": "string",
  "tls_ok": true,
  "token": "string",
  "verified_at": "2024-01-01T00:00:00Z",
  "proxy_secret": "string"
}
Schema
cname_okboolean
Last CNAME check (null = not checked yet or no target).
cname_targetstringrequired
Host the domain must CNAME to (LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.
created_atstringrequired
domainstringrequired
has_secretbooleanrequired
A proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequired
last_checked_atstring
last_errorstringrequired
path_prefixstringrequired
lc-proxy LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.
statusstringrequired
pending (TXT not seen yet) | live | unreachable (verified, but the status check failed)
tls_okboolean
Last TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequired
Value of the _lucida-proxy.<domain> TXT record that proves ownership.
verified_atstring
proxy_secretstringrequired
Send as X-Lucida-Proxy-Secret from your proxy (lc-proxy: LC_PROXY_SECRET) so the gateway trusts the visitor address it forwards. Shown once; stored as a SHA-256 hash.
400
403
404
409
DELETEhttps://lucidace.com/v1/projects/{project_id}/proxy-records/{id}Scope settings:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

204
403
404
POSThttps://lucidace.com/v1/projects/{project_id}/proxy-records/{id}/checkScope settings:write

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 The record with this check's outcome
Example
{
  "cname_ok": true,
  "cname_target": "string",
  "created_at": "2024-01-01T00:00:00Z",
  "domain": "string",
  "has_secret": true,
  "id": "string",
  "last_checked_at": "2024-01-01T00:00:00Z",
  "last_error": "string",
  "path_prefix": "string",
  "status": "string",
  "tls_ok": true,
  "token": "string",
  "verified_at": "2024-01-01T00:00:00Z"
}
Schema
cname_okboolean
Last CNAME check (null = not checked yet or no target).
cname_targetstringrequired
Host the domain must CNAME to (LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.
created_atstringrequired
domainstringrequired
has_secretbooleanrequired
A proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequired
last_checked_atstring
last_errorstringrequired
path_prefixstringrequired
lc-proxy LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.
statusstringrequired
pending (TXT not seen yet) | live | unreachable (verified, but the status check failed)
tls_okboolean
Last TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequired
Value of the _lucida-proxy.<domain> TXT record that proves ownership.
verified_atstring
403
404
409
POSThttps://lucidace.com/v1/projects/{project_id}/proxy-records/{id}/secretScope settings:write

Make a new proxy secret for the record (records made before secrets existed have none); the old one stops working. The secret is shown once.

Parameters

project_idstringpathrequired
idstringpathrequired

Code samples

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

Responses

200 The record, with its new proxy_secret (shown once)

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

403
404
Updated