# Get an event

> Returns one event by ID.

Source: https://diko.app/en/api-docs/reference/get-event

Events · `GET /events/{event_id}`

- **Base URL:** https://api.diko.app/api/v1
- **Required scope:** Any valid key. Results are filtered by the key scopes.
- **Rate-limit policy:** `read`, `account`
- **Authentication:** `Authorization: Bearer dk_live_...`

An event the key cannot read, or that is not yours, returns 404.

## Parameters

| Name | In | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|---|
| `event_id` | path | `string` | yes | – | 26–26 characters; pattern: ^evt_[0-9A-Za-z]{22}$ | Public event ID (`evt_` prefix). |

## Response

### 200

The event.

- `RateLimit`: The most restrictive policy that applied: `"name";r=<requests left>;t=<seconds>`, where `t` is the number of seconds until one more request is allowed (0 when the quota is full). Absent when no rate limiter ran for the request.
- `RateLimit-Policy`: The rate-limit policies that applied to the request, one `"name";q=<burst>;w=<seconds>` item per policy, for example `"read";q=10;w=2, "account";q=20;w=2`: `q` is the burst quota and `w` the seconds in which an empty quota refills. Sent on every authenticated response; absent when no rate limiter ran for the request, for example when it was rejected before the key was checked.
- `Request-Id`: ID of this request (`req_` prefix), the same as `request_id` in an error body. It is also sent as `X-Request-ID`. Quote it when you contact support.
- `X-Client-Request-Id`: Your own `X-Client-Request-Id` request header, echoed back. It is sent only when the value you sent has 1-128 characters from A-Z a-z 0-9 . _ : -.
- `X-RateLimit-Limit`: Burst quota of the most restrictive policy (`q` in `RateLimit-Policy`). Absent when no rate limiter ran.
- `X-RateLimit-Remaining`: Requests left in the most restrictive policy (`r` in `RateLimit`). Absent when no rate limiter ran.
- `X-RateLimit-Reset`: Seconds until one more request is allowed in the most restrictive policy (`t` in `RateLimit`; 0 when the quota is full). It is a number of seconds, not a timestamp. Absent when no rate limiter ran.

Content type: `application/json`

- `id` (string, required, 26–26 characters, pattern: ^evt_[0-9A-Za-z]{22}$): Public event ID (`evt_` prefix). Use it to remove duplicates.
- `object` (string, required): Always `event`.
- `type` (string, required): Event type such as `meeting.ready`. New types can appear; ignore the ones you do not know.
- `timestamp` (string, required, ≤ 24 characters, format: date-time): When the event happened.
- `data` (object, required): Snapshot of the resource.
  - `object` (string, required): Resource type: `meeting`, `library_transcript`, `library_import` or `webhook_endpoint`.
  - `id` (string, required, ≤ 64 characters): Public ID of the resource.
  - `status` (string | null, optional): Resource status, for meetings.
  - `archived` (boolean | null, optional): Whether the meeting is archived.
  - `minutes_status` (string | null, optional): Minutes status, for meeting events.
  - `minutes_version` (integer | null, optional, 0–2147483647, format: int32): Minutes version, for meeting events.
  - `run_id` (string | null, optional): Processing run the event belongs to.
  - `error_code` (string | null, optional): Error code, for `meeting.failed` and `library.import.failed`.
  - `changed_fields` (array<string> | null, optional): Fields that changed, for update events.
  - `youtube_video_id` (string | null, optional): YouTube video ID, for library events.
  - `source_type` (string | null, optional): Transcript source, for `library.transcript.added`.
  - `added_at` (string | null, optional, ≤ 24 characters, format: date-time): When the transcript was added, for `library.transcript.added`.
  - `summary_status` (string | null, optional): Summary status, for `library.transcript.updated`.
  - `transcript_id` (string | null, optional, 6–64 characters, pattern: ^trn_[A-Za-z0-9_-]+$): Library transcript ID, for `library.import.succeeded`.
  - `reused` (boolean | null, optional): Whether the transcript already existed, for `library.import.succeeded`.

```json
{
  "id": "evt_6wRxUNQvdvcZDQqmAzvcqD",
  "object": "event",
  "type": "meeting.ready",
  "timestamp": "2026-10-11T09:30:00.000Z",
  "data": {
    "object": "meeting",
    "id": "mtg_5uF4g2Xu1i0qz3yAp0CP7W",
    "status": "ready",
    "archived": false,
    "minutes_status": "ready",
    "minutes_version": 2,
    "run_id": "f122ed73-1ae0-5816-8fe0-814cdde13471"
  }
}
```

## Examples

**cURL**

```bash
curl "https://api.diko.app/api/v1/events/evt_3kQ9mXw0aB7nZp1RtYc4Ld" \
  -H "Authorization: Bearer $DIKO_API_KEY"
```

**Python**

```python
import os

import requests

response = requests.get(
    "https://api.diko.app/api/v1/events/evt_3kQ9mXw0aB7nZp1RtYc4Ld",
    headers={"Authorization": f"Bearer {os.environ['DIKO_API_KEY']}"},
    timeout=30,
)
response.raise_for_status()
print(response.json())
```

**TypeScript**

```typescript
const response = await fetch("https://api.diko.app/api/v1/events/evt_3kQ9mXw0aB7nZp1RtYc4Ld", {
  headers: {
    Authorization: `Bearer ${process.env.DIKO_API_KEY}`,
  },
})
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`)
console.log(await response.json())
```

## Errors

This endpoint can return these errors. Every code is described in the error catalog.

| HTTP | Code | Meaning | Retry? |
|---|---|---|---|
| 401 | [`missing_api_key`](https://diko.app/en/api-docs/errors.md#missing_api_key) | The request has no `Authorization` header. | no |
| 401 | [`invalid_api_key`](https://diko.app/en/api-docs/errors.md#invalid_api_key) | The header is unusable (a scheme other than `Bearer`, an empty key or more than one `Authorization` header) or the key is unknown or malformed (wrong structure or checksum). The response is identical in all these cases. | no |
| 401 | [`api_key_expired`](https://diko.app/en/api-docs/errors.md#api_key_expired) | The key has expired. | no |
| 401 | [`api_key_revoked`](https://diko.app/en/api-docs/errors.md#api_key_revoked) | The key was revoked: manually, after a rotation grace period ended, because of a leak or because the account was disabled. | no |
| 401 | [`api_key_disabled`](https://diko.app/en/api-docs/errors.md#api_key_disabled) | The key is temporarily disabled. | no |
| 402 | [`subscription_required`](https://diko.app/en/api-docs/errors.md#subscription_required) | The account has no active paid access. | no |
| 403 | [`ip_not_allowed`](https://diko.app/en/api-docs/errors.md#ip_not_allowed) | The key has an IP allowlist and the request IP is not on it, or it cannot be determined reliably. | no |
| 403 | [`account_disabled`](https://diko.app/en/api-docs/errors.md#account_disabled) | The account is disabled. | no |
| 403 | [`email_not_verified`](https://diko.app/en/api-docs/errors.md#email_not_verified) | The account e-mail address is not verified. | no |
| 403 | [`api_access_suspended`](https://diko.app/en/api-docs/errors.md#api_access_suspended) | A Diko administrator suspended API access for this account. | no |
| 403 | [`plan_required`](https://diko.app/en/api-docs/errors.md#plan_required) | The plan does not include the API. `error.details.required_plans` lists `verslas`. | no |
| 404 | [`not_found`](https://diko.app/en/api-docs/errors.md#not_found) | The resource does not exist, does not belong to your account or its ID is encoded incorrectly. | no |
| 429 | [`rate_limit_exceeded`](https://diko.app/en/api-docs/errors.md#rate_limit_exceeded) | A rate-limit policy was exceeded. `error.details.policy` names it. | yes, after Retry-After |
| 500 | [`internal_error`](https://diko.app/en/api-docs/errors.md#internal_error) | An internal server error. | conditionally |
| 503 | [`service_unavailable`](https://diko.app/en/api-docs/errors.md#service_unavailable) | The service is temporarily busy, for example because of database load. | yes, after Retry-After |
