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

# Tasks

> SDK methods for the Tasks resource.

REST reference: [/api-reference/resources/tasks](/api-reference/resources/tasks).

## Methods

```typescript theme={null}
verial.tasks.list({ benchmarkId, cursor?, limit? })
verial.tasks.create({ benchmarkId, name, instruction?, trigger? })
verial.tasks.get({ id })
verial.tasks.update({ id, name?, instruction?, trigger? })
verial.tasks.delete({ id })
```

## Example

```typescript theme={null}
const task = await verial.tasks.create({
  benchmarkId: 'bench_01H...',
  name: 'Submit prior auth for MRI',
  instruction: 'Use the payer portal to file a PA for CPT 72148.',
})
```
