ObservationBody

interface ApiObservationBody {
    completionStartTime?: null | string;
    endTime?: null | string;
    id?: null | string;
    input?: any;
    level?: null | ApiObservationLevel;
    metadata?: any;
    model?: null | string;
    modelParameters?: Record<string, ApiMapValue>;
    name?: null | string;
    output?: any;
    parentObservationId?: null | string;
    startTime?: null | string;
    statusMessage?: null | string;
    traceId?: null | string;
    type: ApiObservationType;
    usage?: null | ApiUsage;
    version?: null | string;
}

Properties

completionStartTime?: null | string

date-time

endTime?: null | string

date-time

id?: null | string
input?: any
level?: null | ApiObservationLevel
metadata?: any
model?: null | string
modelParameters?: Record<string, ApiMapValue>
name?: null | string
output?: any
parentObservationId?: null | string
startTime?: null | string

date-time

statusMessage?: null | string
traceId?: null | string
usage?: null | ApiUsage

(Deprecated. Use usageDetails and costDetails instead.) Standard interface for usage and cost

version?: null | string