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

Fields

FieldTypeRequiredDescriptionExample
EndpointID*string:heavy_minus_sign:Internal endpoint identifierep_abc123
ID*string:heavy_minus_sign:Upstream provider response identifierchatcmpl-abc123
IsByok*bool:heavy_minus_sign:Whether the request used a bring-your-own-keyfalse
Latency*float64:heavy_minus_sign:Response latency in milliseconds1200
ModelPermaslug*string:heavy_minus_sign:Canonical model slugopenai/gpt-4
ProviderName*components.ProviderResponseProviderName:heavy_minus_sign:Name of the providerOpenAI
Status*float64:heavy_check_mark:HTTP status code from the provider200