> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ProviderResponse - Go SDK

> ProviderResponse type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

Details of a provider response for a generation attempt

## Fields

| Field            | Type                                                                                                           | Required             | Description                                   | Example         |
| ---------------- | -------------------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------- | --------------- |
| `EndpointID`     | `*string`                                                                                                      | :heavy\_minus\_sign: | Internal endpoint identifier                  | ep\_abc123      |
| `ID`             | `*string`                                                                                                      | :heavy\_minus\_sign: | Upstream provider response identifier         | chatcmpl-abc123 |
| `IsByok`         | `*bool`                                                                                                        | :heavy\_minus\_sign: | Whether the request used a bring-your-own-key | false           |
| `Latency`        | `*float64`                                                                                                     | :heavy\_minus\_sign: | Response latency in milliseconds              | 1200            |
| `ModelPermaslug` | `*string`                                                                                                      | :heavy\_minus\_sign: | Canonical model slug                          | openai/gpt-4    |
| `ProviderName`   | [\*components.ProviderResponseProviderName](/client-sdks/go/api-reference/models/providerresponseprovidername) | :heavy\_minus\_sign: | Name of the provider                          | OpenAI          |
| `Status`         | `*float64`                                                                                                     | :heavy\_check\_mark: | HTTP status code from the provider            | 200             |
