Getting Started
Send your first log to ScryWatch and see it appear in the Log Explorer in under 5 minutes.
What you’ll need
- A ScryWatch account (sign up free)
curlor any HTTP client
Step 1: Create a project
- Log in to the dashboard.
- In the left sidebar, click + New Project (or use the project picker at the top).
- Give your project a name (e.g.
my-api) and click Create.
You’ll land on the project overview. Keep this tab open.
Step 2: Generate an API key
- In the left sidebar, click Settings.
- Scroll to API Keys and click Create API Key.
- Give the key a label (e.g.
local-dev) and click Create. - Copy the key — it won’t be shown again.
Note: Each API key is scoped to a single project. If you have multiple projects, generate a separate key for each.
Step 3: Send your first log
Paste this into your terminal, replacing <your-api-key> with the key you just copied:
curl -X POST https://api.scrywatch.com/api/ingest \
-H "Authorization: Bearer <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"events": [{
"timestamp": '"$(date +%s000)"',
"level": "info",
"type": "custom",
"message": "Hello from ScryWatch!"
}]
}'
You should see a 202 response:
{ "accepted_count": 1, "ingest_batch_id": "..." }
Step 4: See it in Log Explorer
- Go back to the dashboard and click Log Explorer in the left sidebar.
- Your event should appear within 2–3 seconds.
- Click the row to open the log detail panel on the right.
Tip: If the event doesn’t appear after 10 seconds, check that your API key belongs to the same project you’re viewing.
You’re done
You’ve sent your first log and confirmed it arrived. From here:
- Add more fields to your events (
service,environment,metadata) - Explore the Patterns page to see your log grouped by message shape
- Set up an Alert to get notified when errors spike
Related docs
See the full ingest API reference — request body schema, batch limits, metadata fields, and response codes.