[SDK reference](../../index.md) / [Models](../index.md) / [Ai](index.md)

# InvokeEndpointRequest

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Ai`  

Synchronous inference `:invoke` request (OpenAI-compatible parameters + deterministic token controls; ADR-1004).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `DesiredOutputTokens` | `int?` | `desiredOutputTokens` | Desired output tokens for deterministic lab/test streaming (defaults to `maxTokens`). |
| `Documents` | `List<string>?` | `documents` | Candidate documents for a `rerank` endpoint (1..64; `prompt` is the query); refused on other modalities. |
| `EstimatedInputTokens` | `int?` | `estimatedInputTokens` | Estimated input token count (when omitted, tokenised deterministically from `prompt`). |
| `MaxTokens` | `int?` | `maxTokens` | Maximum output tokens requested (`max_tokens`; clamped to `modelMaxTokens` and remaining burst/spend-cap budget). |
| `Prompt` | `string?` | `prompt` | Input prompt text (or concatenated chat messages). |
| `RequestId` | `string?` | `requestId` | Optional caller request ID for deterministic billing settlement and SHA-256 receipt generation. |
