@archastro/sdk
    Preparing search index...

    Interface AICompletionProvenance

    One accepted provider completion. An empty record preserves an unknown identity.

    interface AICompletionProvenance {
        response_model?: string;
        timing?: Record<string, unknown>;
    }
    Index

    Properties

    response_model?: string

    Model identity reported by the provider response, not the requested model or usage key.

    timing?: Record<string, unknown>

    Optional monotonic timing for this accepted completion and its retries. request_ms includes all attempts, backoff and local processing; provider_attempts_ms is the sum of provider request wall times, including transport and parsing; retry_backoff_ms is measured retry sleep. attempt_count includes the accepted call and retry_count counts earlier attempts. These overlapping measurements are not provider-internal inference time. Missing timing is unknown, not zero.