Salesloft · Capability

Salesloft — Activity Histories

Salesloft — Activity Histories. 1 operations. Lead operation: Salesloft List Past Activities. Self-contained Naftiko capability covering one Salesloft business surface.

Run with Naftiko SalesloftActivity Histories

What You Can Do

GET
Get — Salesloft List Past Activities
/v1/activity-histories

MCP Tools

salesloft-list-past-activities

Salesloft List Past Activities

read-only idempotent

Capability Spec

salesloft-activity-histories.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Salesloft — Activity Histories
  description: 'Salesloft — Activity Histories. 1 operations. Lead operation: Salesloft List Past Activities. Self-contained
    Naftiko capability covering one Salesloft business surface.'
  tags:
  - Salesloft
  - Activity Histories
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SALESLOFT_API_KEY: SALESLOFT_API_KEY
capability:
  consumes:
  - type: http
    namespace: salesloft-activity-histories
    baseUri: http://{{salesloft_api_base_url}}
    description: Salesloft — Activity Histories business capability. Self-contained, no shared references.
    resources:
    - name: activity_histories
      path: /activity_histories
      operations:
      - name: get
        method: GET
        description: Salesloft List Past Activities
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: per_page
          in: query
          type: string
        - name: page
          in: query
          type: string
        - name: include_paging_counts
          in: query
          type: string
        - name: limit_paging_counts
          in: query
          type: string
        - name: sort_by
          in: query
          type: string
        - name: sort_direction
          in: query
          type: string
        - name: type
          in: query
          type: string
        - name: occurred_at[gt]
          in: query
          type: string
        - name: occurred_at[gte]
          in: query
          type: string
        - name: occurred_at[lt]
          in: query
          type: string
        - name: occurred_at[lte]
          in: query
          type: string
        - name: pinned
          in: query
          type: string
        - name: resource_type
          in: query
          type: string
        - name: resource_id
          in: query
          type: string
        - name: ids
          in: query
          type: string
        - name: updated_at[gt]
          in: query
          type: string
        - name: updated_at[gte]
          in: query
          type: string
        - name: updated_at[lt]
          in: query
          type: string
        - name: updated_at[lte]
          in: query
          type: string
        - name: user_guid
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.SALESLOFT_API_KEY}}'
  exposes:
  - type: rest
    namespace: salesloft-activity-histories-rest
    port: 8080
    description: REST adapter for Salesloft — Activity Histories. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/activity-histories
      name: activity-histories
      description: REST surface for activity_histories.
      operations:
      - method: GET
        name: get
        description: Salesloft List Past Activities
        call: salesloft-activity-histories.get
        with:
          per_page: rest.per_page
          page: rest.page
          include_paging_counts: rest.include_paging_counts
          limit_paging_counts: rest.limit_paging_counts
          sort_by: rest.sort_by
          sort_direction: rest.sort_direction
          type: rest.type
          occurred_at[gt]: rest.occurred_at[gt]
          occurred_at[gte]: rest.occurred_at[gte]
          occurred_at[lt]: rest.occurred_at[lt]
          occurred_at[lte]: rest.occurred_at[lte]
          pinned: rest.pinned
          resource_type: rest.resource_type
          resource_id: rest.resource_id
          ids: rest.ids
          updated_at[gt]: rest.updated_at[gt]
          updated_at[gte]: rest.updated_at[gte]
          updated_at[lt]: rest.updated_at[lt]
          updated_at[lte]: rest.updated_at[lte]
          user_guid: rest.user_guid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: salesloft-activity-histories-mcp
    port: 9090
    transport: http
    description: MCP adapter for Salesloft — Activity Histories. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: salesloft-list-past-activities
      description: Salesloft List Past Activities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: salesloft-activity-histories.get
      with:
        per_page: tools.per_page
        page: tools.page
        include_paging_counts: tools.include_paging_counts
        limit_paging_counts: tools.limit_paging_counts
        sort_by: tools.sort_by
        sort_direction: tools.sort_direction
        type: tools.type
        occurred_at[gt]: tools.occurred_at[gt]
        occurred_at[gte]: tools.occurred_at[gte]
        occurred_at[lt]: tools.occurred_at[lt]
        occurred_at[lte]: tools.occurred_at[lte]
        pinned: tools.pinned
        resource_type: tools.resource_type
        resource_id: tools.resource_id
        ids: tools.ids
        updated_at[gt]: tools.updated_at[gt]
        updated_at[gte]: tools.updated_at[gte]
        updated_at[lt]: tools.updated_at[lt]
        updated_at[lte]: tools.updated_at[lte]
        user_guid: tools.user_guid
      outputParameters:
      - type: object
        mapping: $.