import { APIResource } from '../../core/resource.js'; import { ListTracesInput, TraceList } from './types.js'; import '../../core/client.js'; import '../utils/resilience.js'; /** * Traces: read back the agent turns you shipped with `morphTracing()`, each * carrying the Reflex labels that ran on it. * * const morph = new MorphClient({ apiKey }); * const page = await morph.traces.list({ convoId: 'c1' }); * for (const turn of page.data) { * console.log(turn.inputText, turn.reflexResults); * } * * Reads `GET /v1/reflex/traces`. All HTTP goes through the shared `MorphAPIClient`. */ declare class TracesClient extends APIResource { /** List traced turns, newest first. Filter by `convoId`; page with `limit`/`offset`. */ list(input?: ListTracesInput): Promise; } export { TracesClient };