public-api
public-schema

Create Schema Baseline

Create a schema baseline for drift detection.

Captures the current schema as the baseline. Any future schema changes will be compared against this baseline.

SDK Usage:

from anomalyarmor import Client
client = Client()
baseline = client.schema.create_baseline(
    asset_id="my-asset-uuid",
    description="Initial production baseline",
)
print(f"Captured {baseline.table_count} tables")
post/api/v1/sdk/schema/{asset_id}/baseline

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/sdk/schema/{asset_id}/baseline
  • Auth: none declared

Path parameters

asset_idstring required

Headers

Authorizationstring

Request body

descriptionstring nullable

Optional description for the baseline

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.