# SessionTagsBySessionId: Inspectlet Inspectlet Session Tags ## Documentation The tags of one session, looked up by its session ID. Reads that one session only, where SessionTags has to read every session of the website. - Catalog: `Inspectlet` - Schema: `Inspectlet` - Label: Inspectlet Session Tags The data in this table is partitioned per value of the `` column. This is a read-only table function. The Inspectlet API may not support changing the data or the Invantive UniversalSQL driver for Inspectlet does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Inspectlet API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `SessionTagsBySessionId`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `sid` | `number` | ☐ | | The session ID. | ## Columns of Table Function The columns of the table function `SessionTagsBySessionId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `date_end_session_utc` | `datetime` | | ☑ | The last recorded activity (UTC) of the session this row belongs to, carried over from that session. | | `date_start_session_utc` | `datetime` | | ☑ | The start time (UTC) of the session this row belongs to, carried over from that session. | | `ip` | `varchar2` | | ☐ | The IP address of the visitor of the session this row belongs to, carried over from that session. | | `session_duration` | `int64` | | ☑ | The total duration in seconds of the session this row belongs to, carried over from that session. | | `sid` | `int64` | | ☑ | The session this tag belongs to. Inspectlet reports a tag as part of its session rather than with a session of its own, so the value is carried over from that session. | | `tag` | `varchar2` | | ☑ | The tag name. | | `timestamp` | `datetime` | | ☐ | When the tag was recorded (UTC). A tag which Inspectlet records without a time of its own is reported as 1 January 1970. | | `uid` | `varchar2` | | ☑ | The visitor identifier of the session this row belongs to, carried over from that session. | | `value` | `varchar2` | | ☐ | The tag value. |