> For the complete documentation index, see [llms.txt](https://doc.vess.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.vess.id/vess-sdk/api-documentation/v1/get/gettaskcredential.md).

# getTaskCredential()

### How to use?

```javascript
import { getVESS } from "vess-sdk"

const vess = getVESS()
const work = await vess.getTaskCredential(streamId),
```

### Parameters

***streamId:*** string : Document's streamId&#x20;

### Returns

**Promise\<WithCeramicId\<TaskCredential> | null>**
