Table of Fields — AgentPayload
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| agent | string | Yes | Identifier of the registered agent. | ”Suporte Orkeia” |
| input | string | Yes | User’s prompt/message. | ”Quais são os planos e valores?“ |
| context | object, as per example below | No | History of turns for continuity. Can alternate between user and assistant. | See example below |
| chatId | string | No | Conversation ID for persistence. | ”chat1234” |
| files | string | No | URLs/paths of attachments. | ”www.arquivo.com” |
| metadata | Metadata | No | Edge cache control. | see example below |
Table of Fields — Metadata
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
| useCache | boolean | ✅ | If true, allows response reuse. | true |
| hoursCache | number | ✅ | Cache validity window (in hours). | 6 |
