Skip to content
Start here

Events

List Events
magic_transit.connectors.events.list(strconnector_id, EventListParams**kwargs) -> EventListResponse
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events
Get Event
magic_transit.connectors.events.get(floatevent_n, EventGetParams**kwargs) -> EventGetResponse
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}
ModelsExpand Collapse
class EventListResponse:
count: float
items: List[Item]
a: float

Time the Event was collected (seconds since the Unix epoch)

k: str

Kind

n: float

Sequence number, used to order events with the same timestamp

t: float

Time the Event was recorded (seconds since the Unix epoch)

cursor: Optional[str]
class EventGetResponse:

Recorded Event

e: E
One of the following:
class EInit:
k: Literal["Init"]

Initialized process

class ELeave:
k: Literal["Leave"]

Stopped process

class EStartAttestation:
k: Literal["StartAttestation"]

Started attestation

class EFinishAttestationSuccess:
k: Literal["FinishAttestationSuccess"]

Finished attestation

class EFinishAttestationFailure:
k: Literal["FinishAttestationFailure"]

Failed attestation

class EStartRotateCryptKey:
k: Literal["StartRotateCryptKey"]

Started crypt key rotation

class EFinishRotateCryptKeySuccess:
k: Literal["FinishRotateCryptKeySuccess"]

Finished crypt key rotation

class EFinishRotateCryptKeyFailure:
k: Literal["FinishRotateCryptKeyFailure"]

Failed crypt key rotation

class EStartRotatePki:
k: Literal["StartRotatePki"]

Started PKI rotation

class EFinishRotatePkiSuccess:
k: Literal["FinishRotatePkiSuccess"]

Finished PKI rotation

class EFinishRotatePkiFailure:
k: Literal["FinishRotatePkiFailure"]

Failed PKI rotation

class EStartUpgrade:
k: Literal["StartUpgrade"]

Started upgrade

url: str

Location of upgrade bundle

class EFinishUpgradeSuccess:
k: Literal["FinishUpgradeSuccess"]

Finished upgrade

class EFinishUpgradeFailure:
k: Literal["FinishUpgradeFailure"]

Failed upgrade

class EReconcile:
k: Literal["Reconcile"]

Reconciled

class EConfigureCloudflaredTunnel:
k: Literal["ConfigureCloudflaredTunnel"]

Configured Cloudflared tunnel

n: float

Sequence number, used to order events with the same timestamp

t: float

Time the Event was recorded (seconds since the Unix epoch)

v: Optional[str]

Version

EventsLatest

Get latest Events
magic_transit.connectors.events.latest.list(strconnector_id, LatestListParams**kwargs) -> LatestListResponse
GET/accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/latest
ModelsExpand Collapse
class LatestListResponse:
count: float
items: List[Item]
e: ItemE
One of the following:
class ItemEInit:
k: Literal["Init"]

Initialized process

class ItemELeave:
k: Literal["Leave"]

Stopped process

class ItemEStartAttestation:
k: Literal["StartAttestation"]

Started attestation

class ItemEFinishAttestationSuccess:
k: Literal["FinishAttestationSuccess"]

Finished attestation

class ItemEFinishAttestationFailure:
k: Literal["FinishAttestationFailure"]

Failed attestation

class ItemEStartRotateCryptKey:
k: Literal["StartRotateCryptKey"]

Started crypt key rotation

class ItemEFinishRotateCryptKeySuccess:
k: Literal["FinishRotateCryptKeySuccess"]

Finished crypt key rotation

class ItemEFinishRotateCryptKeyFailure:
k: Literal["FinishRotateCryptKeyFailure"]

Failed crypt key rotation

class ItemEStartRotatePki:
k: Literal["StartRotatePki"]

Started PKI rotation

class ItemEFinishRotatePkiSuccess:
k: Literal["FinishRotatePkiSuccess"]

Finished PKI rotation

class ItemEFinishRotatePkiFailure:
k: Literal["FinishRotatePkiFailure"]

Failed PKI rotation

class ItemEStartUpgrade:
k: Literal["StartUpgrade"]

Started upgrade

url: str

Location of upgrade bundle

class ItemEFinishUpgradeSuccess:
k: Literal["FinishUpgradeSuccess"]

Finished upgrade

class ItemEFinishUpgradeFailure:
k: Literal["FinishUpgradeFailure"]

Failed upgrade

class ItemEReconcile:
k: Literal["Reconcile"]

Reconciled

class ItemEConfigureCloudflaredTunnel:
k: Literal["ConfigureCloudflaredTunnel"]

Configured Cloudflared tunnel

n: float

Sequence number, used to order events with the same timestamp

t: float

Time the Event was recorded (seconds since the Unix epoch)

v: Optional[str]

Version