Leaf Agriculture · Capability

Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations List

Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations List. 2 operations. Lead operation: Leaf Agriculture Get John Deere Organizations List. Self-contained Naftiko capability covering one Leaf Agriculture business surface.

Run with Naftiko Leaf AgricultureAPI Reference > Leaf User > Provider Credentials > Provider Organizations List

What You Can Do

GET
Get — Leaf Agriculture Get John Deere Organizations List
/v1/services/usermanagement/api/users/{leaf-user-id}/organizations/johndeere
GET
Get — Leaf Agriculture Get Trimble Organizations List
/v1/services/usermanagement/api/users/{leaf-user-id}/organizations/trimble

MCP Tools

leaf-agriculture-get-john-deere

Leaf Agriculture Get John Deere Organizations List

read-only idempotent
leaf-agriculture-get-trimble-organizations

Leaf Agriculture Get Trimble Organizations List

read-only idempotent

Capability Spec

leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations List
  description: 'Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations List.
    2 operations. Lead operation: Leaf Agriculture Get John Deere Organizations List. Self-contained Naftiko capability covering
    one Leaf Agriculture business surface.'
  tags:
  - Leaf Agriculture
  - API Reference > Leaf User > Provider Credentials > Provider Organizations List
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LEAF_AGRICULTURE_API_KEY: LEAF_AGRICULTURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list
    baseUri: ''
    description: Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations List
      business capability. Self-contained, no shared references.
    resources:
    - name: services-usermanagement-api-users-leaf_user_id-organizations-JohnDeere
      path: /services/usermanagement/api/users/{leaf_user_id}/organizations/JohnDeere
      operations:
      - name: get
        method: GET
        description: Leaf Agriculture Get John Deere Organizations List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: Content-Type
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
    - name: services-usermanagement-api-users-leaf_user_id-organizations-Trimble
      path: /services/usermanagement/api/users/{leaf_user_id}/organizations/Trimble
      operations:
      - name: get
        method: GET
        description: Leaf Agriculture Get Trimble Organizations List
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: Content-Type
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list-rest
    port: 8080
    description: REST adapter for Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider
      Organizations List. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/services/usermanagement/api/users/{leaf-user-id}/organizations/johndeere
      name: services-usermanagement-api-users-leaf-user-id-organizations-johndeere
      description: REST surface for services-usermanagement-api-users-leaf_user_id-organizations-JohnDeere.
      operations:
      - method: GET
        name: get
        description: Leaf Agriculture Get John Deere Organizations List
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list.get
        with:
          Authorization: rest.Authorization
          Content-Type: rest.Content-Type
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/usermanagement/api/users/{leaf-user-id}/organizations/trimble
      name: services-usermanagement-api-users-leaf-user-id-organizations-trimble
      description: REST surface for services-usermanagement-api-users-leaf_user_id-organizations-Trimble.
      operations:
      - method: GET
        name: get
        description: Leaf Agriculture Get Trimble Organizations List
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list.get
        with:
          Authorization: rest.Authorization
          Content-Type: rest.Content-Type
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list-mcp
    port: 9090
    transport: http
    description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > Provider Organizations
      List. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: leaf-agriculture-get-john-deere
      description: Leaf Agriculture Get John Deere Organizations List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list.get
      with:
        Authorization: tools.Authorization
        Content-Type: tools.Content-Type
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-get-trimble-organizations
      description: Leaf Agriculture Get Trimble Organizations List
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-provider-organizations-list.get
      with:
        Authorization: tools.Authorization
        Content-Type: tools.Content-Type
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.