> ## 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 - Python SDK

> ProviderResponse method reference

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

Details of a provider response for a generation attempt

## Fields

| Field             | Type                                                                                                 | Required             | Description                                   | Example         |
| ----------------- | ---------------------------------------------------------------------------------------------------- | -------------------- | --------------------------------------------- | --------------- |
| `endpoint_id`     | *Optional\[str]*                                                                                     | :heavy\_minus\_sign: | Internal endpoint identifier                  | ep\_abc123      |
| `id`              | *Optional\[str]*                                                                                     | :heavy\_minus\_sign: | Upstream provider response identifier         | chatcmpl-abc123 |
| `is_byok`         | *Optional\[bool]*                                                                                    | :heavy\_minus\_sign: | Whether the request used a bring-your-own-key | false           |
| `latency`         | *Optional\[float]*                                                                                   | :heavy\_minus\_sign: | Response latency in milliseconds              | 1200            |
| `model_permaslug` | *Optional\[str]*                                                                                     | :heavy\_minus\_sign: | Canonical model slug                          | openai/gpt-4    |
| `provider_name`   | [Optional\[components.ProviderResponseProviderName\]](../components/providerresponseprovidername.md) | :heavy\_minus\_sign: | Name of the provider                          | OpenAI          |
| `status`          | *Nullable\[float]*                                                                                   | :heavy\_check\_mark: | HTTP status code from the provider            | 200             |
