StatOSS Views API
Saved views: a search and the filter bar kept under a name for the team, in Logs, Issues and Explore.
Saved views: a search and the filter bar kept under a name for the team, in Logs, Issues and Explore.
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-views-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 Views 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: Views
description: 'Saved views: a search and the filter bar kept under a name for the team, in Logs, Issues and Explore.'
paths:
/views:
get:
tags:
- Views
operationId: listViews
summary: List saved views
description: The team's saved views, by area then name. A key held to a page sees only its apps in each.
parameters:
- name: area
in: query
schema:
type: string
enum:
- logs
- issues
- explore
description: Only this area's; every area when left out.
responses:
'200':
description: The views.
content:
application/json:
schema:
$ref: '#/components/schemas/SavedViewList'
'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, or the team has no logs.
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'
post:
tags:
- Views
operationId: createView
summary: Save a view
description: Saves a search and the filter bar under a name for the team; up to 100 in an area. A key held to a page names its apps in filters.apps.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SavedViewInput'
example:
area: logs
name: Checkout errors
query: service:checkout level:>=error
filters:
apps:
- checkout-api
environment: production
responses:
'201':
description: The view.
content:
application/json:
schema:
$ref: '#/components/schemas/SavedView'
'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'
'403':
description: A read-only key on a write route, or a token for someone who does not manage the team.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Nothing by that id that this key reaches, or the team has no logs.
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'
/views/{viewId}:
patch:
tags:
- Views
operationId: updateView
summary: Change a view
description: Any of name, query and filters; filters are replaced whole.
parameters:
- name: viewId
in: path
required: true
schema:
type: string
description: The view id, from GET /views.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SavedViewPatch'
example:
name: Checkout 5xx
responses:
'200':
description: The view after.
content:
application/json:
schema:
$ref: '#/components/schemas/SavedView'
'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'
'403':
description: A read-only key on a write route, or a token for someone who does not manage the team.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Nothing by that id that this key reaches, or the team has no logs.
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'
delete:
tags:
- Views
operationId: removeView
summary: Remove a view
description: 'Removes it for everyone on the team. Without "confirm": true in the body (or ?confirm=true) nothing changes and the answer says what it would do.'
parameters:
- name: viewId
in: path
required: true
schema:
type: string
description: The view id, from GET /views.
- name: confirm
in: query
schema:
type: boolean
description: 'true goes ahead; "confirm": true in the body does the same. Left out, the answer says what would happen and nothing changes.'
responses:
'200':
description: What it would do, without confirm.
content:
application/json:
schema:
$ref: '#/components/schemas/SavedViewRemoval'
'204':
description: Removed.
'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'
'403':
description: A read-only key on a write route, or a token for someone who does not manage the team.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Nothing by that id that this key reaches, or the team has no logs.
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'
components:
schemas:
SavedView:
type: object
properties:
id:
type: string
description: The view id.
area:
type: string
description: Where it opens.
enum:
- logs
- issues
- explore
name:
type: string
description: Up to 80 characters.
query:
type: string
description: The area's search box as written.
filters:
$ref: '#/components/schemas/ViewFilters'
createdBy:
type:
- string
- 'null'
description: The person who saved it.
createdAt:
type: string
description: ISO 8601, UTC.
format: date-time
updatedAt:
type: string
description: ISO 8601, UTC.
format: date-time
url:
type: string
description: The area with the view open.
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
SavedViewInput:
type: object
properties:
area:
type: string
description: Where it opens.
enum:
- logs
- issues
- explore
name:
type: string
description: Up to 80 characters.
query:
type: string
description: 'The area''s search box as written (/docs/search): up to 2,000 characters for logs, 500 for issues, 200 for explore. It must read.'
filters:
$ref: '#/components/schemas/ViewFilters'
required:
- area
- name
ViewFilters:
type: object
properties:
apps:
oneOf:
- type: string
description: '"all" or "my" (the starred ones).'
enum:
- all
- my
- type: array
items:
type: string
description: An app id.
description: 'The apps: "all", "my", or app ids. Slugs are taken on the way in and kept as ids.'
environment:
type:
- string
- 'null'
description: An environment's name; null for every one.
range:
type: string
description: 'How far back: 15m, 1h, 24h, 7d, 14d, 30d for logs; 1h, 24h, 7d, 14d, 30d, 90d for issues and explore.'
tab:
type: string
description: Issues only.
enum:
- unresolved
- review
- regressed
- archived
- resolved
sort:
type: string
description: Issues only.
enum:
- last
- first
- events
- users
level:
type: string
description: 'Explore only: a level''s key.'
category:
type: string
description: 'Explore only: a category''s key.'
field:
type: string
description: 'Explore only: a field''s key.'
value:
type: string
description: 'Explore only: the value the field holds.'
SavedViewPatch:
type: object
properties:
name:
type: string
description: Up to 80 characters.
query:
type: string
description: The area's search box as written.
filters:
$ref: '#/components/schemas/ViewFilters'
description: Replaced whole.
SavedViewRemoval:
type: object
properties:
done:
type: boolean
description: 'false: nothing changed, this is what it would do.'
confirm:
type: boolean
description: 'Send confirm: true to go ahead.'
summary:
type: string
description: What it would do, in words.
view:
$ref: '#/components/schemas/SavedView'
SavedViewList:
type: object
properties:
views:
type: array
items:
$ref: '#/components/schemas/SavedView'
description: By area, then name.
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).'