Get Case Timeline

thehive.get_case_timeline
ActionBusiness appsconnection required

Calls the TheHive API with the connection's credentials.

Read the ordered timeline of everything that happened on a case.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
TheHive
Secret shape
the TheHive API key, or {"api_key": "…"}
Config it needs
base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
case_id
TheHive id of the case, or its case number.
stringYes——~40964216

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "case_id": "~40964216"
}

Output

One shape.

result

FieldTypeExample
events[].date
When the event happened, in epoch milliseconds.
number—
events[].kind
What kind of event this is, e.g. task or observable.
string—
events[].entity
The type of record the event is about.
string—
events[].entityId
The id of the record the event is about.
string—
events[].details
The event's own payload, as TheHive returned it.
object—
count
How many events the timeline holds.
number—
{
  "count": 0,
  "events": [
    {
      "date": 0,
      "details": {},
      "entity": "",
      "entityId": "",
      "kind": ""
    }
  ]
}

See Get Case Timeline run in a workflow.

In a technical demo we add the TheHive connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.