Skip to content
getgeolens.com

Get Column Ddl Feed

GET
/audit/datasets/{dataset_id}/column-ddl
curl --request GET \
--url 'https://example.com/audit/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/column-ddl?limit=50&skip=0' \
--header 'Authorization: Bearer <token>'

Return the column-DDL audit history for a dataset.

Surfaces the column-DDL events to dataset owners so they can detect editor-initiated schema changes.

Owners and administrators can read the feed. Other authenticated users receive 404, including readers of a public dataset, because the entries identify editors. Anonymous callers receive 401.

The dataset 404-before-auth-query ordering ensures non-existent datasets return 404 without leaking audit log details.

dataset_id
required
Dataset Id
string format: uuid
limit
Limit
integer
default: 50 >= 1 <= 200
skip
Skip

Number of audit entries to skip.

integer
0

Number of audit entries to skip.

offset
deprecated
Any of:
integer

Deprecated alias for skip; takes precedence when supplied.

Successful Response

Media type application/json
ColumnDdlFeedResponse

Paginated response for GET /api/audit/datasets/{dataset_id}/column-ddl.

object
items
required
Items
Array<object>
ColumnDdlEntry

A single column-DDL audit event for the owner-facing feed endpoint.

Omits PII beyond the actor’s username (no email or sensitive details). Mirrors AuditLogResponse shape, scoped to column-DDL events only.

object
action
required
Action
string
created_at
required
Created At
string format: date-time
details
required
Any of:
object
key
additional properties
any
user_id
required
Any of:
string format: uuid
username
Any of:
string
total
required
Total
integer
limit
required
Limit
integer
offset
required
Offset
integer
Example generated
{
"items": [
{
"action": "example",
"created_at": "2026-04-15T12:00:00Z",
"details": {},
"user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"username": "example"
}
],
"total": 1,
"limit": 1,
"offset": 1
}

Bad request — invalid query parameters or payload

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Unauthorized — missing or invalid credentials

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Forbidden — caller lacks access to this resource

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Not found

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Validation error

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Too many requests — retry after the advertised interval

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}
Retry-After
integer

Seconds until the request may be retried

Internal server error

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Service unavailable — the database could not serve the request

Media type application/problem+json
ProblemDetail
object
type
Type
string
default: about:blank
title
required
Title
string
status
required
Status
integer
detail
required
Any of:
string
Example
{
"detail": "Dataset not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}