Observability
Ellipsis keeps every record a session produces and every request it makes to GitHub and the Agents API, so you can check what an agent did and what it cost.
When to use
Read these records when you need to check what an agent did after it ran.
Reading a session's records
Ellipsis stores a session's records in order. They hold the messages you sent, the output of the environment's setup, and the harness's own output with every tool call and its result unchanged. List records to read them after the session ends, or stream them while it runs. A record that calls a tool names it in tools, whichever harness ran the session. Session events describes every record type.
For example, print each tool the model called in last night's session of test-repair, an agent that fixes a failing test in api-repo and opens a pull request.
Checking what a session did on GitHub
Ellipsis records every request a session makes to GitHub, git pushes included, and to the Agents API. List network requests to read each request's method, path, status, and duration, and the first 128 KB of its request and response bodies.
For example, print each request the test-repair session made, including its push and the pull request it opened.
Downloading a session
Download a session to keep its complete history past its retention period or to load it into your own log store. Ellipsis returns the history as gzip parts with short-lived URLs. Fetch them in order and join them into one .jsonl.gz file with one record per line and the harness output unchanged.
For example, save the test-repair session as session.jsonl.gz.
Finding sessions
List sessions by agent, status, time, repository, source, label, and annotation. Labels and annotations go in an agent's ellipsis.metadata, and every session the agent starts carries them. They never change how a session runs. When you start a session from your code, pass metadata to add your own.
For example, annotate test-repair with the team that owns it.
List this week's sessions of the API team's agents that ended in an error.
Tracking what agents cost
Each session reports its cost and tokens so far, and each message's message_ended record reports what answering it cost. Agent metrics give each finished session's duration, cost, and tokens over a window you choose, and the agent's spend against its budget over the past 1, 7, and 28 days. Amounts are in millicents, 100,000 to the dollar. Usage reports your account's costs for a month.
For example, print what test-repair spent against its limit over the past 1, 7, and 28 days.
Receiving alerts
Ellipsis raises an alert when spending nears a limit, credit runs low, or an agent breaks. It posts each alert to your Slack operations channel and emails the contacts listed under notifications in your account settings. List alerts to read them from your code.
| Alert | When it fires |
|---|---|
budget_threshold | Account spend crosses an alert percentage of an account limit, 80% and 100% by default. |
budget_blocked | A spend limit blocks new model requests. |
credit_low | Your credit balance falls below a threshold while automatic recharge is off. |
credit_exhausted | Your credit balance runs out. |
agent_config_broken | An agent file fails validation, and Ellipsis keeps the last valid definition. |
agent_failing | An agent's session ends in an error. Ellipsis alerts again only after a later session succeeds. |
For example, print the account's alerts, newest first.
Auditing API use
The API request log lists every request made with an API key, the CLI, an MCP client, or a session, newest first, with its operation, status code, and the credential that sent it. Ellipsis keeps it for 90 days. The audit log lists changes to limits, webhooks, the GitHub App installation, credit, refunds, automatic recharge, and the platform fee.
For example, print the requests Ellipsis refused for a missing or insufficient credential.