# 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/11093852f2fe7b4fc63b88565da37d6cb796bcda/python/langsmith/utils.py#L744)