Uber · Capability

Uber Direct API — Organizations

Uber Direct API — Organizations. 2 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering one Uber business surface.

Run with Naftiko UberOrganizations

What You Can Do

GET
Listorganizations — List Organizations
/v1/organizations
GET
Getorganization — Get Organization
/v1/organizations/{organization-id}

MCP Tools

list-organizations

List Organizations

read-only idempotent
get-organization

Get Organization

read-only idempotent

Capability Spec

direct-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Uber Direct API — Organizations
  description: 'Uber Direct API — Organizations. 2 operations. Lead operation: List Organizations. Self-contained Naftiko
    capability covering one Uber business surface.'
  tags:
  - Uber
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UBER_API_KEY: UBER_API_KEY
capability:
  consumes:
  - type: http
    namespace: direct-organizations
    baseUri: https://api.uber.com/v1
    description: Uber Direct API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: organizations
      path: /organizations
      operations:
      - name: listorganizations
        method: GET
        description: List Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: organizations-organization_id
      path: /organizations/{organization_id}
      operations:
      - name: getorganization
        method: GET
        description: Get Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organization_id
          in: path
          type: string
          description: Unique identifier for the organization.
          required: true
    authentication:
      type: bearer
      token: '{{env.UBER_API_KEY}}'
  exposes:
  - type: rest
    namespace: direct-organizations-rest
    port: 8080
    description: REST adapter for Uber Direct API — Organizations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/organizations
      name: organizations
      description: REST surface for organizations.
      operations:
      - method: GET
        name: listorganizations
        description: List Organizations
        call: direct-organizations.listorganizations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organization-id}
      name: organizations-organization-id
      description: REST surface for organizations-organization_id.
      operations:
      - method: GET
        name: getorganization
        description: Get Organization
        call: direct-organizations.getorganization
        with:
          organization_id: rest.organization_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: direct-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Uber Direct API — Organizations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-organizations
      description: List Organizations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: direct-organizations.listorganizations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-organization
      description: Get Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: direct-organizations.getorganization
      with:
        organization_id: tools.organization_id
      outputParameters:
      - type: object
        mapping: $.