SewerAI Assets API

The Assets API from SewerAI — 2 operation(s) for assets.

Operations 6

GET /v1/assets/ V1 assets list #
POST /v1/assets/ V1 assets create #
GET /v1/assets/{sid}/ V1 assets read #
PUT /v1/assets/{sid}/ V1 assets update #
PATCH /v1/assets/{sid}/ V1 assets partial update #
DELETE /v1/assets/{sid}/ V1 assets delete #

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:sewerai-assets-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-assets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snippets Assets 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: Assets
paths:
  /v1/assets/:
    parameters: []
    get:
      operationId: v1_assets_list
      description: Asset endpoint.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AssetList'
      tags:
      - Assets
      summary: V1 assets list
      x-summary-source: derived
    post:
      operationId: v1_assets_create
      description: Asset endpoint.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainlineAssetWrite'
      tags:
      - Assets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MainlineAssetWrite'
        required: true
      summary: V1 assets create
      x-summary-source: derived
  /v1/assets/{sid}/:
    parameters:
    - name: sid
      in: path
      required: true
      schema:
        type: string
        format: uuid
    get:
      operationId: v1_assets_read
      description: Asset endpoint.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainlineAssetRead'
      tags:
      - Assets
      summary: V1 assets read
      x-summary-source: derived
    put:
      operationId: v1_assets_update
      description: Asset endpoint.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainlineAssetWrite'
      tags:
      - Assets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MainlineAssetWrite'
        required: true
      summary: V1 assets update
      x-summary-source: derived
    patch:
      operationId: v1_assets_partial_update
      description: Asset endpoint.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MainlineAssetWrite'
      tags:
      - Assets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MainlineAssetWrite'
        required: true
      summary: V1 assets partial update
      x-summary-source: derived
    delete:
      operationId: v1_assets_delete
      description: Asset endpoint.
      responses:
        '204':
          description: ''
      tags:
      - Assets
      summary: V1 assets delete
      x-summary-source: derived
components:
  schemas:
    MainlineAssetRead:
      required:
      - name
      - kind
      - city
      type: object
      properties:
        url:
          title: Url
          type: string
          format: uri
          readOnly: true
        sid:
          title: Sid
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 1024
          minLength: 1
        key:
          title: Key
          type:
          - string
          - 'null'
          maxLength: 128
          minLength: 1
        owner:
          title: Owner
          type: string
          format: uri
          readOnly: true
        kind:
          title: Kind
          type: string
          enum:
          - mainline
          - lateral
          - maintenance-hole
        geojson:
          title: Geojson
          type: object
        city:
          title: City
          type: string
          minLength: 1
        city_area:
          title: City area
          type: string
          minLength: 1
        country_area:
          title: Country area
          type: string
          minLength: 1
        country_code:
          title: Country code
          type: string
          minLength: 1
        postal_code:
          title: Postal code
          type: string
          minLength: 1
        sorting_code:
          title: Sorting code
          type: string
          minLength: 1
        street_address:
          title: Street address
          type: string
          minLength: 1
        created:
          title: Created
          type: string
          format: date-time
          readOnly: true
        created_by:
          title: Created by
          type: string
          format: uri
          readOnly: true
        updated:
          title: Updated
          type: string
          format: date-time
          readOnly: true
        updated_by:
          title: Updated by
          type: string
          format: uri
          readOnly: true
        deleted:
          title: Deleted
          type: string
          format: date-time
          readOnly: true
        deleted_by:
          title: Deleted by
          type: string
          format: uri
          readOnly: true
        account:
          title: Account
          type: string
          format: uri
          readOnly: true
        category:
          title: Category
          type:
          - string
          - 'null'
          minLength: 1
        metric:
          title: Metric
          type:
          - boolean
          - 'null'
        shape:
          title: Shape
          type:
          - string
          - 'null'
          minLength: 1
        host_material:
          title: Host material
          type:
          - string
          - 'null'
          minLength: 1
        renewal_method:
          title: Renewal method
          type:
          - string
          - 'null'
          minLength: 1
        renewal_year:
          title: Renewal year
          type:
          - string
          - 'null'
          minLength: 1
        length:
          title: Length
          type:
          - number
          - 'null'
        height:
          title: Height
          type:
          - number
          - 'null'
        width:
          title: Width
          type:
          - number
          - 'null'
        joint_distance:
          title: Joint distance
          type:
          - number
          - 'null'
        rim_to_invert:
          title: Rim to invert
          type:
          - number
          - 'null'
        rim_to_grade:
          title: Rim to grade
          type:
          - number
          - 'null'
    AssetList:
      required:
      - name
      - kind
      - city
      type: object
      properties:
        url:
          title: Url
          type: string
          format: uri
          readOnly: true
        sid:
          title: Sid
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 1024
          minLength: 1
        key:
          title: Key
          type:
          - string
          - 'null'
          maxLength: 128
          minLength: 1
        owner:
          title: Owner
          type: string
          format: uri
          readOnly: true
        kind:
          title: Kind
          type: string
          enum:
          - mainline
          - lateral
          - maintenance-hole
        geojson:
          title: Geojson
          type: object
        city:
          title: City
          type: string
          minLength: 1
        city_area:
          title: City area
          type: string
          minLength: 1
        country_area:
          title: Country area
          type: string
          minLength: 1
        country_code:
          title: Country code
          type: string
          minLength: 1
        postal_code:
          title: Postal code
          type: string
          minLength: 1
        sorting_code:
          title: Sorting code
          type: string
          minLength: 1
        street_address:
          title: Street address
          type: string
          minLength: 1
        created:
          title: Created
          type: string
          format: date-time
          readOnly: true
        created_by:
          title: Created by
          type: string
          format: uri
          readOnly: true
        updated:
          title: Updated
          type: string
          format: date-time
          readOnly: true
        updated_by:
          title: Updated by
          type: string
          format: uri
          readOnly: true
        deleted:
          title: Deleted
          type: string
          format: date-time
          readOnly: true
        deleted_by:
          title: Deleted by
          type: string
          format: uri
          readOnly: true
        account:
          title: Account
          type: string
          format: uri
          readOnly: true
    MainlineAssetWrite:
      required:
      - name
      - city
      type: object
      properties:
        url:
          title: Url
          type: string
          format: uri
          readOnly: true
        sid:
          title: Sid
          type: string
          format: uuid
          readOnly: true
        name:
          title: Name
          type: string
          maxLength: 1024
          minLength: 1
        key:
          title: Key
          type:
          - string
          - 'null'
          maxLength: 128
          minLength: 1
        owner:
          title: Owner
          type:
          - string
          - 'null'
          format: uuid
        kind:
          title: Kind
          type: string
          default: mainline
          minLength: 1
        geojson:
          title: Geojson
          type: object
        city:
          title: City
          type: string
          minLength: 1
        city_area:
          title: City area
          type: string
          minLength: 1
        country_area:
          title: Country area
          type: string
          minLength: 1
        country_code:
          title: Country code
          type: string
          minLength: 1
        postal_code:
          title: Postal code
          type: string
          minLength: 1
        sorting_code:
          title: Sorting code
          type: string
          minLength: 1
        street_address:
          title: Street address
          type: string
          minLength: 1
        created:
          title: Created
          type: string
          format: date-time
          readOnly: true
        created_by:
          title: Created by
          type: string
          format: uri
          readOnly: true
        updated:
          title: Updated
          type: string
          format: date-time
          readOnly: true
        updated_by:
          title: Updated by
          type: string
          format: uri
          readOnly: true
        deleted:
          title: Deleted
          type: string
          format: date-time
          readOnly: true
        deleted_by:
          title: Deleted by
          type: string
          format: uri
          readOnly: true
        account:
          title: Account
          type: string
          format: uuid
        category:
          title: Category
          type:
          - string
          - 'null'
          minLength: 1
        metric:
          title: Metric
          type:
          - boolean
          - 'null'
        shape:
          title: Shape
          type:
          - string
          - 'null'
          minLength: 1
        host_material:
          title: Host material
          type:
          - string
          - 'null'
          minLength: 1
        renewal_method:
          title: Renewal method
          type:
          - string
          - 'null'
          minLength: 1
        renewal_year:
          title: Renewal year
          type:
          - string
          - 'null'
          minLength: 1
        length:
          title: Length
          type:
          - number
          - 'null'
        height:
          title: Height
          type:
          - number
          - 'null'
        width:
          title: Width
          type:
          - number
          - 'null'
        joint_distance:
          title: Joint distance
          type:
          - number
          - 'null'
        rim_to_invert:
          title: Rim to invert
          type:
          - number
          - 'null'
        rim_to_grade:
          title: Rim to grade
          type:
          - number
          - 'null'
  securitySchemes:
    Basic:
      type: http
      scheme: basic