Discover Tables
GET
/ingest/discover/
const url = 'https://example.com/api/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/api/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 ” limit
Limit
Maximum number of tables to return (PERF-11 bound).
integer
Maximum number of tables to return (PERF-11 bound).
Responses
Section titled “ Responses ”Successful Response
Media type application/json
DiscoverResponse
object
tables
required
Tables
Tables in the data schema that are eligible for registration as datasets.
Array<object>
DiscoveredTable Example generated
{ "tables": [ { "table_name": "example", "geometry_type": "example", "srid": 1, "estimated_rows": 1 } ]}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}