Events

Token events list

Lists all events associated with a particular token.

Events of the authorized token itself can always be listed. Events of another token require the permission to manage tokens.

get/v2/storage/tokens/{id}/events

Request

Path parameters

idinteger required

Id of the token.

Query parameters

sinceIdstring

Shows only events after the specified Id or Uuid (id is deprecated and will be removed in the future).

maxIdstring

Shows only events before the passed Id or Uuid (id is deprecated and will be removed in the future).

componentstring

Shows only events emitted by the specified component.

configurationIdstring

Shows only events related to the given configuration Id.

runIdstring

Shows only events with the specified run Id.

qstring

Searches events using advanced Query string syntax.

limitinteger

Pagination limit. Maximum allowed value is 10000.

offsetinteger

Pagination offset.

sortOrder'asc' | 'desc'

Sort order of events: asc = oldest first, desc = newest first.

Response

List of the token events.

uuidstring required

Event UUID v7 identifier.

eventstring required

Event identifier such as storage.tableImportDone or storage.tableDetail. External events are named ext.{component}.{configurationId}.

componentstring required

Name of the component that logged the event. Events can be logged by the storage component or any other registered component.

messagestring required

Human readable description of the event.

descriptionstring required

Additional description of the event, such as a detailed error description.

type'info' | 'success' | 'warn' | 'error' required

Type of the event.

runIdstring nullable required

Id of the associated job.

createdstring required

When the event was created, ISO 8601 with a +hhmm offset; "" when none was recorded.

configurationIdstring nullable required

Id of a configuration used by an external component.

objectNamestring required

Name of the target object, e.g. table name for storage.tableImportDone.

objectTypestring required

Type of the target object, e.g. table for storage.tableImportDone.

paramsobject required

Arbitrary parameters associated with the event, e.g. CSV file settings for table import.

resultsobject required

Arbitrary results of the event.

performanceobject required

Arbitrary performance metrics associated with the event.

idBranchinteger nullable required

Id of the branch the event belongs to, including the default branch; null when the event is not tied to a branch.

uristring required

Event URI.

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.