---
title: "Get Events"
method: GET
path: "/deployments/{deployment_name}/tasks/{task_id}/events"
---

# Get Events

`GET /deployments/{deployment_name}/tasks/{task_id}/events`

## Request

- The document declares no server URL.
- Auth: none declared

Get the stream of events from a given task and session.

Args:
    raw_event (bool, default=False): Whether to return the raw event object
        or just the event data.

## Path parameters

- `deployment_name` string, required
- `task_id` string, required

## Query parameters

- `session_id` string, required
- `raw_event` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api.md) - [All operations](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/revisions/5ceeacddc3ab?raw)
