> ## 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 Calendars Events Lookup

> Check whether an event is already on your Luma calendar by its URL or event ID. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Check whether an event is already on your Luma calendar by its URL or event ID.

> [!NOTE]
>
> Tool ID: `luma_get_v1_calendars_events_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_calendars_events_lookup',
  {
    "platform": "external",
    "url": "https://example.com",
    "event_id": "event_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute luma_get_v1_calendars_events_lookup --input '{
  "platform": "external",
  "url": "https://example.com",
  "event_id": "event_123"
}' --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": {
    "event": {
      "id": "id_123",
      "status": "approved",
      "submitted_by": {
        "id": "id_123",
        "name": "Example",
        "avatar_url": "https://example.com",
        "email": "jane.doe@example.com",
        "first_name": "Jane",
        "last_name": "Doe"
      }
    }
  }
}
```

Use `deepline describe luma_get_v1_calendars_events_lookup --json` for the latest machine-readable contract.

## Input reference

See if an event already exists on the calendar. This is useful when figuring out if you want to submit an event to the calendar. Provide at least one of: url, event\_id, event\_api\_id.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.platform` | `"external" \| "luma"` | No | — | Allowed: `external`, `luma`. |
| `payload.url` | `string` | No | — | — |
| `payload.event_id` | `string` | No | — | Event ID, this usually starts with evt- |
| `payload.event_api_id` | `string` | No | — | Use `event_id` instead. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "See if an event already exists on the calendar. This is useful when figuring out if you want to submit an event to the calendar. Provide at least one of: url, event_id, event_api_id.",
    "properties": {
      "platform": {
        "type": "string",
        "enum": [
          "external",
          "luma"
        ]
      },
      "url": {
        "type": "string"
      },
      "event_id": {
        "type": "string",
        "description": "Event ID, this usually starts with evt-"
      },
      "event_api_id": {
        "type": "string",
        "description": "Use `event_id` instead."
      }
    },
    "required": [],
    "allOf": [
      {
        "anyOf": [
          {
            "properties": {
              "url": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": true
          },
          {
            "properties": {
              "event_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "event_id"
            ],
            "additionalProperties": true
          },
          {
            "properties": {
              "event_api_id": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "event_api_id"
            ],
            "additionalProperties": true
          }
        ]
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.event` | `object \| null` | Yes | — | — |
| `result.data.event.id` | `string` | Yes | — | — |
| `result.data.event.status` | `"approved" \| "pending" \| "rejected"` | Yes | — | Allowed: `approved`, `pending`, `rejected`. |
| `result.data.event.submitted_by` | `object \| null` | Yes | — | The user who submitted or added this event to the calendar. Null when the submitter's account no longer exists or is blocked. |
| `result.data.event.submitted_by.id` | `string` | Yes | — | — |
| `result.data.event.submitted_by.name` | `string \| null` | Yes | — | — |
| `result.data.event.submitted_by.avatar_url` | `string` | Yes | — | — |
| `result.data.event.submitted_by.email` | `string \| null` | Yes | — | The submitter's account email. Null when not returned. |
| `result.data.event.submitted_by.first_name` | `string \| null` | Yes | — | — |
| `result.data.event.submitted_by.last_name` | `string \| null` | Yes | — | — |
| `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": {
          "event": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "approved",
                  "pending",
                  "rejected"
                ]
              },
              "submitted_by": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "The user who submitted or added this event to the calendar. Null when the submitter's account no longer exists or is blocked.",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "avatar_url": {
                    "type": "string"
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The submitter's account email. Null when not returned."
                  },
                  "first_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "last_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "id",
                  "name",
                  "avatar_url",
                  "email",
                  "first_name",
                  "last_name"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "status",
              "submitted_by"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "event"
        ],
        "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.