Method Security Environments API

The environments API from Method Security — 2 operation(s) for environments.

Operations 2

POST /method-api-gateway/api/v1/environments/ Create Environment #
POST /method-api-gateway/api/v1/environments/{environmentId}/intel Upload Environment Intel #

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/method-security-environments-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

method-security-environments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Environments API
  version: 1.0.0
tags:
- name: Environments
paths:
  /method-api-gateway/api/v1/environments/:
    post:
      operationId: createEnvironment
      summary: Create Environment
      description: Create a new Method environment.
      tags:
      - Environments
      parameters:
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Response with status 200
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_v1_environments_CreateEnvironmentResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/type_v1_environments_CreateEnvironmentRequest'
  /method-api-gateway/api/v1/environments/{environmentId}/intel:
    post:
      operationId: uploadEnvironmentIntel
      summary: Upload Environment Intel
      description: Upload an intelligence attachment and associate it with an environment.
      tags:
      - Environments
      parameters:
      - name: environmentId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/type_common_EnvironmentId'
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Response with status 200
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/type_v1_environments_UploadEnvironmentIntelResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/type_v1_environments_UploadEnvironmentIntelRequest'
components:
  schemas:
    type_v1_environments_AttachmentId:
      type: string
      description: The unique identifier for an uploaded attachment in Method.
      title: AttachmentId
    type_common_EnvironmentId:
      type: string
      description: The unique identifier for an environment in Method
      title: EnvironmentId
    type_v1_environments_UploadEnvironmentIntelRequest:
      type: object
      properties:
        filename:
          type: string
          description: Name to store for the uploaded file.
        mimeType:
          type: string
          description: MIME type of the uploaded file, if known.
        contentBase64:
          type: string
          description: Base64-encoded file content.
      required:
      - filename
      - contentBase64
      description: Request to upload environment intelligence content.
      title: UploadEnvironmentIntelRequest
    type_v1_environments_UploadEnvironmentIntelResponse:
      type: object
      properties:
        attachmentId:
          $ref: '#/components/schemas/type_v1_environments_AttachmentId'
      required:
      - attachmentId
      title: UploadEnvironmentIntelResponse
    type_v1_environments_CreateEnvironmentRequest:
      type: object
      properties:
        title:
          type: string
          description: Human-readable environment title.
      required:
      - title
      description: Request to create an environment.
      title: CreateEnvironmentRequest
    type_v1_environments_CreateEnvironmentResponse:
      type: object
      properties:
        environmentId:
          $ref: '#/components/schemas/type_common_EnvironmentId'
      required:
      - environmentId
      title: CreateEnvironmentResponse
  securitySchemes:
    client-credentials:
      type: http
      scheme: bearer