APIs.io Engineering Platform Postman API — Mocks

APIs.io Engineering Platform Postman API — Mocks. 13 operations. Lead operation: APIs.io Engineering Platform Get all mock servers. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformMocks

What You Can Do

GET
Getmocks — APIs.io Engineering Platform Get all mock servers
/v1/mocks
POST
Createmock — APIs.io Engineering Platform Create a mock server
/v1/mocks
GET
Getmock — APIs.io Engineering Platform Get a mock server
/v1/mocks/{mockid}
PUT
Updatemock — APIs.io Engineering Platform Update a mock server
/v1/mocks/{mockid}
DELETE
Deletemock — APIs.io Engineering Platform Delete a mock server
/v1/mocks/{mockid}
GET
Getmockcalllogs — APIs.io Engineering Platform Get a mock server's call logs
/v1/mocks/{mockid}/call-logs
POST
Publishmock — APIs.io Engineering Platform Publish a mock server
/v1/mocks/{mockid}/publish
GET
Getmockserverresponses — APIs.io Engineering Platform Get all server responses
/v1/mocks/{mockid}/server-responses
POST
Createmockserverresponse — APIs.io Engineering Platform Create a server response
/v1/mocks/{mockid}/server-responses
GET
Getmockserverresponse — APIs.io Engineering Platform Get a server response
/v1/mocks/{mockid}/server-responses/{serverresponseid}
PUT
Updatemockserverresponse — APIs.io Engineering Platform Update a server response
/v1/mocks/{mockid}/server-responses/{serverresponseid}
DELETE
Deletemockserverresponse — APIs.io Engineering Platform Delete a server response
/v1/mocks/{mockid}/server-responses/{serverresponseid}
DELETE
Unpublishmock — APIs.io Engineering Platform Unpublish a mock server
/v1/mocks/{mockid}/unpublish

MCP Tools

apis-io-engineering-platform-get-all

APIs.io Engineering Platform Get all mock servers

read-only idempotent
apis-io-engineering-platform-create-mock

APIs.io Engineering Platform Create a mock server

apis-io-engineering-platform-get-mock

APIs.io Engineering Platform Get a mock server

read-only idempotent
apis-io-engineering-platform-update-mock

APIs.io Engineering Platform Update a mock server

idempotent
apis-io-engineering-platform-delete-mock

APIs.io Engineering Platform Delete a mock server

idempotent
apis-io-engineering-platform-get-mock-2

APIs.io Engineering Platform Get a mock server's call logs

read-only idempotent
apis-io-engineering-platform-publish-mock

APIs.io Engineering Platform Publish a mock server

apis-io-engineering-platform-get-all-2

APIs.io Engineering Platform Get all server responses

read-only idempotent
apis-io-engineering-platform-create-server

APIs.io Engineering Platform Create a server response

apis-io-engineering-platform-get-server

APIs.io Engineering Platform Get a server response

read-only idempotent
apis-io-engineering-platform-update-server

APIs.io Engineering Platform Update a server response

idempotent
apis-io-engineering-platform-delete-server

APIs.io Engineering Platform Delete a server response

idempotent
apis-io-engineering-platform-unpublish-mock

APIs.io Engineering Platform Unpublish a mock server

idempotent

Capability Spec

postman-mocks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Postman API — Mocks
  description: 'APIs.io Engineering Platform Postman API — Mocks. 13 operations. Lead operation: APIs.io Engineering Platform
    Get all mock servers. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Mocks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: postman-mocks
    baseUri: https://api.getpostman.com
    description: APIs.io Engineering Platform Postman API — Mocks business capability. Self-contained, no shared references.
    resources:
    - name: mocks
      path: /mocks
      operations:
      - name: getmocks
        method: GET
        description: APIs.io Engineering Platform Get all mock servers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createmock
        method: POST
        description: APIs.io Engineering Platform Create a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: mocks-mockId
      path: /mocks/{mockId}
      operations:
      - name: getmock
        method: GET
        description: APIs.io Engineering Platform Get a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatemock
        method: PUT
        description: APIs.io Engineering Platform Update a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletemock
        method: DELETE
        description: APIs.io Engineering Platform Delete a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mocks-mockId-call-logs
      path: /mocks/{mockId}/call-logs
      operations:
      - name: getmockcalllogs
        method: GET
        description: APIs.io Engineering Platform Get a mock server's call logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mocks-mockId-publish
      path: /mocks/{mockId}/publish
      operations:
      - name: publishmock
        method: POST
        description: APIs.io Engineering Platform Publish a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mocks-mockId-server-responses
      path: /mocks/{mockId}/server-responses
      operations:
      - name: getmockserverresponses
        method: GET
        description: APIs.io Engineering Platform Get all server responses
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createmockserverresponse
        method: POST
        description: APIs.io Engineering Platform Create a server response
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: mocks-mockId-server-responses-serverResponseId
      path: /mocks/{mockId}/server-responses/{serverResponseId}
      operations:
      - name: getmockserverresponse
        method: GET
        description: APIs.io Engineering Platform Get a server response
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatemockserverresponse
        method: PUT
        description: APIs.io Engineering Platform Update a server response
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletemockserverresponse
        method: DELETE
        description: APIs.io Engineering Platform Delete a server response
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: mocks-mockId-unpublish
      path: /mocks/{mockId}/unpublish
      operations:
      - name: unpublishmock
        method: DELETE
        description: APIs.io Engineering Platform Unpublish a mock server
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: postman-mocks-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Postman API — Mocks. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/mocks
      name: mocks
      description: REST surface for mocks.
      operations:
      - method: GET
        name: getmocks
        description: APIs.io Engineering Platform Get all mock servers
        call: postman-mocks.getmocks
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmock
        description: APIs.io Engineering Platform Create a mock server
        call: postman-mocks.createmock
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}
      name: mocks-mockid
      description: REST surface for mocks-mockId.
      operations:
      - method: GET
        name: getmock
        description: APIs.io Engineering Platform Get a mock server
        call: postman-mocks.getmock
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatemock
        description: APIs.io Engineering Platform Update a mock server
        call: postman-mocks.updatemock
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemock
        description: APIs.io Engineering Platform Delete a mock server
        call: postman-mocks.deletemock
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}/call-logs
      name: mocks-mockid-call-logs
      description: REST surface for mocks-mockId-call-logs.
      operations:
      - method: GET
        name: getmockcalllogs
        description: APIs.io Engineering Platform Get a mock server's call logs
        call: postman-mocks.getmockcalllogs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}/publish
      name: mocks-mockid-publish
      description: REST surface for mocks-mockId-publish.
      operations:
      - method: POST
        name: publishmock
        description: APIs.io Engineering Platform Publish a mock server
        call: postman-mocks.publishmock
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}/server-responses
      name: mocks-mockid-server-responses
      description: REST surface for mocks-mockId-server-responses.
      operations:
      - method: GET
        name: getmockserverresponses
        description: APIs.io Engineering Platform Get all server responses
        call: postman-mocks.getmockserverresponses
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmockserverresponse
        description: APIs.io Engineering Platform Create a server response
        call: postman-mocks.createmockserverresponse
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}/server-responses/{serverresponseid}
      name: mocks-mockid-server-responses-serverresponseid
      description: REST surface for mocks-mockId-server-responses-serverResponseId.
      operations:
      - method: GET
        name: getmockserverresponse
        description: APIs.io Engineering Platform Get a server response
        call: postman-mocks.getmockserverresponse
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatemockserverresponse
        description: APIs.io Engineering Platform Update a server response
        call: postman-mocks.updatemockserverresponse
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletemockserverresponse
        description: APIs.io Engineering Platform Delete a server response
        call: postman-mocks.deletemockserverresponse
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/mocks/{mockid}/unpublish
      name: mocks-mockid-unpublish
      description: REST surface for mocks-mockId-unpublish.
      operations:
      - method: DELETE
        name: unpublishmock
        description: APIs.io Engineering Platform Unpublish a mock server
        call: postman-mocks.unpublishmock
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: postman-mocks-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Postman API — Mocks. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-get-all
      description: APIs.io Engineering Platform Get all mock servers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postman-mocks.getmocks
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-mock
      description: APIs.io Engineering Platform Create a mock server
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postman-mocks.createmock
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-mock
      description: APIs.io Engineering Platform Get a mock server
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postman-mocks.getmock
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-mock
      description: APIs.io Engineering Platform Update a mock server
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: postman-mocks.updatemock
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-mock
      description: APIs.io Engineering Platform Delete a mock server
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: postman-mocks.deletemock
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-mock-2
      description: APIs.io Engineering Platform Get a mock server's call logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postman-mocks.getmockcalllogs
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-publish-mock
      description: APIs.io Engineering Platform Publish a mock server
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postman-mocks.publishmock
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-all-2
      description: APIs.io Engineering Platform Get all server responses
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postman-mocks.getmockserverresponses
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-server
      description: APIs.io Engineering Platform Create a server response
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: postman-mocks.createmockserverresponse
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-server
      description: APIs.io Engineering Platform Get a server response
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: postman-mocks.getmockserverresponse
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-server
      description: APIs.io Engineering Platform Update a server response
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: postman-mocks.updatemockserverresponse
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-server
      description: APIs.io Engineering Platform Delete a server response
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: postman-mocks.deletemockserverresponse
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-unpublish-mock
      description: APIs.io Engineering Platform Unpublish a mock server
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: postman-mocks.unpublishmock
      outputParameters:
      - type: object
        mapping: $.