---
title: "Get the current durable event-stream cursor"
---

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

Path: Shiba public API › events

`GET /events/head`

## Authentication

Requires one of the following:

- `bearerAuth`, http, header `Authorization`, format `API key`
- `cookieAuth`, apiKey, in cookie

## Code samples

### cURL

```bash
curl --request GET \
  --url '<base-url>/api/v1/events/head' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = '<base-url>/api/v1/events/head';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/api/v1/events/head"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Success

#### Example

```json
{}
```

### 401

Unauthorized

#### Example

```json
{
  "ok": false,
  "error": "string",
  "detail": "string",
  "code": "string"
}
```

- `error` (`getEventHead.response.401.error`; string, required)
- `ok` (`getEventHead.response.401.ok`; boolean, optional)
- `detail` (`getEventHead.response.401.detail`; string, optional)
- `code` (`getEventHead.response.401.code`; string, optional)

### 404

Not found

#### Example

```json
{
  "ok": false,
  "error": "string",
  "detail": "string",
  "code": "string"
}
```

- `error` (`getEventHead.response.404.error`; string, required)
- `ok` (`getEventHead.response.404.ok`; boolean, optional)
- `detail` (`getEventHead.response.404.detail`; string, optional)
- `code` (`getEventHead.response.404.code`; string, optional)


Source: https://tryshiba.dev/reference/api/events/getEventHead/index.md
