WSO2 · Capability

WSO2 API Manager - Gateway — Get API Info

WSO2 API Manager - Gateway — Get API Info. 2 operations. Lead operation: Get the list of APIS by providing context and version.. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2Get API Info

What You Can Do

GET
Get — Get the list of APIS by providing context and version.
/v1/apis
GET
Get — Get the subscription information of an API by providing the API uuid.
/v1/apis/{apiid}

MCP Tools

get-list-apis-providing-context

Get the list of APIS by providing context and version.

read-only idempotent
get-subscription-information-api-providing

Get the subscription information of an API by providing the API uuid.

read-only idempotent

Capability Spec

gateway-get-api-info.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Gateway — Get API Info
  description: 'WSO2 API Manager - Gateway — Get API Info. 2 operations. Lead operation: Get the list of APIS by providing
    context and version.. Self-contained Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - Get API Info
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: gateway-get-api-info
    baseUri: https://apis.wso2.com/api/am/gateway/v2
    description: WSO2 API Manager - Gateway — Get API Info business capability. Self-contained, no shared references.
    resources:
    - name: apis
      path: /apis
      operations:
      - name: get
        method: GET
        description: Get the list of APIS by providing context and version.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: context
          in: query
          type: string
          description: Context of the API
        - name: version
          in: query
          type: string
          description: version of the API
        - name: tenantDomain
          in: query
          type: string
          description: Tenant Domain of the API
    - name: apis-apiId
      path: /apis/{apiId}
      operations:
      - name: get
        method: GET
        description: Get the subscription information of an API by providing the API uuid.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiId
          in: path
          type: string
          description: API ID of the API
          required: true
        - name: tenantDomain
          in: query
          type: string
          description: Tenant Domain of the API
  exposes:
  - type: rest
    namespace: gateway-get-api-info-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Gateway — Get API Info. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apis
      name: apis
      description: REST surface for apis.
      operations:
      - method: GET
        name: get
        description: Get the list of APIS by providing context and version.
        call: gateway-get-api-info.get
        with:
          context: rest.context
          version: rest.version
          tenantDomain: rest.tenantDomain
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apis/{apiid}
      name: apis-apiid
      description: REST surface for apis-apiId.
      operations:
      - method: GET
        name: get
        description: Get the subscription information of an API by providing the API uuid.
        call: gateway-get-api-info.get
        with:
          apiId: rest.apiId
          tenantDomain: rest.tenantDomain
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gateway-get-api-info-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Gateway — Get API Info. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-list-apis-providing-context
      description: Get the list of APIS by providing context and version.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gateway-get-api-info.get
      with:
        context: tools.context
        version: tools.version
        tenantDomain: tools.tenantDomain
      outputParameters:
      - type: object
        mapping: $.
    - name: get-subscription-information-api-providing
      description: Get the subscription information of an API by providing the API uuid.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gateway-get-api-info.get
      with:
        apiId: tools.apiId
        tenantDomain: tools.tenantDomain
      outputParameters:
      - type: object
        mapping: $.