> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.EntityCreateOptions.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface EntityCreateOptions

```typescript
interface EntityCreateOptions {
    grants?: EntityGrantInput[];
    id?: string;
    idempotencyKey?: string;
    source?: EntityCallerSource;
}
```

Types: [grants](#grants), [EntityGrantInput](core.EntityGrantInput.md), [id](#id), [idempotencyKey](#idempotencykey), [source](#source), [EntityCallerSource](../types/core.Supporting_types.EntityCallerSource.md)

##### Index

### <a id="properties"></a>Properties

[grants?](#grants) [id?](#id) [idempotencyKey?](#idempotencykey) [source?](#source)

## <a id="properties-1"></a>Properties

### <a id="grants"></a>`Optional`grants

```typescript
grants?: EntityGrantInput[]
```

Types: [EntityGrantInput](core.EntityGrantInput.md)

### <a id="id"></a>`Optional`id

```typescript
id?: string
```

Required when idempotencyKey is supplied.

### <a id="idempotencykey"></a>`Optional`idempotencyKey

```typescript
idempotencyKey?: string
```

### <a id="source"></a>`Optional`source

```typescript
source?: EntityCallerSource
```

Types: [EntityCallerSource](../types/core.Supporting_types.EntityCallerSource.md)
