getting-started

Getting Started

Send your first log to ScryWatch and see it appear in the Log Explorer in under 5 minutes.

Getting Started

Send your first log to ScryWatch and see it appear in the Log Explorer in under 5 minutes.

What you’ll need

Step 1: Create a project

  1. Log in to the dashboard.
  2. In the left sidebar, click + New Project (or use the project picker at the top).
  3. 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

  1. In the left sidebar, click Settings.
  2. Scroll to API Keys and click Create API Key.
  3. Give the key a label (e.g. local-dev) and click Create.
  4. 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

  1. Go back to the dashboard and click Log Explorer in the left sidebar.
  2. Your event should appear within 2–3 seconds.
  3. 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:

See the full ingest API reference — request body schema, batch limits, metadata fields, and response codes.

API Reference

Want the full API spec for this feature?

View in Docs →
← All guides