---
url: https://api-doc.aive.com/api/operations/directives/skip.md
---

Directs the executor to skip this field or fragment when the `if` argument is true.

```graphql
directive @skip(
  if: Boolean!
) on 
  | FIELD
  | FRAGMENT_SPREAD
  | INLINE_FRAGMENT
```

### Arguments

#### [skip.if](#if) ● [Boolean!](/api/types/scalars/boolean) non-null scalar {#if}

Skipped when true.
