> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Luma: Get V1 Entities Lookup

> Lookup an entity on Luma by its slug. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Lookup an entity on Luma by its slug.

<Info>
  Tool ID: `luma_get_v1_entities_lookup`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'luma_get_v1_entities_lookup',
  {
    "slug": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute luma_get_v1_entities_lookup --input '{
  "slug": "example"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "entity": {
      "type": "calendar",
      "calendar": {
        "id": "id_123",
        "name": "Example",
        "slug": "example"
      }
    }
  }
}
```

Use `deepline tools get luma_get_v1_entities_lookup --json` for the latest machine-readable contract.

## Input reference

Lookup an entity on Luma by its slug.

| Name           | Type     | Required | Default | Details |
| -------------- | -------- | -------- | ------- | ------- |
| `payload.slug` | `string` | Yes      | —       | —       |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Lookup an entity on Luma by its slug.",
    "properties": {
      "slug": {
        "type": "string"
      }
    },
    "required": [
      "slug"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                     | Type             | Required | Default | Details                                                  |
| ---------------------------------------- | ---------------- | -------- | ------- | -------------------------------------------------------- |
| `result.data`                            | `object`         | Yes      | —       | Provider response payload.                               |
| `result.data.entity`                     | `object \| null` | Yes      | —       | —                                                        |
| `result.data.entity.type`                | `"calendar"`     | Yes      | —       | —                                                        |
| `result.data.entity.calendar`            | `object`         | Yes      | —       | —                                                        |
| `result.data.entity.calendar.id`         | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.calendar.name`       | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.calendar.slug`       | `string \| null` | Yes      | —       | —                                                        |
| `result.data.entity.calendar.avatar_url` | `string \| null` | No       | —       | —                                                        |
| `result.data.entity.event`               | `object`         | Yes      | —       | —                                                        |
| `result.data.entity.event.id`            | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.event.name`          | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.event.slug`          | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.event.cover_url`     | `string`         | Yes      | —       | —                                                        |
| `result.data.entity.event.start_at`      | `string`         | Yes      | —       | ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z |
| `result.data.entity.event.end_at`        | `string`         | Yes      | —       | ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z |
| `result.meta`                            | `object`         | No       | —       | Additional response metadata (status, paging).           |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "entity": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "calendar"
                  },
                  "calendar": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "slug": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "avatar_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "slug"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "calendar"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "event"
                  },
                  "event": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "slug": {
                        "type": "string"
                      },
                      "cover_url": {
                        "type": "string"
                      },
                      "start_at": {
                        "type": "string",
                        "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z",
                        "format": "date-time"
                      },
                      "end_at": {
                        "type": "string",
                        "description": "ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "id",
                      "name",
                      "slug",
                      "cover_url",
                      "start_at",
                      "end_at"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "type",
                  "event"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "entity"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Luma provider guide](/docs/providers/luma/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
