Loading the SEAM console
The SEAM API is a REST API on https://seam.interspacemusic.com. Send a track, then read its verdict back.
status is done or failed. Most scans finish in a few seconds.export SEAM_KEY="seam_sk_your_key_here"Send your key as a Bearer token on every request.
Authorization: Bearer $SEAM_KEYA missing, wrong or revoked key gets 401 invalid_key. Keep keys on your own servers. Never put one in a web page or an app people can download.
POST /v1/scans as multipart/form-data. file is required. reference and uploader are optional.
curl -s https://seam.interspacemusic.com/v1/scans \
-H "Authorization: Bearer $SEAM_KEY" \
-F file=@track.wav -F reference=REL-2231/1 -F uploader=artist-881SEAM answers 202 with the scan object. Its status starts as queued. This one request is the simplest way to send a file. For big files, use a direct upload.
The recommended way to send big files. Your file goes straight to an upload link instead of through SEAM's API, so it travels faster and a dropped connection costs less. It takes three requests.
POST /v1/uploads with the file's name and size in bytes, and optionally bucket, reference and uploader. SEAM answers 201 with an upload link.url, with its method and exactly its headers. Send no Authorization header there. Any 2xx answer means the file is stored.POST /v1/uploads/{id}/complete, with no body. SEAM answers 202 with the scan object, status queued, and a Location header for it. Asking again answers 200 with the same scan, so a retry is safe.curl -s https://seam.interspacemusic.com/v1/uploads \
-H "Authorization: Bearer $SEAM_KEY" -H "Content-Type: application/json" \
-d '{"filename": "track.wav", "size": 48211022, "bucket": "bkt_3f9a1c2e7b8d4a60", "reference": "REL-2231/1"}'{
"id": "upl_5b2e9d1c7a3f4e80",
"url": "<upload url>",
"method": "PUT",
"headers": {"Content-Type": "application/octet-stream"},
"expires_at": "2026-11-03T10:14:01Z"
}curl -s -X PUT "<upload url>" \
-H "Content-Type: application/octet-stream" \
-T track.wavcurl -s -X POST https://seam.interspacemusic.com/v1/uploads/upl_5b2e9d1c7a3f4e80/complete \
-H "Authorization: Bearer $SEAM_KEY"POST /v1/scans. Up to 50 uploads can be open at once.410 upload_expired, the link ran out first. Start again from step 1.queued a few seconds longer than with POST /v1/scans. A file that never reached the link, is over 100 MB or isn't audio ends as a failed scan with upload_missing, too_large or not_audio. If SEAM can't collect the file at all, the scan fails with scan_failed. After upload_missing or scan_failed, send the file again with a new link.GET /v1/scans/{id} returns the scan object. Check it every few seconds until status is done or failed.
curl -s https://seam.interspacemusic.com/v1/scans/scn_8f3a2e9c1b7d4a6f \
-H "Authorization: Bearer $SEAM_KEY"The same loop in JavaScript, on a server:
const SEAM = 'https://seam.interspacemusic.com';
const headers = { Authorization: `Bearer ${process.env.SEAM_KEY}` };
async function waitForVerdict(id) {
for (;;) {
const res = await fetch(`${SEAM}/v1/scans/${id}`, { headers });
const body = await res.json();
if (!res.ok) throw new Error(body.error.message);
if (body.status === 'done' || body.status === 'failed') return body;
await new Promise((r) => setTimeout(r, 3000));
}
}GET /v1/scans returns your scans, newest first. limit is 1 to 100 and 25 by default. For the next page, send before with the next_before you got back. When next_before is null, there are no more.
curl -s "https://seam.interspacemusic.com/v1/scans?limit=25&before=scn_8f3a2e9c1b7d4a6f" \
-H "Authorization: Bearer $SEAM_KEY"{
"data": [
{"id": "scn_8f3a2e9c1b7d4a6f", "status": "done", "verdict": "likely_ai", "ai_likelihood": 0.97},
{"id": "scn_4c7e2b8d5a1f3c6e", "status": "scanning", "verdict": null, "ai_likelihood": null}
],
"next_before": "scn_4c7e2b8d5a1f3c6e"
}Each item in data is a full scan object, shortened here. Send next_before as before to get the next page.
All optional, and they combine. A value SEAM can't read gets 422 invalid_field, naming the parameter.
bkt_3f9a1c2e7b8d4a60.likely_ai, likely_human, failed or in_progress.YYYY-MM-DD, in UTC, both included, on created_at.curl -s "https://seam.interspacemusic.com/v1/scans?bucket=bkt_3f9a1c2e7b8d4a60&verdict=likely_ai&from=2026-10-01&to=2026-10-31" \
-H "Authorization: Bearer $SEAM_KEY"A bucket is a named folder of scans. Make one for each catalogue, client, label or intake, and send tracks into it. Each bucket has its own verdicts, stats, keys and webhook in the console.
bucket goes there, or into the key's own bucket when the key is limited to one.curl -s https://seam.interspacemusic.com/v1/scans \
-H "Authorization: Bearer $SEAM_KEY" \
-F file=@track.wav -F bucket=bkt_3f9a1c2e7b8d4a60 -F reference=REL-2231/1A direct upload takes the bucket the same way: send bucket with POST /v1/uploads. An unknown or deleted bucket gets 422 invalid_bucket.
{"data": [bucket, ...]}, the default first.name and an optional description. Answers 201 with the new bucket.name, description, learning or any of them. "description": null clears it. learning is true or false: see scan summaries.curl -s https://seam.interspacemusic.com/v1/buckets \
-H "Authorization: Bearer $SEAM_KEY" -H "Content-Type: application/json" \
-d '{"name": "Catalogue intake", "description": "Back catalogue from the October deal."}'{
"id": "bkt_3f9a1c2e7b8d4a60",
"name": "Catalogue intake",
"description": "Back catalogue from the October deal.",
"default": false,
"learning": true,
"counts": {"scans": 412, "likely_ai": 49, "likely_human": 350, "failed": 13, "in_progress": 0},
"last_scan_at": "2026-11-03T09:14:07Z",
"webhook": {"url": "https://hooks.example.com/seam", "enabled": true, "secret_last4": "9c2e"},
"created_at": "2026-11-03T09:00:00Z"
}true for the account's default bucket.true while Help improve SEAM is on for the bucket. See scan summaries.scans counts them all, whatever their status.null.null until a URL is set. Only the last 4 characters of the signing secret show.Deleting a bucket and setting its webhook happen in the console. A deleted bucket's scans drop out of every list and lookup, and still count toward your usage.
When you make a key on the API keys page, or on a bucket's Keys tab, choose whether it can use every bucket or only one. The choice can't change later. A key for one bucket is safer for a system that only feeds that bucket.
bucket goes into the key's bucket. Naming another bucket gets 403 bucket_not_allowed.GET /v1/scans lists only its bucket. GET /v1/scans/{id} answers 404 for a scan in another bucket.GET /v1/buckets lists only its bucket. Making or changing buckets gets 403 key_scoped.GET /v1/usage shows the whole account's usage, as for any key.SEAM keeps a numeric summary of each scan: spectral measurements that can't be turned back into sound. It uses them to keep improving its detection. The audio itself is still deleted as soon as the scan finishes. You can switch this off for any bucket, and switching it off deletes the summaries kept for that bucket.
learning is true while SEAM holds a summary of that scan.Through the API, send learning with PATCH /v1/buckets/{id}, using a key that can use every bucket. A key for one bucket gets 403 key_scoped.
curl -s -X PATCH https://seam.interspacemusic.com/v1/buckets/bkt_3f9a1c2e7b8d4a60 \
-H "Authorization: Bearer $SEAM_KEY" -H "Content-Type: application/json" \
-d '{"learning": false}'Each bucket can have one webhook. Set it on the bucket's Webhook tab in the console. When a scan in that bucket finishes, SEAM sends a POST to your URL, so you don't need to keep checking.
data.scan.error says why.SEAM sends events for scans made while the webhook is on. Turning it off or removing it cancels deliveries still waiting to go.
{
"id": "evt_6c1f0a9b2d7e4f38",
"type": "scan.done",
"created_at": "2026-11-03T09:14:07Z",
"bucket": "bkt_3f9a1c2e7b8d4a60",
"data": {"scan": {"id": "scn_8f3a2e9c1b7d4a6f", "status": "done", "verdict": "likely_ai", "ai_likelihood": 0.97}}
}data.scan is the full scan object, shortened here. A ping has "data": {"message": "A test event from the SEAM console."}.
application/jsonSEAM-Webhooks/1.0evt_6c1f0a9b2d7e4f38. A retry sends the same one, so use it to skip events you already handled.scan.done, scan.failed or ping.t=<unix seconds>,v1=<hex>. See verify a webhook.2xx within 10 seconds. Answer first, then do the slow work.whd_1a2b3c4d5e6f7a8b, with each one's state and status. Retry sends a failed or cancelled one again, with the same event ID and body.https:// only, with no user name or password in it.localhost or an internal-only name.Check every event before you trust it. The console shows the bucket's signing secret, whsec_ and 48 hex characters, once: when you first save the webhook, and each time you rotate it.
t and v1 from the SEAM-Signature header.t, a full stop and the raw body, keyed with the secret, as hex. Use the body exactly as it arrived, before any JSON parsing.v1 in constant time, and turn the event away when t is more than 5 minutes from your clock.const crypto = require('crypto');
// rawBody: the request body exactly as it arrived, as a Buffer.
function verifySeam(rawBody, header, secret) {
const parts = Object.fromEntries(String(header || '').split(',').map((p) => p.trim().split('=')));
const t = Number(parts.t);
if (!t || !parts.v1) return false;
if (Math.abs(Date.now() / 1000 - t) > 300) return false;
const expected = crypto.createHmac('sha256', secret).update(`${parts.t}.`).update(rawBody).digest();
const given = Buffer.from(parts.v1, 'hex');
return given.length === expected.length && crypto.timingSafeEqual(given, expected);
}import hashlib
import hmac
import time
# raw_body: the request body exactly as it arrived, as bytes.
def verify_seam(raw_body, header, secret):
parts = dict(p.strip().split("=", 1) for p in (header or "").split(",") if "=" in p)
t, v1 = parts.get("t", ""), parts.get("v1", "")
if not t.isdigit() or not v1:
return False
if abs(time.time() - int(t)) > 300:
return False
expected = hmac.new(secret.encode(), t.encode() + b"." + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, v1)Send it a signed ping from your own machine with curl. Then use the console's Send test event button for the real thing.
secret="whsec_your_signing_secret"
body='{"id":"evt_6c1f0a9b2d7e4f38","type":"ping","created_at":"2026-11-03T09:14:07Z","bucket":"bkt_3f9a1c2e7b8d4a60","data":{"message":"A test event from the SEAM console."}}'
t=$(date +%s)
sig=$(printf '%s.%s' "$t" "$body" | openssl dgst -sha256 -hmac "$secret" | sed 's/^.* //')
curl -s https://hooks.example.com/seam \
-H "Content-Type: application/json" -H "SEAM-Event-Type: ping" \
-H "SEAM-Event-Id: evt_6c1f0a9b2d7e4f38" -H "SEAM-Signature: t=$t,v1=$sig" \
-d "$body"GET /v1/usage shows where your account stands.
curl -s https://seam.interspacemusic.com/v1/usage \
-H "Authorization: Bearer $SEAM_KEY"{
"plan": "free",
"scan_limit": 1000,
"scans_used": 120,
"scans_left": 880,
"in_progress": 2
}Your first 1,000 scans are free. scans_used counts a scan as soon as SEAM accepts it, and gives a failed scan back. On a custom plan, scan_limit and scans_left are null: there is no limit.
Every scan endpoint returns this shape. An example with sample values:
{
"id": "scn_8f3a2e9c1b7d4a6f",
"status": "done",
"verdict": "likely_ai",
"ai_likelihood": 0.97,
"model": "v3b",
"source": "upload",
"via": "api",
"bucket": "bkt_3f9a1c2e7b8d4a60",
"filename": "neon-psalms.wav",
"url_host": null,
"reference": "REL-2231/1",
"uploader": "artist-881",
"generator": {"identified": true, "label": "Suno", "confidence": "moderate", "score": 0.71},
"duration_s": 192.4,
"size_bytes": 8123456,
"created_at": "2026-11-03T09:14:01Z",
"scanned_at": "2026-11-03T09:14:07Z",
"error": null,
"learning": true,
"feedback": null
}queued, scanning, done or failed.likely_ai or likely_human. null until the scan is done.null until done.null until done.upload.console or api.null.null.null.null. It's kept with the scan and never changes the score.null for a likely_human verdict and until the scan is done. Otherwise label (the tool, such as Suno, Udio, Mureka, Muse or Another AI tool; Tool not identified when the guess is too weak to name), confidence (high, moderate or low), score (0 to 1) and identified. A best guess, never a certainty, and never a reason to act on a track by itself.null.null.null until done.null, or {"code", "message"} when the scan failed. See errors.true while SEAM holds a numeric summary of the scan, else false. See scan summaries.null, or your report on the verdict: {"truth", "status", "created_at"}. See report a wrong verdict.Every finished scan gets one of two verdicts, and the verdict follows the AI likelihood.
Advisory: your team decides.
A verdict never rejects, holds or approves a track on its own. Your own policy decides what each verdict leads to.
If SEAM got a verdict wrong, tell us what the track really is. Our team checks every report before it changes anything. A report never changes the scan's own verdict. In the console, use Report a wrong verdict on the scan's page.
POST /v1/scans/{id}/feedback with a JSON body. truth is ai (made with AI) or human (made by people). note is optional, up to 500 characters.
curl -s https://seam.interspacemusic.com/v1/scans/scn_8f3a2e9c1b7d4a6f/feedback \
-H "Authorization: Bearer $SEAM_KEY" -H "Content-Type: application/json" \
-d '{"truth": "human", "note": "Recorded live at our studio. We have the session files."}'{
"feedback": {
"id": "fbk_2d9c4b7e1a6f3e05",
"scan": "scn_8f3a2e9c1b7d4a6f",
"truth": "human",
"note": "Recorded live at our studio. We have the session files.",
"status": "open",
"created_at": "2026-11-04T10:02:11Z",
"reviewed_at": null
}
}201. Each scan has one report. Sending again while it is open changes it and answers 200. Leave out note to keep the note you sent.status is open while our team checks it, then confirmed, or rejected when we couldn't confirm it. A checked report can't change: sending again gets 409 feedback_closed.409 scan_not_done.403 bucket_not_allowed.feedback.Add an Idempotency-Key header, up to 80 characters, to POST /v1/scans so a retry never makes a second scan. The same key from the same account returns the scan it already made, with 200 instead of 202.
curl -s https://seam.interspacemusic.com/v1/scans \
-H "Authorization: Bearer $SEAM_KEY" \
-H "Idempotency-Key: REL-2231-1-first-try" \
-F file=@track.wav -F reference=REL-2231/1Errors come back with a matching HTTP status and this shape. Show message to people, and branch on code.
{"error": {"code": "too_many_in_progress", "message": "A plain sentence for a person."}}file.Content-Type: application/json (then the status is 415).YYYY-MM-DD or an upload size under 1 KB.Allow header lists the ones it does.Idempotency-Key, a retry never makes a second scan.The console's own pages can also show these.
A scan that can't finish ends with status failed and one of these codes in error. Failed scans don't count against your free scans.