---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [skills](../index.md) / getCachedArtifact

# Function: getCachedArtifact()

> **getCachedArtifact**(`version`, `skillSet`): [`CachedArtifact`](../interfaces/CachedArtifact.md) \| `null`

Defined in: [packages/b2c-tooling-sdk/src/skills/github.ts:266](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/4c2d4c5cb34e8e0ea15a260d257e468c823c4885/packages/b2c-tooling-sdk/src/skills/github.ts#L266)

Get cached artifact metadata if available.

## Parameters

### version

`string`

### skillSet

[`SkillSet`](../type-aliases/SkillSet.md)

## Returns

[`CachedArtifact`](../interfaces/CachedArtifact.md) \| `null`
