Answers "is my data flowing correctly?" Two read-only modes: a unified health report across streams, jobs, schema, and event quota, and a stream inspector for listing streams, their stats, and recent events. Nothing here writes to the account.
Before you start
- Credentials:
references/auth.md(LYTICS_API_TOKEN, optionalLYTICS_API_URL). - Calling conventions, the
/v2vs/apiresponse shapes, and status-code handling:references/api.md. - Every endpoint in this skill is a GET; run them without asking. If the user then wants a fix (bounce a job, mark an identifier), hand off to the owning skill, whose writes go through
references/confirmation-gate.md.
Gotchas
- An old job
updatedis not a stuck job.updatedis when the job's config was last edited; every healthy long-running job looks stale by it. Judge progress by the timestamp of the job's most recent log event (GET /v2/job/{id}/logs). Never recommend bouncing a job on staleness alone. - Job status values are
running,initializing,sleeping,paused,pausing,fault-N(prefixfault: erroring or backing off after N errors),failed,completed,deleted,deleting. A v2 kill is a delete, so killed jobs show asdeleted/deleting. GET /v2/jobhides only completed and killed (deleted) jobs by default --failedandfault-Njobs are already in it. Add?show_completed=truefor completed ones,?show_all=truefor killed ones.- Field freshness is per-field
last_seenonGET /api/schema/_streams, not the schema field'smodified, which is when its definition was last edited. - One failed check must not block the report: report the error for that dimension and continue with the others.
Modes
Read the mode file before acting in that mode.
| Mode | When | File |
|---|---|---|
| health-check | "Is my data healthy?", system status, overview of streams/jobs/schema/quota, quota usage, trends | health-check.md |
| streams | List streams, stream stats or fields, browse recent events, "what does the data look like?", "is my integration sending data?" | streams.md |
If the user asks about one area (streams, jobs, schema), focus on it in health-check but still show a summary of the others.
Related skills
lytics-integrations: faulted/failed jobs, job logs in depth, bouncing or reconfiguring a job, checking the source connection behind a dead stream; or an outbound export that isn't delivering (its export-debug mode), as opposed to inbound data.lytics-schema: identity-field changes, low-coverage or stale fields, mapping fixes.lytics-profiles: "why isn't this profile updating?" for a specific person, after confirming the stream is receiving data.lytics-audiences: segment-size questions beyond the trend in the metrics deep dive.