List custom events for entity
GET/api/v1/catalog/:tagOrId/custom-events
List custom events for entity
Request
Path Parameters
The tag (x-cortex-tag
) or unique, auto-generated identifier for the entity.
Query Parameters
Default value: 250
Number of results to return per page, between 1 and 1000. Default 250.
Default value: 0
Page number to return, 0-indexed. Default 0.
Responses
- 200
- 400
- 404
Successfully retrieved custom events
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
events
object[]
required
customData
object
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
Current page number, 0-indexed
Total number of results
Total number of pages
{
"events": [
{
"customData": {},
"description": "string",
"timestamp": "2024-07-29T15:51:28.071Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
events
object[]
required
customData
object
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
Current page number, 0-indexed
Total number of results
Total number of pages
{
"events": [
{
"customData": {},
"description": "string",
"timestamp": "2024-07-29T15:51:28.071Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}
Entity not found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
events
object[]
required
customData
object
Optional property to store additional data
Optional description of custom event
Time when event occurred
Name for custom event
Type of custom event
Optional URL associated with custom event
Automatically generated identifier
Current page number, 0-indexed
Total number of results
Total number of pages
{
"events": [
{
"customData": {},
"description": "string",
"timestamp": "2024-07-29T15:51:28.071Z",
"title": "Created K8s pod",
"type": "POD_CREATION",
"url": "https://cortex.io",
"uuid": "d853c6e0-1bca-40bf-a264-db5d4ee38d77"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}