[egulu CLI reference](../index.md) / [egulu inference-endpoints](index.md)

# egulu inference-endpoints invoke

POST /v1/projects/{project}/locations/{location}/inferenceEndpoints/{inferenceEndpoint}:invoke

```sh
egulu inference-endpoints invoke [options]
```

## API operation

[InferenceEndpoints_invoke](../../api/ai/InferenceEndpoints_invoke.md): `POST /v1/projects/{project}/locations/{location}/inferenceEndpoints/{inferenceEndpoint}:invoke` (ai module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--desired-output-tokens` | value | no | desiredOutputTokens |
| `--documents` | value | no | documents: comma-separated, or @file with one item a line |
| `--estimated-input-tokens` | value | no | estimatedInputTokens |
| `--inference-endpoint` | value | yes | inferenceEndpoint |
| `--location` | value | yes | location |
| `--max-tokens` | value | no | maxTokens |
| `--project` | value | yes | project |
| `--prompt` | value | no | prompt |
| `--request-id` | value | no | requestId |

The [global options](../index.md) apply too.
