freshness

Stream Freshness Events

Stream freshness update events via Server-Sent Events.

Provides real-time updates when freshness checks complete. Authentication via query parameter (EventSource doesn't support headers).

Event format: { "event": "freshness_updated", "data": { "asset_id": "uuid", "table_path": "schema.table", "data_freshness": "ready|not_ready|error", "timestamp": "ISO8601", "last_updated": "ISO8601" } }

Args: request: FastAPI request object asset_id: Asset UUID to monitor freshness updates for token: Authentication token (JWT) session: Database session

Returns: EventSourceResponse with freshness update events

get/api/v1/assets/{asset_id}/freshness/stream

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/assets/{asset_id}/freshness/stream
  • Auth: none declared

Path parameters

asset_idstring uuid required

Query parameters

tokenstring required

Authentication token (JWT)

Response

Successful Response

unknown required

Changes

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