---
title: "Event Stream"
method: GET
path: "/api/agent-credit/events/stream"
tags: ["Real-Time Events"]
---

# Event Stream

`GET /api/agent-credit/events/stream`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/agent-credit/events/stream`
- Auth: none declared

Server-Sent Events stream.
Connect with EventSource from any browser.

Usage:
    const es = new EventSource("/api/agent-credit/events/stream");
    es.onmessage = (e) => console.log(JSON.parse(e.data));

## Response `200`

Successful Response

- unknown

---

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