ingestion
DELETE
https://lucidace.com /v1/projects/{project_id}/proxy-domains/{id} Scope settings:writeParameters
project_idstringpathrequiredidstringpathrequiredCode 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
GET
https://lucidace.com /v1/projects/{project_id}/proxy-records Scope settings:readParameters
project_idstringpathrequiredlimitintegerquerycursorstringqueryCode 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[]requiredShow child parameters
cname_okbooleanLast CNAME check (null = not checked yet or no target).
cname_targetstringrequiredHost the domain must CNAME to (
LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.created_atstringrequireddomainstringrequiredhas_secretbooleanrequiredA proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequiredlast_checked_atstringlast_errorstringrequiredpath_prefixstringrequiredlc-proxy
LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.statusstringrequiredpending (TXT not seen yet) | live | unreachable (verified, but the status check failed)tls_okbooleanLast TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequiredValue of the
_lucida-proxy.<domain> TXT record that proves ownership.verified_atstringnext_cursorstring404
POST
https://lucidace.com /v1/projects/{project_id}/proxy-records Scope settings:writeParameters
project_idstringpathrequiredRequest body
application/json
domainstringrequiredHost name the proxy is served on, e.g.
t.example.com.path_prefixstringlc-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_okbooleanLast CNAME check (null = not checked yet or no target).
cname_targetstringrequiredHost the domain must CNAME to (
LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.created_atstringrequireddomainstringrequiredhas_secretbooleanrequiredA proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequiredlast_checked_atstringlast_errorstringrequiredpath_prefixstringrequiredlc-proxy
LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.statusstringrequiredpending (TXT not seen yet) | live | unreachable (verified, but the status check failed)tls_okbooleanLast TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequiredValue of the
_lucida-proxy.<domain> TXT record that proves ownership.verified_atstringproxy_secretstringrequiredSend 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
DELETE
https://lucidace.com /v1/projects/{project_id}/proxy-records/{id} Scope settings:writeParameters
project_idstringpathrequiredidstringpathrequiredCode 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
POST
https://lucidace.com /v1/projects/{project_id}/proxy-records/{id}/check Scope settings:writeParameters
project_idstringpathrequiredidstringpathrequiredCode 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_okbooleanLast CNAME check (null = not checked yet or no target).
cname_targetstringrequiredHost the domain must CNAME to (
LC_PROXY_CNAME_TARGET when the record was made); empty = not checked.created_atstringrequireddomainstringrequiredhas_secretbooleanrequiredA proxy secret is set (its hash is never returned); without one the record is not trusted for client IPs.
idstringrequiredlast_checked_atstringlast_errorstringrequiredpath_prefixstringrequiredlc-proxy
LC_PROXY_PREFIX, e.g. /lc; empty = served at the root.statusstringrequiredpending (TXT not seen yet) | live | unreachable (verified, but the status check failed)tls_okbooleanLast TLS check: the domain answered over HTTPS with a valid certificate (null = not reached yet).
tokenstringrequiredValue of the
_lucida-proxy.<domain> TXT record that proves ownership.verified_atstring403
404
409
POST
https://lucidace.com /v1/projects/{project_id}/proxy-records/{id}/secret Scope settings:writeMake 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_idstringpathrequiredidstringpathrequiredCode 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)403
404
Updated