Stonewake Monitoring API

The Monitoring API from Stonewake — 3 operation(s) for monitoring.

GitHub OpenAPI

Operations 3

GET /v1/monitoring/targets List Targets #
GET /v1/monitoring/catalog List Catalog #
GET /v1/monitoring/sources List Sources #

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/stonewake-ai:stonewake-ai-monitoring-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

stonewake-ai-monitoring-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stonewake Monitoring API
  description: 'Read-only API for Stonewake credit monitoring, entity risk, and country intelligence. Documentation and setup guides: https://docs.stonewake.ai. Access is arranged per customer workspace.'
  termsOfService: https://stonewake.ai/terms
  contact:
    name: Stonewake
    url: https://stonewake.ai/contact
    email: contact@stonewake.ai
  license:
    name: Proprietary
    url: https://stonewake.ai/terms
  version: 1.0.0
servers:
- url: https://api.stonewake.ai
  description: Production
tags:
- name: Monitoring
paths:
  /v1/monitoring/targets:
    get:
      tags:
      - Monitoring
      summary: List Targets
      description: 'This tenant''s research targets with health, team-scoped like the

        dashboard''s Research list.'
      operationId: list_targets_v1_monitoring_targets_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
        description: The most rows the page holds, 1 to 100.
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          maximum: 9223372036854775807
          minimum: 0
          default: 0
          title: Offset
        description: How many rows of the whole result to skip before this page, 0 to 9223372036854775807.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1Page_V1MonitoringTargetOut_'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '401':
          description: The credential was missing or not accepted, code unauthenticated. The body is the same for every cause.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '403':
          description: The credential or the workspace does not allow this request, code forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '429':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
              required: true
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: A traffic ceiling was reached, code rate_limited or daily_quota_exceeded. Retry after the seconds in Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1RetryErrorOut'
        '503':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: The request could not be served safely, code quota_unavailable, server_busy or service_unavailable. Retry after the seconds in Retry-After where it is sent, otherwise with backoff. A service_unavailable 503 also carries detail.
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/V1ErrorOut'
                - $ref: '#/components/schemas/V1RetryErrorOut'
                - $ref: '#/components/schemas/V1DetailOut'
                title: Response 503 List Targets V1 Monitoring Targets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
      security:
      - bearerAuth: []
  /v1/monitoring/catalog:
    get:
      tags:
      - Monitoring
      summary: List Catalog
      description: 'The caller-desk''s verified catalog of organizations research can cover,

        each flagged with whether this tenant already researches it: the upstream

        read (desk entitlement gate included) behind the one page envelope.'
      operationId: list_catalog_v1_monitoring_catalog_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 100
          title: Limit
        description: The most rows the page holds, 1 to 100.
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          maximum: 9223372036854775807
          minimum: 0
          default: 0
          title: Offset
        description: How many rows of the whole result to skip before this page, 0 to 9223372036854775807.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1Page_CatalogEntryOut_'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '401':
          description: The credential was missing or not accepted, code unauthenticated. The body is the same for every cause.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '403':
          description: The credential or the workspace does not allow this request, code forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '429':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
              required: true
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: A traffic ceiling was reached, code rate_limited or daily_quota_exceeded. Retry after the seconds in Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1RetryErrorOut'
        '503':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: The request could not be served safely, code quota_unavailable, server_busy or service_unavailable. Retry after the seconds in Retry-After where it is sent, otherwise with backoff. A service_unavailable 503 also carries detail.
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/V1ErrorOut'
                - $ref: '#/components/schemas/V1RetryErrorOut'
                - $ref: '#/components/schemas/V1DetailOut'
                title: Response 503 List Catalog V1 Monitoring Catalog Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
      security:
      - bearerAuth: []
  /v1/monitoring/sources:
    get:
      tags:
      - Monitoring
      summary: List Sources
      description: 'This tenant''s research sources, the pages and feeds research reads directly on a

        cadence rather than finding them through web search, team scoped like the dashboard

        list. Every source is listed with `active`, a switched off one too, and only an active

        one is read.'
      operationId: list_sources_v1_monitoring_sources_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
        description: The most rows the page holds, 1 to 100.
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          maximum: 9223372036854775807
          minimum: 0
          default: 0
          title: Offset
        description: How many rows of the whole result to skip before this page, 0 to 9223372036854775807.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1Page_WatchSourceOut_'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '401':
          description: The credential was missing or not accepted, code unauthenticated. The body is the same for every cause.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '403':
          description: The credential or the workspace does not allow this request, code forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1ErrorOut'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
        '429':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
              required: true
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: A traffic ceiling was reached, code rate_limited or daily_quota_exceeded. Retry after the seconds in Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1RetryErrorOut'
        '503':
          headers:
            Retry-After:
              description: Seconds to wait before the next request.
              schema:
                type: integer
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
          description: The request could not be served safely, code quota_unavailable, server_busy or service_unavailable. Retry after the seconds in Retry-After where it is sent, otherwise with backoff. A service_unavailable 503 also carries detail.
          content:
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/V1ErrorOut'
                - $ref: '#/components/schemas/V1RetryErrorOut'
                - $ref: '#/components/schemas/V1DetailOut'
                title: Response 503 List Sources V1 Monitoring Sources Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          headers:
            RateLimit-Policy:
              description: The traffic ceilings that apply, one item per ceiling, each q requests per w seconds (docs.stonewake.ai/errors).
              required: true
              schema:
                type: string
      security:
      - bearerAuth: []
components:
  schemas:
    V1RetryErrorBodyOut:
      properties:
        code:
          type: string
          title: Code
          description: rate_limited or daily_quota_exceeded on a 429, server_busy on a 503.
        message:
          type: string
          title: Message
          description: Plain text, one fixed message per code. docs.stonewake.ai/errors lists it.
        retry_after_seconds:
          type: integer
          title: Retry After Seconds
          description: Seconds to wait before the next request, equal to the Retry-After header.
      type: object
      required:
      - code
      - message
      - retry_after_seconds
      title: V1RetryErrorBodyOut
      description: A refusal that names when to retry, a traffic ceiling or server_busy.
    V1Page_V1MonitoringTargetOut_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/V1MonitoringTargetOut'
          type: array
          title: Items
          description: This page's rows, in the order the endpoint states.
        limit:
          type: integer
          title: Limit
          description: The most rows this page could hold, as asked or by default.
        offset:
          type: integer
          title: Offset
          description: How many rows of the whole result come before this page.
        total:
          type: integer
          title: Total
          description: The exact count of rows after filtering, across every page.
      type: object
      required:
      - items
      - limit
      - offset
      - total
      title: V1Page[V1MonitoringTargetOut]
    V1Page_CatalogEntryOut_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/CatalogEntryOut'
          type: array
          title: Items
          description: This page's rows, in the order the endpoint states.
        limit:
          type: integer
          title: Limit
          description: The most rows this page could hold, as asked or by default.
        offset:
          type: integer
          title: Offset
          description: How many rows of the whole result come before this page.
        total:
          type: integer
          title: Total
          description: The exact count of rows after filtering, across every page.
      type: object
      required:
      - items
      - limit
      - offset
      - total
      title: V1Page[CatalogEntryOut]
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
          description: Where the failure is, the part of the request (path, query or body) and then the parameter or field.
        msg:
          type: string
          title: Message
          description: What failed, in one plain sentence. For an unknown query parameter it names the parameters the endpoint reads.
        type:
          type: string
          title: Error Type
          description: The kind of failure, such as missing, value_error, extra_forbidden for a query parameter the endpoint does not read, literal_error for a closed value outside its list, finite_number for a number that is not finite, such as 1e400, inf or nan, timezone_aware for a date and time without a UTC offset, or too_many_errors for the entry that counts the entries beyond the first 10.
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    V1DetailOut:
      properties:
        error:
          $ref: '#/components/schemas/V1ErrorBodyOut'
          description: The refusal, its code service_unavailable and that code's fixed message.
        detail:
          type: string
          title: Detail
          description: Why the request could not be served, in one plain sentence. Retry with backoff.
      type: object
      required:
      - error
      - detail
      title: V1DetailOut
      description: A 503 that names no code of its own, so it carries the envelope code service_unavailable beside its detail. Retry with backoff.
    CatalogEntryOut:
      properties:
        entity:
          type: string
          title: Entity
          description: The organization the catalog entry covers.
        entity_type:
          type: string
          title: Entity Type
          description: The kind of organization.
        region:
          type: string
          title: Region
          description: The entry's region.
        country:
          type: string
          title: Country
          description: The entry's country.
        description:
          type: string
          title: Description
          description: What the organization is, in one sentence.
        context:
          type: string
          title: Context
          description: What research reads about it.
        recommended:
          type: boolean
          title: Recommended
          description: True for an entry your desk is recommended to research.
        cadence_seconds:
          type: integer
          title: Cadence Seconds
          description: The cadence research would check it at, in seconds.
        added:
          type: boolean
          title: Added
          description: True when your workspace already researches it.
      type: object
      required:
      - entity
      - entity_type
      - region
      - country
      - description
      - context
      - recommended
      - cadence_seconds
      - added
      title: CatalogEntryOut
      description: 'A verified-catalog entry the picker renders, with `added` telling the UI which entities

        this tenant already researches (so they show as added rather than selectable).'
    V1ErrorBodyOut:
      properties:
        code:
          type: string
          title: Code
          description: A stable code, today one of unauthenticated (401), forbidden (403), not_found (404), method_not_allowed (405, a method the path does not serve, so no operation declares it), content_too_large (413), validation_failed (422), rate_limited and daily_quota_exceeded (429), internal_error (500), quota_unavailable, server_busy and service_unavailable (503). New codes may be added over time.
        message:
          type: string
          title: Message
          description: Plain text, one fixed message per code, except quota_unavailable, whose message names which of its two counts could not be verified. docs.stonewake.ai/errors lists every message.
      type: object
      required:
      - code
      - message
      title: V1ErrorBodyOut
      description: 'One refusal. Branch on code, never on message. Codes are stable, and new

        codes may be added over time.'
    V1Page_WatchSourceOut_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/WatchSourceOut'
          type: array
          title: Items
          description: This page's rows, in the order the endpoint states.
        limit:
          type: integer
          title: Limit
          description: The most rows this page could hold, as asked or by default.
        offset:
          type: integer
          title: Offset
          description: How many rows of the whole result come before this page.
        total:
          type: integer
          title: Total
          description: The exact count of rows after filtering, across every page.
      type: object
      required:
      - items
      - limit
      - offset
      - total
      title: V1Page[WatchSourceOut]
    WatchSourceOut:
      properties:
        id:
          type: integer
          title: Id
          description: The source's id.
        url:
          type: string
          title: Url
          description: The page or feed address.
        kind:
          type: string
          title: Kind
          description: rss for a feed or listing for a page.
        entity:
          type: string
          title: Entity
          description: The organization the source covers.
        entity_type:
          type: string
          title: Entity Type
          description: The kind of organization.
        context:
          anyOf:
          - type: string
          - type: 'null'
          title: Context
          description: What the source covers, null when it is not stated.
        cadence_seconds:
          type: integer
          title: Cadence Seconds
          description: How often the source is read, in seconds.
        last_checked_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Checked At
          description: When the source was last read, null before the first read.
        active:
          type: boolean
          title: Active
          description: Whether the source is read. A source switched off stays listed with its last check.
      type: object
      required:
      - id
      - url
      - kind
      - entity
      - entity_type
      - context
      - cadence_seconds
      - last_checked_at
      - active
      title: WatchSourceOut
      description: 'A research source, a page or feed research reads directly on a cadence rather than

        finding it through web search, with what it covers and when it was last checked.'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
          maxItems: 11
          description: At most 10 entries, in the order the request was checked. When there are more, one further entry of type too_many_errors with an empty loc counts them in its msg. A loc part longer than 64 bytes and a msg longer than 2,048 bytes are cut and end in ...
        error:
          type: object
          title: Error
          description: The refusal envelope, code validation_failed.
          properties:
            code:
              type: string
              description: validation_failed on every 422.
            message:
              type: string
              description: The fixed message of the code, never a value sent.
          required:
          - code
          - message
      type: object
      title: HTTPValidationError
      required:
      - error
    V1ErrorOut:
      properties:
        error:
          $ref: '#/components/schemas/V1ErrorBodyOut'
          description: The refusal, with its stable code and message.
      type: object
      required:
      - error
      title: V1ErrorOut
      description: 'The /v1 error envelope every 4xx refusal carries, except a 422 (its body names

        the parameter) and a 413 that arrives without a body.'
    V1RetryErrorOut:
      properties:
        error:
          $ref: '#/components/schemas/V1RetryErrorBodyOut'
          description: The refusal, with its stable code, its message and the seconds to wait.
      type: object
      required:
      - error
      title: V1RetryErrorOut
      description: 'The envelope of a refusal that names when to retry: every 429 and a 503 server_busy

        carry retry_after_seconds beside the Retry-After header.'
    V1MonitoringTargetOut:
      properties:
        id:
          type: integer
          title: Id
          description: The research target's id.
        entity:
          type: string
          title: Entity
          description: The organization or person research checks.
        entity_type:
          type: string
          title: Entity Type
          description: The kind of target, such as company, agency, person or deal.
        entity_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Entity Id
          description: The registry id of the target, null for a deal target or a name the registry does not resolve.
        context:
          anyOf:
          - type: string
          - type: 'null'
          title: Context
          description: Extra context research reads with the target, null when none was given.
        cadence_seconds:
          type: integer
          title: Cadence Seconds
          description: The cadence set on the target, in seconds.
        last_run_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Run At
          description: When research last checked the target, null before the first run.
        active:
          type: boolean
          title: Active
          description: Whether research checks the target.
        last_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Status
          description: The latest run's state, queued, running, done or dead, null before the first run.
        last_error:
          anyOf:
          - type: string
            enum:
            - run_failed
            - screening_allowance_reached
          - type: 'null'
          title: Last Error
          description: run_failed when the last run failed, screening_allowance_reached when a person's deep run waits for the monthly screening allowance, null otherwise.
        next_run_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Next Run At
          description: When research checks the target next, null when it is not scheduled.
        scheduled_cadence_seconds:
          type: integer
          title: Scheduled Cadence Seconds
          description: How often research checks the target in your workspace, the interval next_run_at adds to last_run_at.
      type: object
      required:
      - id
      - entity
      - entity_type
      - entity_id
      - context
      - cadence_seconds
      - last_run_at
      - active
      - last_status
      - last_error
      - next_run_at
      - scheduled_cadence_seconds
      title: V1MonitoringTargetOut
      description: 'One research target (an organization, or a natural person, research checks on a cadence) with

        its latest run outcome and next due time. last_status speaks the queue

        vocabulary (queued|running|done|dead); last_error is the pruned failure

        token, never an internal string, run_failed or, for a person target''s deep run

        refused at the account''s monthly screening allowance, screening_allowance_reached.

        cadence_seconds is the cadence set on the target; scheduled_cadence_seconds is how

        often research checks it in this workspace, the interval next_run_at adds to

        last_run_at, which a workspace''s schedule can stretch beyond the setting.'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An API key (swk_live_ followed by 40 characters) on /v1, a workspace administrator's session token on /org/api-keys.