Discover Tables
const url = 'https://example.com/ingest/discover/?limit=1000';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/ingest/discover/?limit=1000' \ --header 'Authorization: Bearer <token>'Discover unregistered tables in the data schema.
Returns tables not yet in the catalog, excluding staging, old, and
system tables. Includes geometry type, SRID, and estimated row count.
Bounded by limit (default 1000, max 5000) so instances with
thousands of orphan tables don’t blow up the response payload.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Maximum number of tables to return (PERF-11 bound).
Maximum number of tables to return (PERF-11 bound).
Responses
Section titled “ Responses ”Successful Response
object
Tables in the data schema that are eligible for registration as datasets.
Example generated
{ "tables": [ { "estimated_rows": 1, "geometry_type": "example", "srid": 1, "table_name": "example" } ]}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request