---
title: "Sample"
method: GET
path: "/lens/worker/{lens_id}/{job_id}/sample"
tags: ["Lens"]
---

# Sample

`GET /lens/worker/{lens_id}/{job_id}/sample`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/lens/worker/{lens_id}/{job_id}/sample`
- Auth: HTTP bearer

## Path parameters

- `lens_id` string, required
- `job_id` string, required

## Headers

- `X-LiteLLM-Lens-Attempt` integer

## Response `200`

Successful Response

- Sample
  - `executions` Execution[], required
    - `id` string, required
    - `source` 'traces' | 'requests', required
    - `trace_id` string, required
    - `trace_ref` string
    - `team_id` string, required
    - `name` string, required
    - `start_time` string, required
    - `span_count` integer, required
    - `root_seen` boolean
    - `service` string
    - `metadata` MetadataFilter[]
      - `key` string, required
      - `value` string, required
  - `eligible` integer, required
  - `selected` integer
  - `next_offset` integer, nullable
  - `next_cursor` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/lens/worker/:lens_id/:job_id/sample/get.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
