Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Details of a provider response for a generation attempt

Fields

FieldTypeRequiredDescriptionExample
endpoint_idOptional[str]:heavy_minus_sign:Internal endpoint identifierep_abc123
idOptional[str]:heavy_minus_sign:Upstream provider response identifierchatcmpl-abc123
is_byokOptional[bool]:heavy_minus_sign:Whether the request used a bring-your-own-keyfalse
latencyOptional[float]:heavy_minus_sign:Response latency in milliseconds1200
model_permaslugOptional[str]:heavy_minus_sign:Canonical model slugopenai/gpt-4
provider_nameOptional[components.ProviderResponseProviderName]:heavy_minus_sign:Name of the providerOpenAI
statusNullable[float]:heavy_check_mark:HTTP status code from the provider200