Developer documentation
Send your first event
Connect through HTTP, validate the receipt, and find your evidence.
Logmast accepts structured events over HTTP. You do not need to install a host agent, collector, or SDK. The optional Rust SDK adds batching, gzip, and bounded background delivery.
Create a service
Create a workspace through human signup or the CLI. Complete the email ownership handoff. In the console sidebar, open a project, then open an existing service and choose Get a credential, or choose Add service on the project page.
Store the service ID and ingest credential in your application’s secret manager. Downloaded credentials contain secrets: keep them private, out of version control, prompts, and diagnostics. Rotating a service credential revokes its current credentials immediately; update every producer.
Prepare one batch
Generate and persist fresh batch and occurrence UUIDs before sending. Set timestamp to the current RFC 3339 time. Keep the entire request unchanged after an uncertain response. This example illustrates the shape; replace the identities and timestamp before using it.
{
"batch_id": "019a14a0-0000-7000-8000-000000000001",
"service_id": "019a14a0-0000-7000-8000-000000000002",
"events": [{
"occurrence_id": "019a14a0-0000-7000-8000-000000000003",
"timestamp": "2026-10-06T12:00:00Z",
"environment": "production",
"severity": "error",
"outcome": "failed",
"message": "Invoice persistence failed",
"code": "BILLING.INVOICE.PERSIST_FAILED",
"release": "2026.10.06",
"correlation_ids": ["example-operation"]
}]
}
Put the authorization header in a private curl configuration file, provisioned by your secret manager. Its format is header = "Authorization: Bearer <ingest-secret>"; the directory must be private and the file mode 0600. Do not place a real secret in shell history or a pasted command.
curl --fail-with-body --config /private/logmast/ingest.curl \
-H 'Content-Type: application/json' \
--data-binary @batch.json \
https://app.logmast.com/api/v1/ingest/batches
Validate the acknowledgment
An accepted request returns a non-nil receipt ID and counts whose sum equals the number of submitted events. An empty HTTP 2xx response is not an acknowledgment.
{
"receipt_id": "019a14a0-0000-7000-8000-000000000004",
"new_events": 1,
"duplicates": 0
}
Acknowledgment follows synchronous WAL commit. It does not mean the grouping worker processed the receipt or an email arrived. Use a read credential or your browser session to inspect the exact occurrence; an ingest credential cannot read evidence.
Verify and investigate
Open All failures, filter by the service and environment, and find the occurrence. Follow the verification guide to distinguish API proof from application instrumentation and email delivery. Add an email rule on the Notifications page and inspect the delivery result in its delivery log.
Next, add one heartbeat or completion check for an important service. Silence in the error stream does not establish availability.