Sapling Service API

Health and version probes (no API key).

Operations 2

GET /api/v1/liveness Liveness probe #
GET /api/v1/version Server version #

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/sapling:sapling-service-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

sapling-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sapling Service API
  version: 1.4.3
  contact:
    name: Sapling AI
    url: https://sapling.ai
  termsOfService: https://sapling.ai/terms
  description: 'Operations tagged service across 2 of this provider''s published API definitions: api-sapling-openapi.json, sapling-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: The deployment serving this document
  url: https://api.sapling.ai
security:
- bearerAuth: []
- oauth2:
  - sapling:api
- {}
tags:
- description: Health and version probes (no API key).
  name: Service
paths:
  /api/v1/liveness:
    get:
      description: Answers 200 while the API process is up.
      externalDocs:
        url: https://sapling.ai/docs/api
      operationId: sapling_liveness
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  msg:
                    enum:
                    - alive
                    type: string
                type: object
          description: Alive.
      security: []
      summary: Liveness probe
      tags:
      - Service
    servers:
    - description: The deployment serving this document
      url: https://api.sapling.ai
  /api/v1/version:
    get:
      description: Release and build identifiers of the serving deployment.
      externalDocs:
        url: https://sapling.ai/docs/api
      operationId: sapling_version
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  build:
                    type: string
                  version:
                    type: string
                type: object
          description: Version.
      security: []
      summary: Server version
      tags:
      - Service
    servers:
    - description: The deployment serving this document
      url: https://api.sapling.ai
components:
  securitySchemes:
    apiKeyQuery:
      description: Sapling API key passed as the `key` query parameter, an alternative to the Authorization bearer header.
      in: query
      name: key
      type: apiKey
    bearerAuth:
      description: Sapling API key. Language-tool operations also accept an OAuth access token from the Sapling authorization server — see the oauth2 scheme. The key may instead be sent as a `key` field in the JSON body, which takes precedence when both are present.
      scheme: bearer
      type: http
    oauth2:
      description: 'OAuth 2.1 authorization code flow with PKCE (S256). Clients may register dynamically (RFC 7591) at https://api.sapling.ai/oauth/register; server metadata is at https://api.sapling.ai/.well-known/oauth-authorization-server. The access token is sent as an `Authorization: Bearer` header and is accepted only on the language-tool operations that advertise OAuth security. Other authenticated operations require an API key.'
      flows:
        authorizationCode:
          authorizationUrl: https://api.sapling.ai/oauth/authorize
          refreshUrl: https://api.sapling.ai/oauth/token
          scopes:
            offline_access: Receive a refresh token so access survives the 24-hour access-token lifetime.
            sapling:api: Call the Sapling language-tool endpoints in this document on behalf of the user, billed to the API key they choose at consent.
          tokenUrl: https://api.sapling.ai/oauth/token
      type: oauth2
externalDocs:
  description: API documentation
  url: https://sapling.ai/docs/api
x-refined-from:
- api-sapling-openapi.json
- sapling-openapi.json