run
List Rule Logs V2
Changed onList 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 URLhttps://api.smith.langchain.com
- URLhttps://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
Changes
- breaking
the
/response's property type changed fromobjecttostringfor 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
- breaking
removed the required property
from the response with the status - info
added the optional property
//to the response with the status
- breaking