APIContext · Capability

APIContext Platform API — API Calls

APIContext Platform API — API Calls. 6 operations. Lead operation: List API calls. Self-contained Naftiko capability covering one business surface.

APIContext Platform API — API Calls is a Naftiko capability published by APIContext, one of 12 capabilities the APIs.io network indexes for this provider. It bundles 6 operations across the GET, POST, PUT, and DELETE methods rooted at /v1/calls.

The capability includes 2 read-only operations and 4 state-changing operations. Lead operation: List API calls. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include APIContext and API Calls.

Run with Naftiko APIContextAPI Calls

What You Can Do

GET
Listapicalls — List API calls
/v1/calls/
POST
Createapicall — Create an API call
/v1/calls/
GET
Getapicall — Get an API call
/v1/calls/{call_id}
PUT
Updateapicall — Update an API call
/v1/calls/{call_id}
DELETE
Deleteapicall — Delete an API call
/v1/calls/{call_id}
POST
Runapicall — Trigger an API call
/v1/calls/{call_id}/run

MCP Tools

apicontext-listapicalls

List API calls

read-only idempotent
apicontext-createapicall

Create an API call

apicontext-getapicall

Get an API call

read-only idempotent
apicontext-updateapicall

Update an API call

idempotent
apicontext-deleteapicall

Delete an API call

idempotent
apicontext-runapicall

Trigger an API call

Capability Spec

platform-api-calls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIContext Platform API — API Calls
  description: 'APIContext Platform API — API Calls. 6 operations. Lead operation: List API calls. Self-contained Naftiko capability covering one business surface.'
  tags:
  - APIContext
  - API Calls
  created: '2026-05-20'
  modified: '2026-05-20'
binds:
- namespace: env
  keys:
    APICONTEXT_API_KEY: APICONTEXT_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-api-calls
    baseUri: https://client.apimetrics.io/api/2
    description: APIContext Platform API — API Calls business capability. Self-contained, no shared references.
    resources:
    - name: calls
      path: /calls/
      operations:
      - name: listapicalls
        method: GET
        description: List API calls
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters: []
      - name: createapicall
        method: POST
        description: Create an API call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: calls-call-id
      path: /calls/{call_id}
      operations:
      - name: getapicall
        method: GET
        description: Get an API call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: call_id
          in: path
          type: string
          description: API call id.
          required: true
      - name: updateapicall
        method: PUT
        description: Update an API call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: call_id
          in: path
          type: string
          description: path parameter call_id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteapicall
        method: DELETE
        description: Delete an API call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: call_id
          in: path
          type: string
          description: path parameter call_id.
          required: true
    - name: calls-call-id-run
      path: /calls/{call_id}/run
      operations:
      - name: runapicall
        method: POST
        description: Trigger an API call
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: call_id
          in: path
          type: string
          description: path parameter call_id.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: platform-api-calls-rest
    port: 8080
    description: REST adapter for APIContext Platform API — API Calls. One resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/calls/
      name: calls
      description: REST surface for calls.
      operations:
      - method: GET
        name: listapicalls
        description: List API calls
        call: platform-api-calls.listapicalls
        with: {}
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapicall
        description: Create an API call
        call: platform-api-calls.createapicall
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/calls/{call_id}
      name: calls-call-id
      description: REST surface for calls-call-id.
      operations:
      - method: GET
        name: getapicall
        description: Get an API call
        call: platform-api-calls.getapicall
        with:
          call_id: rest.call_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateapicall
        description: Update an API call
        call: platform-api-calls.updateapicall
        with:
          call_id: rest.call_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapicall
        description: Delete an API call
        call: platform-api-calls.deleteapicall
        with:
          call_id: rest.call_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/calls/{call_id}/run
      name: calls-call-id-run
      description: REST surface for calls-call-id-run.
      operations:
      - method: POST
        name: runapicall
        description: Trigger an API call
        call: platform-api-calls.runapicall
        with:
          call_id: rest.call_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-api-calls-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIContext Platform API — API Calls. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: apicontext-listapicalls
      description: List API calls
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-api-calls.listapicalls
      with: {}
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-createapicall
      description: Create an API call
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-api-calls.createapicall
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-getapicall
      description: Get an API call
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-api-calls.getapicall
      with:
        call_id: tools.call_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-updateapicall
      description: Update an API call
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: platform-api-calls.updateapicall
      with:
        call_id: tools.call_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-deleteapicall
      description: Delete an API call
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: platform-api-calls.deleteapicall
      with:
        call_id: tools.call_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apicontext-runapicall
      description: Trigger an API call
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: platform-api-calls.runapicall
      with:
        call_id: tools.call_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.