| temperature | LLM temperature (0–2). |
| use_cache, use_rag, use_compression, use_pii_filter, stream | Enable pipeline modules (booleans). |
| rag_similarity_threshold | RAG retrieval similarity floor (0–1). |
| cache_similarity_threshold | Semantic cache similarity (0–1). |
| compression_level | Compression strength 1–5 when compression is on. |
| provider_api_key | SDK only. Per-request LLM provider secret; takes precedence over organisation keys in the database for that run; never stored. Set on TokenSaver(..., provider_api_key=...) or pass to ask / run_pipeline. |
| rag_options | Dict: document_ids, top_k, query_image_url. |
| pii_options | Dict: engine, strategy, confidence_threshold, entity_types, language, regex_fallback. |
| context_layers | Structured instruction / knowledge / interaction (canonical API). |
| system_prompt, profile_context, workspace_instructions | Legacy flat instruction fields (if not using context_layers). |
| chat_id, chat_history | Session routing (see history modes). |