# get_service_auth_status

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/model_config/get_service_auth_status)

Return credential readiness for a non-model service (e.g. `"tavily"`).

Mirrors `get_provider_auth_status` but is scoped to `SERVICE_API_KEY_ENV`,
so a stored key beats the env var and the `/auth` manager can render the
same `[stored]` / `[env: ...]` / `[missing]` badges.

## Signature

```python
get_service_auth_status(
    service: str,
) -> ProviderAuthStatus
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `service` | `str` | Yes | Service name (e.g. `"tavily"`). |

## Returns

`ProviderAuthStatus`

`CONFIGURED` when a stored or env credential is set, else `MISSING`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/7794b61a6e76230e8c7a49bdce808b3728305914/libs/code/deepagents_code/model_config.py#L2220)