LangChain · Capability

LangSmith — sessions

LangSmith — sessions. 1 operations. Lead operation: List agent versions for a project. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchainsessions

What You Can Do

GET
Get — List agent versions for a project
/v1/v1/platform/sessions/{sessionid}/agent-versions

MCP Tools

list-agent-versions-project

List agent versions for a project

read-only idempotent

Capability Spec

langchain-sessions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — sessions
  description: 'LangSmith — sessions. 1 operations. Lead operation: List agent versions for a project. Self-contained Naftiko
    capability covering one Langchain business surface.'
  tags:
  - Langchain
  - sessions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGCHAIN_API_KEY: LANGCHAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: langchain-sessions
    baseUri: ''
    description: LangSmith — sessions business capability. Self-contained, no shared references.
    resources:
    - name: v1-platform-sessions-sessionID-agent-versions
      path: /v1/platform/sessions/{sessionID}/agent-versions
      operations:
      - name: get
        method: GET
        description: List agent versions for a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sessionID
          in: path
          type: string
          description: Tracing project (session) UUID
          required: true
    authentication:
      type: bearer
      token: '{{env.LANGCHAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: langchain-sessions-rest
    port: 8080
    description: REST adapter for LangSmith — sessions. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/v1/platform/sessions/{sessionid}/agent-versions
      name: v1-platform-sessions-sessionid-agent-versions
      description: REST surface for v1-platform-sessions-sessionID-agent-versions.
      operations:
      - method: GET
        name: get
        description: List agent versions for a project
        call: langchain-sessions.get
        with:
          sessionID: rest.sessionID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: langchain-sessions-mcp
    port: 9090
    transport: http
    description: MCP adapter for LangSmith — sessions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-agent-versions-project
      description: List agent versions for a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: langchain-sessions.get
      with:
        sessionID: tools.sessionID
      outputParameters:
      - type: object
        mapping: $.