AiFactFilterInput
Type: Input
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| agent | AiAgentFilterInput | ||
| agentId | AiFactFilterAgentId | ||
| and | [AiFactFilterInput!] | ||
| category | AiFactFilterCategory | The type of fact: observation, conclusion, context, instruction, or result | |
| confidence | AiFactFilterConfidence | Confidence level in this fact (0.0 = no confidence, 1.0 = certain) | |
| content | AiFactFilterContent | The factual information or memory content | |
| createdAt | AiFactFilterCreatedAt | When the fact was recorded | |
| execution | AiExecutionFilterInput | Optional link to specific execution run | |
| executionId | AiFactFilterExecutionId | ||
| expiresAt | AiFactFilterExpiresAt | When this fact should be considered stale | |
| id | AiFactFilterId | ||
| metadata | AiFactFilterMetadata | Additional metadata about the fact | |
| not | [AiFactFilterInput!] | ||
| or | [AiFactFilterInput!] | ||
| scope | AiFactFilterScope | Whether this fact persists across executions or is execution-specific | |
| source | AiFactFilterSource | Where this fact came from (task_id, external source, etc.) | |
| updatedAt | AiFactFilterUpdatedAt | When the fact was last updated |