run

List Rule Logs V2

Changed on

List logs for a particular rule with cursor-based pagination.

This endpoint handles S3-stored outcomes correctly by using run_outcomes_count to predict batch sizes and avoid over-fetching.

get/api/v1/runs/rules/{rule_id}/logs/v2

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/runs/rules/{rule_id}/logs/v2
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

rule_idstring uuid required

Query parameters

limitinteger
cursorstring nullable
backfillboolean
start_timestring date-time nullable
end_timestring date-time nullable
session_idstring uuid nullable

Response

Successful Response

cursorstring 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

    • info

      added the optional property // to the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added the optional property // to the response with the status