---
title: "Get a container's raw events"
method: GET
path: "/containers/{id}/raw_events"
tags: ["Containers"]
deprecated: true
---

# Get a container's raw events

`GET /containers/{id}/raw_events`

> **Deprecated.**

#### Deprecation warning
The `raw_events` endpoint is provided as-is.

 For past events we recommend consuming `transport_events`.

---
Get a list of past and future (estimated) milestones for a container as reported by the carrier. Some of the data is normalized even though the API is called raw_events. 

Normalized attributes: `event` and `timestamp` timestamp. Not all of the `event` values have been normalized. You can expect the the events related to container movements to be normalized but there are cases where events are not normalized. 

For past historical events we recommend consuming `transport_events`. Although there are fewer events here those events go through additional vetting and normalization to avoid false positives and get you correct data.

## Response `200`

OK

- object
  - `data` RawEvent[]
    - `id` string
    - `type` 'raw_event'
    - `attributes` object
      - `event` 'empty_out' | 'full_in' | 'positioned_in' | 'positioned_out' | 'vessel_loaded' | 'vessel_departed' | 'transshipment_arrived' | 'transshipment_discharged' | 'transshipment_loaded' | 'transshipment_departed' | 'feeder_arrived' | 'feeder_discharged' | 'feeder_loaded' | 'feeder_departed' | 'rail_loaded' | 'rail_departed' | 'rail_arrived' | 'rail_unloaded' | 'vessel_arrived' | 'vessel_discharged' | 'arrived_at_destination' | 'delivered' | 'full_out' | 'empty_in' | 'vgm_received' | 'carrier_release' | 'customs_release' | 'available', nullable — Normalized string representing the event
      - `original_event` string — The event name as returned by the carrier
      - `timestamp` string, date-time — The datetime the event either transpired or will occur in UTC
      - `estimated` boolean — True if the timestamp is estimated, false otherwise
      - `actual_on` string, date, nullable — Deprecated: The date of the event at the event location when no time information is available.
      - `estimated_on` string, date, nullable — Deprecated: The estimated date of the event at the event location when no time information is available.
      - `actual_at` string, date-time, nullable — Deprecated: The datetime the event transpired in UTC
      - `estimated_at` string, date-time, nullable — Deprecated: The estimated datetime the event will occur in UTC
      - `timezone` string, nullable — IANA tz where the event occured
      - `created_at` string, date-time — When the raw_event was created in UTC
      - `location_name` string — The city or facility name of the event location
      - `location_locode` string, nullable — UNLOCODE of the event location
      - `vessel_name` string, nullable — The name of the vessel where applicable
      - `vessel_imo` string, nullable — The IMO of the vessel where applicable
      - `index` integer — The order of the event. This may be helpful when only dates (i.e. actual_on) are available.
      - `voyage_number` string, nullable
    - `relationships` object
      - `location` object
        - `data` object
          - `id` string, uuid
          - `type` 'port' | 'metro_area'
      - `vessel` object
        - `data` object
          - `id` string, uuid
          - `type` 'vessel'

---

[API](https://skmtc.net/terminal49/apis/terminal49-api-reference.md) · [All operations](https://skmtc.net/terminal49/apis/terminal49-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/terminal49/terminal49-api-reference/versions/05ac7931d5a1/schema)
