fix(api-reference): use nullable array for dream activity sources

`type: null` is not valid OpenAPI 3.0.1, so the spec failed validation and
Mintlify rendered the Dream pages blank. Represent the always-null `sources`
field on the activity feed as a nullable array (parity with the runs feed).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
karthik
2026-08-25 20:47:15 +05:30
parent 6f804a8a20
commit 806e15e927
+16 -2
View File
@@ -7623,8 +7623,22 @@
"description": "The newer memory that replaced this one (null for a merge with no single replacement)."
},
"sources": {
"type": "null",
"description": "Always null on this feed (present for schema parity with runs)."
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Source memory ID."
},
"text": {
"type": "string",
"description": "Source memory text (truncated)."
}
}
},
"nullable": true,
"description": "Always null on this feed; synthesis provenance is shown on the runs feed."
}
}
}