> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Skill Versions

> SDK methods to list, retrieve, and manage versions of agent skills in TrueFoundry.

## Methods

> [accordion] get
>
> Parameters
>
> #### Parameters
>
> **agent\_skill\_version\_id** `str` *required*
>
> #### Returns
>
> **GetAgentSkillVersionResponse** `GetAgentSkillVersionResponse`
>
> [🔗 GetAgentSkillVersionResponse](https://www.truefoundry.com/docs/truefoundry_sdk/types#getagentskillversionresponse)
>
> Successful Response
>
> #### Usage
>
> ```python lines theme={"dark"}
> from truefoundry import TrueFoundry
>
> client = TrueFoundry(
>     api_key="YOUR_API_KEY",
>     base_url="https://yourhost.com/path/to/api",
> )
>
> client.agent_skill_versions.get(
>     agent_skill_version_id="value",
> )
> ```

> [accordion] delete
>
> Parameters
>
> #### Parameters
>
> **agent\_skill\_version\_id** `str` *required*
>
> #### Returns
>
> **EmptyResponse** `EmptyResponse`
>
> [🔗 EmptyResponse](https://www.truefoundry.com/docs/truefoundry_sdk/types#emptyresponse)
>
> Successful Response
>
> #### Usage
>
> ```python lines theme={"dark"}
> from truefoundry import TrueFoundry
>
> client = TrueFoundry(
>     api_key="YOUR_API_KEY",
>     base_url="https://yourhost.com/path/to/api",
> )
>
> client.agent_skill_versions.delete(
>     agent_skill_version_id="value",
> )
> ```

> [accordion] list
>
> List agent skill versions. Each manifest has `source.type` `blob-storage` and `description` only; use GET for full SKILL.md content.
>
> #### Parameters
>
> **fqn** `typing.Optional[str]`
>
> FQN filter for agent skill versions
>
> **agent\_skill\_id** `typing.Optional[str]`
>
> Parent agent skill artifact ID
>
> **ml\_repo\_id** `typing.Optional[str]`
>
> ML Repo ID filter
>
> **name** `typing.Optional[str]`
>
> Agent skill name filter
>
> **version** `typing.Optional[int]`
>
> Version number or 'latest'
>
> **offset** `typing.Optional[int]`
>
> Pagination offset
>
> **limit** `typing.Optional[int]`
>
> Page size
>
> #### Returns
>
> **SyncPager\[AgentSkillVersion, ListAgentSkillVersionsResponse]** `SyncPager[AgentSkillVersion, ListAgentSkillVersionsResponse]`
>
> [🔗 ListAgentSkillVersionsResponse](https://www.truefoundry.com/docs/truefoundry_sdk/types#listagentskillversionsresponse)
>
> Successful Response
>
> #### Usage
>
> ```python lines theme={"dark"}
> from truefoundry import TrueFoundry
>
> client = TrueFoundry(
>     api_key="YOUR_API_KEY",
>     base_url="https://yourhost.com/path/to/api",
> )
>
> client.agent_skill_versions.list(
>     fqn="value",
>     agent_skill_id="value",
>     ml_repo_id="value",
>     name="value",
>     version="value",
>     offset=10,
>     limit=10,
> )
>
> # Iterate through results
> for item in response:
>     print(item.name)
>
> # Or paginate page by page
> for page in response.iter_pages():
>     for item in page:
>         print(item.name)
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.