Events list
For admin tokens will endpoint lists all events in the project. For non-admin tokens will list only events created by the token.
Virtually every interaction of the client (an API call) creates an Event. Apart from that, external events may also be added via an API. Events are stored for a limited time.
Id field is deprecated and will be removed in the future. Please use Uuid instead.
Events can be filtered by various filters:
- sinceId, maxId - Events newer or older than the passed id or Uuid (id is deprecated and will be removed in the future)
- component - Component name
- configurationId - Configuration id
- runId - Run id
- q - Advanced search using a query string. Query string syntax
The events pagination uses two parameters:
- limit - Number of returned events. The default value: 100
- offset - Pagination offset
The branch variant lists events of the given Development Branch; default can be used as branchId to emulate the call without a development branch, i.e. GET /v2/storage/events is the same as GET /v2/storage/branch/default/events.
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Shows only events after the specified Id or Uuid (id is deprecated and will be removed in the future).
Shows only events before the passed Id or Uuid (id is deprecated and will be removed in the future).
Shows only events emitted by the specified component.
Shows only events related to the given configuration Id.
Shows only events with the specified run Id.
Searches events using advanced Query string syntax.
Pagination limit. Maximum allowed value is 10000.
Pagination offset.
Sort order of events: asc = oldest first, desc = newest first.
Response
List of events.
Example response
[
{
"uuid": "01958f48-b1fc-7f05-b9b9-8a4a7b385bc3",
"event": "storage.workspaceLoaded",
"component": "storage",
"message": "Table in.c-application-testing.cashier-data was loaded to the workspace workspace_78423 as my-table.",
"type": "info",
"created": "2017-02-13T12:01:05+0100",
"objectName": "cashier-data",
"objectType": "table",
"context": {
"remoteAddr": "203.0.113.10",
"httpUserAgent": "Keboola Storage PHP Client",
"httpUserAgentOriginal": "Keboola Storage PHP Client",
"authorization": "token",
"apiVersion": "v2"
},
"token": {
"id": 1234,
"name": "support@keboola.com"
},
"idBranch": 1234,
"uri": "https://connection.keboola.com/v2/storage/events/01958f48-b1fc-7f05-b9b9-8a4a7b385bc3",
"attachments": [
{
"id": 6789,
"uploadType": "userUpload",
"created": "2017-02-13T12:01:05+0100",
"name": "backup.csv.gz",
"url": "https://s3.amazonaws.com/kbc-sapi-files/exp-15/1234/files.keboola/backup.csv.gz",
"sizeBytes": 1024
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.