StatOSS API keys API

The account's API keys. A key makes keys no broader than itself, and one made through a connected app is deleted when the app is disconnected or its access revoked. For the owner and admins.

GitHub OpenAPI

Operations 3

GET /keys List API keys #
POST /keys Make an API key #
DELETE /keys/{keyId} Revoke an API key #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/statoss-com:statoss-com-api-keys-api"
All apis
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.

Get an API 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 Specification

statoss-com-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StatOSS API keys 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: API Keys
  description: The account's API keys. A key makes keys no broader than itself, and one made through a connected app is deleted when the app is disconnected or its access revoked. For the owner and admins.
paths:
  /keys:
    get:
      tags:
      - API Keys
      operationId: listApiKeys
      summary: List API keys
      description: Newest first, never the key itself. For the owner's and admins' keys. A key held to one page sees the keys held to its page.
      responses:
        '200':
          description: The keys.
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      $ref: '#/components/schemas/ApiKey'
              example:
                keys:
                - id: k-9a1b
                  name: CI
                  prefix: sk_Ab3dEf
                  access: write
                  pageId: 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  madeBy: null
                  createdAt: '2026-10-12T08:10:00.000Z'
                  lastUsedAt: null
        '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, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              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:
      - API Keys
      operationId: createApiKey
      summary: Make an API key
      description: 'Needs a key that writes, and the owner''s or an admin''s. The new key is no broader than the one making it: not more access, and from a key held to one page only for that page (a 403 otherwise). A token follows its person''s role and scope, and a key made through a connected app is deleted when the app is disconnected or its access revoked (madeBy names it). At most 25 keys. The secret is in this answer once and is not stored.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKeyInput'
            example:
              name: CI
              access: write
              pageId: 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
      responses:
        '201':
          description: The key and its secret.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NewApiKey'
              example:
                key:
                  id: k-9a1b
                  name: CI
                  prefix: sk_Ab3dEf
                  access: write
                  pageId: 7c2d9e4a-0000-4b1c-8a3f-2e1d0c9b8a77
                  madeBy: null
                  createdAt: '2026-10-12T08:10:00.000Z'
                  lastUsedAt: null
                secret: sk_Ab3dEf...
        '400':
          description: The body or the query 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, a key that does not reach this, or a person who is not the team's owner or an admin.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: The plan or a limit does not allow it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: More than 120 requests in a minute on this key, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              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'
  /keys/{keyId}:
    delete:
      tags:
      - API Keys
      operationId: revokeApiKey
      summary: Revoke an API key
      description: Whatever uses it stops working. A key held to one page revokes only the keys held to its page.
      parameters:
      - name: keyId
        in: path
        required: true
        schema:
          type: string
        description: The key id, from GET /keys.
      responses:
        '204':
          description: Revoked.
        '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, a key that does not reach this, or a person who is not the team's owner or an admin.
          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, or too many mails or tests for now. Retry-After says in how many seconds to try again.
          headers:
            Retry-After:
              description: Seconds until it may be tried again.
              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:
    NewApiKey:
      type: object
      properties:
        key:
          $ref: '#/components/schemas/ApiKey'
        secret:
          type: string
          description: The key itself, sk_... Shown here once and not stored.
    ApiKeyInput:
      type: object
      properties:
        name:
          type: string
          description: What the key is for, up to 60 characters.
        access:
          type: string
          description: read, or write for read and write. Default read.
          enum:
          - read
          - write
        pageId:
          type:
          - string
          - 'null'
          description: 'Hold the key to this page. Left out: every page, or the page the key making it is held to.'
      required:
      - name
    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
    ApiKey:
      type: object
      properties:
        id:
          type: string
          description: The key id.
        name:
          type: string
          description: The name given at creation.
        prefix:
          type: string
          description: The first characters of the key, to tell keys apart.
        access:
          type: string
          description: read, or write for read and write.
          enum:
          - read
          - write
        pageId:
          type:
          - string
          - 'null'
          description: The one page the key reaches, or null for every page.
        madeBy:
          type:
          - string
          - 'null'
          description: The name of the connected app whose token made the key, or null for a key made in the dashboard or by another key. The key is deleted when the app is disconnected or its access revoked.
        createdAt:
          type: string
          description: ISO 8601, UTC.
          format: date-time
        lastUsedAt:
          type:
          - string
          - 'null'
          description: ISO 8601, UTC.
          format: date-time
  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).'