Strivacity NPM Dependency API

The NPM Dependency API from Strivacity — 2 operation(s) for npm dependency.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /admin/api/v1/eventHooks/npm/package List versions of an NPM package for a hook · List NPM dependency versions #
Ask an LLM
“Which versions of an NPM package can my event hook depend on?”
“How do I check available versions before pinning a hook dependency?”
Tell an agent
List the available versions of NPM package {name}.
Show which versions of {name} I can use in a lifecycle hook.
POST /admin/api/v1/eventHooks/npm/search Search NPM packages for a lifecycle hook · Filter for NPM dependency suggestions for a lifecycle event hook #
Ask an LLM
“Can I search for NPM packages to add to an event hook by keyword?”
“What NPM dependencies match a name I'm typing?”
Tell an agent
Suggest NPM dependencies matching {query}.
Search NPM packages for {query} to use in my event hook.

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/strivacity:strivacity-npm-dependency-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

strivacity-npm-dependency-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API documentation of Admin Portal
  title: Admin Portal NPM Dependency API
  version: v0.0.1
servers:
- url: https://{tenant}
  variables:
    tenant:
      default: example.strivacity.com
      description: Your Strivacity tenant
tags:
- name: NPM Dependency
paths:
  /admin/api/v1/eventHooks/npm/package:
    post:
      description: 'You can list the versions for an NPM dependency by calling this endpoint.


        | REQUIRED API PERMISSION |

        |:------------------------|

        | read:config_event_hook |

        | read:config_journey |

        | read:config_custom_mfa |'
      operationId: getPackage
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NpmPackageRequest_Npm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/NpmPackage_Npm'
          description: OK
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
          description: Forbidden
      security:
      - securityScheme:
        - read:config_event_hook
        - read:config_journey
        - read:config_custom_mfa
      summary: List NPM dependency versions
      tags:
      - NPM Dependency
  /admin/api/v1/eventHooks/npm/search:
    post:
      description: 'You can filter for NPM dependency suggestions for a lifecycle event hook by calling this endpoint.


        | REQUIRED API PERMISSION |

        |:------------------------|

        | read:config_event_hook |

        | read:config_journey |

        | read:config_custom_mfa |'
      operationId: getSuggestions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NpmPackageSuggestionsRequest_Npm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NpmPackageSuggestion_Npm'
          description: OK
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemJson'
          description: Forbidden
      security:
      - securityScheme:
        - read:config_event_hook
        - read:config_journey
        - read:config_custom_mfa
      summary: Filter for NPM dependency suggestions for a lifecycle event hook
      tags:
      - NPM Dependency
components:
  schemas:
    NpmPackageSuggestionsRequest_Npm:
      required:
      - query
      type: object
      properties:
        query:
          minLength: 1
          type: string
          description: Query string to match for NPM dependencies
      description: Represents a query to match for NPM dependencies
    AvailableVersion_Npm:
      type: object
      properties:
        version:
          type: string
          example: 1.0.0
    NpmPackageSuggestion_Npm:
      type: object
      properties:
        description:
          type: string
        name:
          type: string
        version:
          type: string
          example: 1.0.0
      description: Represents an NPM package suggestion based on a prefix search
    ProblemJson:
      type: object
      properties:
        detail:
          type: string
        entityName:
          type: string
          description: The name of the entity within the error has occurred
        errorKey:
          type: string
          description: A unique identifier of the error
        fieldErrors:
          type: array
          description: Field constraint violation errors
          items:
            $ref: '#/components/schemas/FieldError'
        message:
          type: string
          description: A unique identifier in format of 'error.{errorKey}'
        params:
          type: array
          description: Further information related to the actual error
          items:
            type: object
            additionalProperties:
              type: object
        path:
          type: string
          description: Request URI
        status:
          type: integer
          description: Status code
          format: int32
        title:
          type: string
      description: Based on [RFC 7807](https://datatracker.ietf.org/doc/html/rfc7807)
    FieldError:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        objectName:
          type: string
    NpmPackageRequest_Npm:
      required:
      - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
          description: Name of the NPM dependency
      description: Represents a package by its name for fetching available package versions
    NpmPackage_Npm:
      type: object
      properties:
        packument:
          $ref: '#/components/schemas/Packument_Npm'
      description: Represents an NPM package
    Packument_Npm:
      type: object
      properties:
        version:
          type: string
          description: Latest stable version of the NPM package
          example: 1.0.0
        versions:
          type: array
          description: Available versions of the NPM package
          items:
            $ref: '#/components/schemas/AvailableVersion_Npm'
      description: Represents the available versions and the latest stable version for an NPM package
  securitySchemes:
    securityScheme:
      scheme: bearer
      type: http