Method
intel.cases.update
Save changes to a case file.
Details
- Endpoint
- PUT /v1/intel/cases/:caseID
- Credits
- Free
- Rate class
- Light. Counts against your light requests per second.
- Also called
- /v1/omen/cases/:caseID
Send only what changed: title, visibility, graph, notes, annotations, entries, flows, nodeCount. Pass the version you loaded; when the case changed since, the answer is 409 with the current version. Leave version out to overwrite. Owner only, free.
Parameters
| Name | Type | Description |
|---|---|---|
| caseIDrequired | string | The case id from its link (tide.ad/intel/case/<id>). |
| title | string | Up to 140 characters. |
| visibility | string | private (owner only, the default) or link (anyone with the link can read it).One of "private", "link". |
| graph | object | The visualizer's graph state: nodes with positions, pins, groups, hidden nodes, filters and mode. |
| notes | string | Markdown notes. |
| annotations | array of any | [{ id, target: { kind: node, id } | { kind: edge, key }, text }] |
| entries | array of any | Manual timeline entries: [{ id, atMs, text }]. |
| flows | array of any | The case's flows for the timeline: [{ key, from, to, fromName, toName, usd, count, coins, firstCheckpoint, lastCheckpoint }]. Times are filled in from the checkpoints. |
| nodeCount | integer | Visible nodes, shown in the case list. |
| version | integer | The version you loaded. |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl -X PUT "https://api.tide.ad/v1/intel/cases/Hk3v9QmT2xLp" \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{
"version": 1,
"notes": "Second hop is a known exchange deposit address."
}'TypeScript
const res = await fetch("https://api.tide.ad/v1/intel/cases/Hk3v9QmT2xLp", {
method: "PUT",
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
"content-type": "application/json",
},
body: JSON.stringify({
"version": 1,
"notes": "Second hop is a known exchange deposit address."
}),
});
const data = await res.json();Response
No example response is available for this method yet.