SDK reference / Models / Ai
InvokeEndpointResponse
Kind: class
Namespace: Egulu.Sdk.Models.Ai
Synchronous :invoke completion response with integer micro-euro settlement receipt and ADR-1004 provenance.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
AiGenerated | bool? | aiGenerated | Always `true` for generative completions (`ai-generated` header; ADR-1004). |
CacheSaltApplied | bool? | cacheSaltApplied | True when per-project HMAC `cache_salt` isolation was applied (ADR-1004). |
CachedPromptTokens | int? | cachedPromptTokens | Prompt tokens the engine took from its KV cache (`0` on a replica shared by more than one project; ADR-1004). |
ChargedMicros | long? | chargedMicros | Exact settled charge in integer micro-euros (`0` on pre-billing safety refusal). |
Embedding | List<float?>? | embedding | The embedding of `prompt` (an `embeddings` endpoint). |
FinishReason | string? | finishReason | Completion stop reason: `stop` | `length` (burst-cap or `max_tokens` clamp) | `content_filter`. |
InputTokens | int? | inputTokens | Settled prompt input tokens (`tokens-in`). |
ModelDigest | string? | modelDigest | Immutable model digest (`model-digest` header). |
OutputText | string? | outputText | Generated completion text. |
OutputTokens | int? | outputTokens | Settled completion output tokens (`tokens-out`). |
PlacementRecord | string? | placementRecord | Signed/structured placement record (`placement-record` header). |
ProcessingLocation | string? | processingLocation | Processing location (`processing-location` header). |
ReceiptSha256 | string? | receiptSha256 | Deterministic SHA-256 billing receipt (`plat-inference-receipt-v1|...`). |
RemainingBudgetMicros | long? | remainingBudgetMicros | Remaining project burst budget in integer micro-euros (`>= 0`). |
RequestId | string? | requestId | Request identifier echoed in `x-request-id`. |
RerankResults | List<Models.Ai.InvokeRerankResult>? | rerankResults | The documents ranked best first (a `rerank` endpoint). |
ReservedMicros | long? | reservedMicros | The reservation held for the call before the engine ran, in integer micro-euros (the charge never exceeds it; ADR-1008). |
WasColdStart | bool? | wasColdStart | True when the activator woke the endpoint from `SCALED_TO_ZERO`. |