Documentation Index
Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
Use this file to discover all available pages before exploring further.
The Cloudflare plugin syncs data locally. Use corsair.cloudflare.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.
Dns Records
Path: cloudflare.db.dnsRecords.search
const rows = await corsair.cloudflare.db.dnsRecords.search({
data: { /* filters below */ },
limit: 100,
offset: 0,
});
Searchable filters
| Field | Type | Operators |
|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
zone_id | string | equals, contains, startsWith, endsWith, in |
zone_name | string | equals, contains, startsWith, endsWith, in |
type | string | equals, contains, startsWith, endsWith, in |
name | string | equals, contains, startsWith, endsWith, in |
content | string | equals, contains, startsWith, endsWith, in |
proxiable | boolean | equals |
proxied | boolean | equals |
ttl | number | equals, gt, gte, lt, lte, in |
priority | number | equals, gt, gte, lt, lte, in |
locked | boolean | equals |
created_on | date | equals, before, after, between |
modified_on | date | equals, before, after, between |
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.
Rulesets
Path: cloudflare.db.rulesets.search
const rows = await corsair.cloudflare.db.rulesets.search({
data: { /* filters below */ },
limit: 100,
offset: 0,
});
Searchable filters
| Field | Type | Operators |
|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
zone_id | string | equals, contains, startsWith, endsWith, in |
name | string | equals, contains, startsWith, endsWith, in |
description | string | equals, contains, startsWith, endsWith, in |
kind | string | equals, contains, startsWith, endsWith, in |
version | string | equals, contains, startsWith, endsWith, in |
last_updated | date | equals, before, after, between |
phase | string | equals, contains, startsWith, endsWith, in |
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.
Worker Routes
Path: cloudflare.db.workerRoutes.search
const rows = await corsair.cloudflare.db.workerRoutes.search({
data: { /* filters below */ },
limit: 100,
offset: 0,
});
Searchable filters
| Field | Type | Operators |
|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
zone_id | string | equals, contains, startsWith, endsWith, in |
pattern | string | equals, contains, startsWith, endsWith, in |
script | string | equals, contains, startsWith, endsWith, in |
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.
Worker Scripts
Path: cloudflare.db.workerScripts.search
const rows = await corsair.cloudflare.db.workerScripts.search({
data: { /* filters below */ },
limit: 100,
offset: 0,
});
Searchable filters
| Field | Type | Operators |
|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
account_id | string | equals, contains, startsWith, endsWith, in |
created_on | date | equals, before, after, between |
modified_on | date | equals, before, after, between |
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.
Zones
Path: cloudflare.db.zones.search
const rows = await corsair.cloudflare.db.zones.search({
data: { /* filters below */ },
limit: 100,
offset: 0,
});
Searchable filters
| Field | Type | Operators |
|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
name | string | equals, contains, startsWith, endsWith, in |
status | string | equals, contains, startsWith, endsWith, in |
paused | boolean | equals |
type | string | equals, contains, startsWith, endsWith, in |
created_on | date | equals, before, after, between |
modified_on | date | equals, before, after, between |
activated_on | date | equals, before, after, between |
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.