# getInsight

> Function getInsight in pulumi-posthog.

<!-- Generated from the pulumi-posthog SDK. -->

Function getInsight in pulumi-posthog.

Invoke token: `posthog:index/getInsight:getInsight`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as posthog from "pulumi-posthog"

const result = await posthog.getInsight({
  shortId: "<shortId>",
})
```

`getInsightOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property    | Type     | Required | Description |
| ----------- | -------- | -------- | ----------- |
| `projectId` | `string` | no       |             |
| `shortId`   | `string` | yes      |             |

## Result

| Property       | Type       | Always present | Description |
| -------------- | ---------- | -------------- | ----------- |
| `dashboardIds` | `number[]` | yes            |             |
| `derivedName`  | `string`   | yes            |             |
| `description`  | `string`   | yes            |             |
| `favorited`    | `boolean`  | yes            |             |
| `id`           | `number`   | yes            |             |
| `name`         | `string`   | yes            |             |
| `projectId`    | `string`   | yes            |             |
| `queryJson`    | `string`   | yes            |             |
| `shortId`      | `string`   | yes            |             |
| `tags`         | `string[]` | yes            |             |
