> ## 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.

> [!NOTE]
>
> Tool ID: `luma_get_v1_entities_lookup`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute luma_get_v1_entities_lookup --input '{
  "slug": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "entity": {
      "type": "calendar",
      "calendar": {
        "id": "id_123",
        "name": "Example",
        "slug": "example"
      }
    }
  }
}
```

Use `deepline describe 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](https://deepline.com/docs/providers/luma/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.