StatOSS Events API
Events as Explore finds them, and one whole.
Events as Explore finds them, and one whole.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/statoss-com:statoss-com-events-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: StatOSS Events API
version: '1'
description: Everything the dashboard does to a status page, over HTTPS with a key. Keys are made under Settings, API keys; each reads, or reads and writes, and reaches every page or one page.
servers:
- url: https://statoss.com/api/v1
security:
- bearer: []
tags:
- name: Events
description: Events as Explore finds them, and one whole.
paths:
/events:
get:
tags:
- Events
operationId: searchEvents
summary: Search events
description: 'Events as Explore finds them, newest first: in the apps, environment and range, at the levels and in the categories (by key or label), with each field holding its value, and matching q. q is the search language (/docs/search) as Explore reads it: words, phrases and /regex/ in the title, culprit or message, level:, category: and fields, with -term or !key:value to leave out, a OR b, key:[a, b], * at either end of a value, key:>500 and has:key. A search that does not read answers 400 with why.'
parameters:
- name: apps
in: query
schema:
type: string
description: Apps by id or slug, comma-separated; every app the key reaches when left out.
- name: environment
in: query
schema:
type: string
description: An environment's name; every one when left out.
- name: range
in: query
schema:
type: string
enum:
- 1h
- 24h
- 7d
- 14d
- 30d
- 90d
default: 14d
description: How far back.
- name: level
in: query
schema:
type: string
description: A level by key or label; give it again for more.
- name: category
in: query
schema:
type: string
description: A category by key or label; give it again for more.
- name: field
in: query
schema:
type: string
description: key:value, such as route:/pay; give it again for more, up to 10.
- name: q
in: query
schema:
type: string
description: The search (/docs/search), up to 200 characters.
- name: cursor
in: query
schema:
type: string
description: The cursor the last page gave, for the next one.
- name: limit
in: query
schema:
type: integer
default: 25
minimum: 1
maximum: 100
responses:
'200':
description: The events.
content:
application/json:
schema:
$ref: '#/components/schemas/EventList'
'400':
description: The query or body did not pass validation.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: No key, or a key that is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Nothing by that id that this key reaches.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute on this key. Retry-After says in how many seconds the minute is up.
headers:
Retry-After:
description: Seconds until the minute is up.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Events could not be read just now; try again shortly.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/events/{eventId}:
get:
tags:
- Events
operationId: getEvent
summary: An event
description: 'The whole event as it was stored, scrubbed, with its issue: exceptions and frames with variables, breadcrumbs, request, user, contexts, tags, extra and the grouping used.'
parameters:
- name: eventId
in: path
required: true
schema:
type: string
description: 32 hex digits, dashes or not.
- name: app
in: query
schema:
type: string
description: The app's id or slug; every app the key reaches when left out.
responses:
'200':
description: The event.
content:
application/json:
schema:
$ref: '#/components/schemas/Event'
'401':
description: No key, or a key that is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Nothing by that id that this key reaches.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: More than 120 requests in a minute on this key. Retry-After says in how many seconds the minute is up.
headers:
Retry-After:
description: Seconds until the minute is up.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'500':
description: Something went wrong on our side.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Events could not be read just now; try again shortly.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
EventList:
type: object
properties:
events:
type: array
items:
$ref: '#/components/schemas/EventRow'
cursor:
type:
- string
- 'null'
description: Pass it as cursor for the next page; null on the last.
EventRow:
type: object
properties:
id:
type: string
description: The event id, 32 hex digits.
timestamp:
type: string
description: ISO 8601, UTC.
format: date-time
app:
type: object
properties:
id:
type: string
description: The app id.
name:
type: string
description: The app's name.
slug:
type: string
description: The app's slug.
issue:
type:
- object
- 'null'
properties:
id:
type: string
description: The issue id.
shortId:
type: string
description: Such as WEB-12.
level:
type: object
properties:
key:
type: string
description: The level it reads as, merges followed.
label:
type: string
description: The name shown.
color:
type: string
description: A colour by name.
enum:
- crimson
- red
- orange
- amber
- yellow
- green
- aqua
- teal
- blue
- violet
- indigo
- magenta
- plum
- grey
- ink
- ash
category:
type:
- object
- 'null'
properties:
key:
type: string
description: The category it reads as, merges followed.
label:
type: string
description: The name shown.
color:
type: string
description: A colour by name.
enum:
- crimson
- red
- orange
- amber
- yellow
- green
- aqua
- teal
- blue
- violet
- indigo
- magenta
- plum
- grey
- ink
- ash
title:
type: string
description: The exception's type and value, or the message.
culprit:
type: string
description: Where it happened.
environment:
type:
- string
- 'null'
description: As sent.
release:
type:
- string
- 'null'
description: As sent.
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
description: 'A short machine-readable reason: unauthenticated, read_only, forbidden, not_found, bad_request, conflict, plan_limit, too_broad, rate_limited, suspended, out_of_reach, internal, unavailable.'
message:
type: string
description: What went wrong, in words.
required:
- code
- message
required:
- error
Event:
type: object
properties:
id:
type: string
description: The event id, 32 hex digits.
app:
type: object
properties:
id:
type: string
description: The app id.
name:
type: string
description: The app's name.
slug:
type: string
description: The app's slug.
issue:
type:
- object
- 'null'
properties:
id:
type: string
description: The issue id.
shortId:
type: string
description: Such as WEB-12.
event:
type: object
description: The event as StoredEvent keeps it (docs/errors-intake.md, Stored event), scrubbed as it was stored.
securitySchemes:
bearer:
type: http
scheme: bearer
description: 'Authorization: Bearer sk_... with a key from Settings, API keys, or an OAuth access token (sat_...) from /oauth/token, which /.well-known/oauth-authorization-server describes. An agent nobody has claimed yet holds a sag_... token, which reaches /agent/draft only (see /auth.md).'