Salesforce Einstein · Capability

Salesforce Einstein Vision API — API Usage

Salesforce Einstein Vision API — API Usage. 1 operations. Lead operation: Salesforce Einstein Get API usage. Self-contained Naftiko capability covering one Salesforce Einstein business surface.

Run with Naftiko Salesforce EinsteinAPI Usage

What You Can Do

GET
Getapiusage — Salesforce Einstein Get API usage
/v1/apiusage

MCP Tools

salesforce-einstein-get-api-usage

Salesforce Einstein Get API usage

read-only idempotent

Capability Spec

vision-api-usage.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesforce Einstein Vision API — API Usage
  description: 'Salesforce Einstein Vision API — API Usage. 1 operations. Lead operation: Salesforce Einstein Get API usage.
    Self-contained Naftiko capability covering one Salesforce Einstein business surface.'
  tags:
  - Salesforce Einstein
  - API Usage
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESFORCE_EINSTEIN_API_KEY: SALESFORCE_EINSTEIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: vision-api-usage
    baseUri: https://api.einstein.ai/v2/vision
    description: Salesforce Einstein Vision API — API Usage business capability. Self-contained, no shared references.
    resources:
    - name: apiusage
      path: /apiusage
      operations:
      - name: getapiusage
        method: GET
        description: Salesforce Einstein Get API usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.SALESFORCE_EINSTEIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: vision-api-usage-rest
    port: 8080
    description: REST adapter for Salesforce Einstein Vision API — API Usage. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apiusage
      name: apiusage
      description: REST surface for apiusage.
      operations:
      - method: GET
        name: getapiusage
        description: Salesforce Einstein Get API usage
        call: vision-api-usage.getapiusage
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vision-api-usage-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesforce Einstein Vision API — API Usage. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: salesforce-einstein-get-api-usage
      description: Salesforce Einstein Get API usage
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: vision-api-usage.getapiusage
      outputParameters:
      - type: object
        mapping: $.