Car API (carapi.app) · Capability

Car API — Account

Car API — Account. 2 operations. Lead operation: Car API Get API Usage. Self-contained Naftiko capability covering one Car Api business surface.

Run with Naftiko Car ApiAccount

What You Can Do

GET
Accountrequestsget — Car API Get API Usage
/v1/api/account/requests
GET
Accountrequeststodayget — Car API Get Today's API Usage
/v1/api/account/requests-today

MCP Tools

car-api-get-api-usage

Car API Get API Usage

read-only idempotent
car-api-get-today-s-api

Car API Get Today's API Usage

read-only idempotent

Capability Spec

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