You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get Events for Pod, Job Run, Application. The events are sourced from Kubernetes as well as events captured by truefoundry. Optional query parameters include startTs, endTs for filtering.
5440
+
</dd>
5441
+
</dl>
5442
+
</dd>
5443
+
</dl>
5444
+
5445
+
#### 🔌 Usage
5446
+
5447
+
<dl>
5448
+
<dd>
5449
+
5450
+
<dl>
5451
+
<dd>
5452
+
5453
+
```python
5454
+
from truefoundry_sdk import TrueFoundry
5455
+
5456
+
client = TrueFoundry(
5457
+
api_key="YOUR_API_KEY",
5458
+
base_url="https://yourhost.com/path/to/api",
5459
+
)
5460
+
client.events.get(
5461
+
start_ts="startTs",
5462
+
end_ts="endTs",
5463
+
application_id="applicationId",
5464
+
application_fqn="applicationFqn",
5465
+
job_run_name="jobRunName",
5466
+
)
5467
+
5468
+
```
5469
+
</dd>
5470
+
</dl>
5471
+
</dd>
5472
+
</dl>
5473
+
5474
+
#### ⚙️ Parameters
5475
+
5476
+
<dl>
5477
+
<dd>
5478
+
5479
+
<dl>
5480
+
<dd>
5481
+
5482
+
**start_ts:**`typing.Optional[str]` — Start timestamp (ISO format) for querying events
5483
+
5484
+
</dd>
5485
+
</dl>
5486
+
5487
+
<dl>
5488
+
<dd>
5489
+
5490
+
**end_ts:**`typing.Optional[str]` — End timestamp (ISO format) for querying events
5491
+
5492
+
</dd>
5493
+
</dl>
5494
+
5495
+
<dl>
5496
+
<dd>
5497
+
5498
+
**application_id:**`typing.Optional[str]` — Application ID
0 commit comments