SewerAI Core API

The core API from SewerAI — 15 operation(s) for core.

Operations 16

POST /core/SAIAnalytics/ Core SAI analytics #
GET /core/StatFuncList/ Core stat func list #
GET /core/import_users/ Core import users #
GET /core/notifications/ Core notifications #
POST /core/push_notification/ Core push notification #
POST /core/roi/ Core roi #
POST /core/set_tos_accepted/ Core set tos accepted #
POST /core/set_user_hotbuttons/ Core set user hotbuttons #
POST /core/slack/ Core slack #
POST /core/stats/ Core stats #
POST /core/submit_jira_issue/ Core submit jira issue #
POST /core/subscribe/ Core subscribe #
GET /core/test_push/ Core test push #
GET /core/user/ Core user read #
PATCH /core/user/ Core user partial update #
GET /core/users/ Core users #

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/sewerai-core-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sewerai-core-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snippets Core API
  description: Test description
  termsOfService: https://www.google.com/policies/terms/
  contact:
    email: contact@snippets.local
  license:
    name: BSD License
  version: v1
servers:
- url: https://574ea6n6tdopt2qigvs3hjzoha0nhhvj.lambda-url.us-west-2.on.aws/
security:
- Basic: []
tags:
- name: Core
paths:
  /core/SAIAnalytics/:
    parameters: []
    post:
      operationId: core_SAIAnalytics
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core SAI analytics
      x-summary-source: derived
  /core/StatFuncList/:
    parameters: []
    get:
      operationId: core_StatFuncList
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core stat func list
      x-summary-source: derived
  /core/import_users/:
    parameters: []
    get:
      operationId: core_import_users
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core import users
      x-summary-source: derived
  /core/notifications/:
    parameters: []
    get:
      operationId: core_notifications
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core notifications
      x-summary-source: derived
  /core/push_notification/:
    parameters: []
    post:
      operationId: core_push_notification
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core push notification
      x-summary-source: derived
  /core/roi/:
    parameters: []
    post:
      operationId: core_roi
      description: 'example body

        {

        "body": {

        "projectScope": "",

        "footPerShift": 1500,

        "bidPrice": "2.00",

        "theirCostPerFoot": "2.01",

        "saiCostPerFoot": "1.26",

        "shiftsSAI": "",

        "theirShifts": "",

        "email": "example@sewerai.com",

        "savings": "",

        "additionalProfit": "100000.00"

        }

        }'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core roi
      x-summary-source: derived
  /core/set_tos_accepted/:
    parameters: []
    post:
      operationId: core_set_tos_accepted
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core set tos accepted
      x-summary-source: derived
  /core/set_user_hotbuttons/:
    parameters: []
    post:
      operationId: core_set_user_hotbuttons
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core set user hotbuttons
      x-summary-source: derived
  /core/slack/:
    parameters: []
    post:
      operationId: core_slack
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core slack
      x-summary-source: derived
  /core/stats/:
    parameters: []
    post:
      operationId: core_stats
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core stats
      x-summary-source: derived
  /core/submit_jira_issue/:
    parameters: []
    post:
      operationId: core_submit_jira_issue
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core submit jira issue
      x-summary-source: derived
  /core/subscribe/:
    parameters: []
    post:
      operationId: core_subscribe
      description: API endpoint that returns user data.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core subscribe
      x-summary-source: derived
  /core/test_push/:
    parameters: []
    get:
      operationId: core_test_push
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core test push
      x-summary-source: derived
  /core/user/:
    parameters: []
    get:
      operationId: core_user_read
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core user read
      x-summary-source: derived
    patch:
      operationId: core_user_partial_update
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
      tags:
      - Core
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/User'
        required: true
      summary: Core user partial update
      x-summary-source: derived
  /core/users/:
    parameters: []
    get:
      operationId: core_users
      description: API endpoint that returns user data.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
      tags:
      - Core
      summary: Core users
      x-summary-source: derived
components:
  schemas:
    Certificate:
      type: object
      properties:
        number:
          title: Certificate Number
          description: The Certificate Number
          type:
          - string
          - 'null'
          maxLength: 64
        cert_date:
          title: Cert date
          type:
          - string
          - 'null'
          format: date-time
    User:
      required:
      - username
      - email
      - admin
      - staff
      - labeler
      - is_senior_labeler
      - picture
      - certificates
      - joined
      - email_verified
      - phone_number
      - organization
      - country_code
      - country_area_code
      - country_area
      - city
      - postal_code
      type: object
      properties:
        sid:
          title: Sid
          type: string
          format: uuid
          readOnly: true
        username:
          title: Username
          description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
          type: string
          pattern: ^[\w.@+-]+$
          maxLength: 150
          minLength: 1
        first_name:
          title: First name
          type: string
          maxLength: 150
        last_name:
          title: Last name
          type: string
          maxLength: 150
        email:
          title: Email
          type: string
          format: email
          maxLength: 254
          minLength: 1
        admin:
          title: Admin
          type: boolean
        staff:
          title: Staff
          type: boolean
        labeler:
          title: Labeler
          type: boolean
        is_senior_labeler:
          title: Is senior labeler
          type: boolean
        tos_accepted:
          title: Tos accepted
          type: string
          readOnly: true
        picture:
          title: Picture
          type: string
        certificates:
          type: array
          items:
            $ref: '#/components/schemas/Certificate'
        account_level:
          title: Account level
          type: string
          readOnly: true
        joined:
          title: Joined
          type: string
          minLength: 1
        email_verified:
          title: Email verified
          type: boolean
        phone_number:
          title: Phone number
          type: string
        organization:
          title: Organization
          type: string
        country_code:
          title: Country code
          type: string
        country_area_code:
          title: Country area code
          type: string
        country_area:
          title: Country area
          type: string
        city:
          title: City
          type: string
        postal_code:
          title: Postal code
          type: string
        token:
          title: Token
          type: string
          readOnly: true
        auth_type:
          title: Auth type
          type: string
          readOnly: true
        auth_token:
          title: Auth token
          type: string
          readOnly: true
        source:
          title: Source
          type: string
          readOnly: true
        meta:
          title: Meta
          type: object
  securitySchemes:
    Basic:
      type: http
      scheme: basic