# parse_hub_identifier

> **Function** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/utils/parse_hub_identifier)

Parse a hub repo identifier (``owner/name:hash``, ``name``, etc.).

Agents, skills, and prompts share the same identifier grammar on Hub.

## Signature

```python
parse_hub_identifier(
    identifier: str,
) -> tuple[str, str, str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `identifier` | `str` | Yes | The hub identifier to parse. |

## Returns

`tuple[str, str, str]`

A tuple containing ``(owner, name, hash)``.

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/ab5758006b8025d55c87c496c4b4205a069f78e5/python/langsmith/utils.py#L740)