---
title: "The dated sentences of an article"
method: GET
path: "/events/{slug}"
---

# The dated sentences of an article

`GET /events/{slug}`

## Request

- Base URL: `https://www.edgechat.ai/api/v1`
- URL: `https://www.edgechat.ai/api/v1/events/{slug}`
- Auth: none declared

Each sentence of the article that states a date, with the first date it states. `date`: YYYY, YYYY-MM, or YYYY-MM-DD; years before the common era are negative. BC dates follow the historical convention, not astronomical years: -0044 is 44 BC (a standard ISO 8601 parser would read it as 45 BC). The sentence is quoted as written.

## Path parameters

- `slug` string, required

## Query parameters

- `fields` string

## Response `200`

The events

- GetEventsResponse
  - `id` string
  - `slug` string
  - `title` string
  - `url` string
  - `count` integer
  - `events` DatedEvent[]
    - `date` string
    - `precision` 'year' | 'month' | 'day'
    - `text` string
    - `para` integer
  - `note` string

## Other responses

- `400`: `unknown_parameter`: the request carries a query parameter this route does not read (or one given twice). Each route reads only the parameters listed for it.
- `404`: An error
- `410`: An error
- `503`: An error

---

[API](https://skmtc.dev/edgechat/apis/edgepedia-api.md) · [All operations](https://skmtc.dev/edgechat/apis/edgepedia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/edgechat/apis/edgepedia-api/revisions/cd4eb5972d56?raw)
