Events show up as timeline markers in Costory. You can filter by source, category, and labels to explain cost changes in seconds.

Supported event sources
GitHub deploys
Pull request merges, releases, and deployment metadata.
CI/CD pipelines
Post build and deploy events directly from your pipelines.
Custom API events
Send any event that explains spend via the Events API.
Provider events
AWS live; Azure and GCP on the roadmap.
How events work in Costory
- Connect a source (GitHub, CI/CD, or API).
- Categorize events as BUSINESS, TECHNICAL, or PROVIDER.
- Overlay events on cost charts for fast in the Cost Explorer.
- Share context in saved views and Slack reports.
Event categories
Costory groups events into three categories so you can filter consistently across teams:| Category | What it represents | Examples |
|---|---|---|
| BUSINESS | Go-to-market or product events | Launches, pricing changes, marketing campaigns |
| TECHNICAL | Engineering and infrastructure changes | Deploys, incidents, migrations, CI/CD runs |
| PROVIDER | Cloud provider and billing changes | purchases, activations, price changes |
Connect GitHub events
Use the GitHub integration to capture deploys, PR merges, and releases.Connect GitHub
Click Connect GitHub to start the OAuth flow, then authorize the Costory GitHub App for the organization or repositories you want to track.
If your organization uses GitHub Enterprise, confirm that outbound webhooks can reach Costory and that the GitHub App is allowed by your org policy.
Example: curl from a CI / CD pipeline
Recommended event fields
| Field | Required | Description |
|---|---|---|
name | Yes | Event title shown in the timeline. |
timestamp | Yes | ISO-8601 UTC timestamp for the event. |
category | Yes | BUSINESS, TECHNICAL, or PROVIDER. |
source | Yes | A short identifier like custom, ci-cd, or github. |
environment | No | prod, staging, or another environment label. |
service | No | Service or application name. |
labels | No | Reusable tags for filtering in Costory. |
metadata | No | JSON object with URLs, commit SHAs, or context. |
Example: Python
For the latest auth headers and endpoint versions, see the Events API docs.
Provider events
Provider events are generated automatically once your cloud billing data is connected. Costory currently supports AWS provider events.Commitment lifecycle
Track and purchases and expirations.
Marketplace renewals
See when third-party subscriptions renew or change.
SKU price changes
Track cloud provider pricing updates over time.
Frequently asked questions
How fast do events appear in Costory?
How fast do events appear in Costory?
GitHub and provider events typically appear within minutes. API events appear as soon as they are accepted by the Events API.
Can I backfill historical events?
Can I backfill historical events?
Yes. Post events with historical timestamps and Costory will place them on the correct date in your cost timeline.
Do events change my cost data?
Do events change my cost data?
No. Events are metadata overlays only. They help explain costs but do not modify billing data.
Can I filter or export events?
Can I filter or export events?
Yes. Use category, label, source, and environment filters in the Events page and in Cost Explorer views.
