tracer-sessions

[Beta] Auto-Generate Insights Job Config

Changed on

Generate an Insights job configuration for a project.

post/api/v1/sessions/{session_id}/insights/configs/generate

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/sessions/{session_id}/insights/configs/generate
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

session_idstring uuid required

Request body

user_contextobject required
model'openai' | 'anthropic'
cluster_modelstring nullable
summary_modelstring nullable

Response

Successful Response

summary_promptstring required
namestring nullable
attribute_schemasobject nullable

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status