# Create Event

### Usage

```yaml
action: llmvision.create_event
data:
  title: Car seen
  description: A white SUV was seen pulling into a driveway.
  label: Car
  image_path: /media/llmvision/snapshots/example.jpg
  camera_entity: camera.front_door
  start_time: 2022-02-22T13:30:00.000Z
  end_time: 2022-02-22T13:30:00.000Z

```

### Parameter Reference

<table><thead><tr><th width="185">Parameter</th><th width="101">Required</th><th width="240.52734375">Description</th><th width="211.5078125">Default</th></tr></thead><tbody><tr><td><code>title</code></td><td>Yes</td><td>Title of the event</td><td></td></tr><tr><td><code>description</code></td><td>Yes</td><td>Description or summary of the event</td><td></td></tr><tr><td><code>label</code></td><td>No</td><td>Label to assign to the event</td><td></td></tr><tr><td><code>image_path</code></td><td>No</td><td>File path to the image. Path must be stored in <code>/media/llmvision/snapshots/</code></td><td></td></tr><tr><td><code>camera_entity</code></td><td>No</td><td>Entity to associate with the event. Can be a camera entity or any other entity type.</td><td></td></tr><tr><td><code>start_time</code></td><td>No</td><td>Datetime the event started</td><td>now</td></tr><tr><td><code>end_time</code></td><td>No</td><td>Datetime the event ended</td><td>start_time + 1min</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://llmvision.gitbook.io/getting-started/usage/create-event.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
