changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "description": "What was stored, including the counts after server-side trimming.",
+ "properties": {
+ "created_at": {
+ "description": "Creation timestamp in ISO 8601.",
+ "type": "string"
+ },
+ "file_count": {
+ "description": "Recorded file count, or null.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "file_tree_entries_recorded": {
+ "description": "How many file-tree entries were stored.",
+ "type": "number"
+ },
+ "project_name": {
+ "description": "Recorded project name, or null.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sampled_files_recorded": {
+ "description": "How many sampled file bodies were actually stored after server-side trimming.",
+ "type": "number"
+ },
+ "snapshot_id": {
+ "description": "UUID of the stored snapshot. Pass it to pathrule_read_snapshot.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Pathrule surface that produced it.",
+ "type": "string"
+ },
+ "workspace_id": {
+ "description": "Workspace the snapshot belongs to.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "snapshot_id",
+ "workspace_id",
+ "source",
+ "project_name",
+ "file_count",
+ "created_at",
+ "sampled_files_recorded",
+ "file_tree_entries_recorded"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": true,
+ "description": "Present only when ok is false.",
+ "properties": {
+ "code": {
+ "description": "Stable machine-readable failure code, for example insufficient_scope, workspace_id_required, rate_limited, not_found, or upstream_error. Branch on this, not on message text.",
+ "type": "string"
+ },
+ "detail": {
+ "description": "Optional structured context for the failure, for example { missing_scopes: [...] } on insufficient_scope."
+ },
+ "message": {
+ "description": "Human-readable explanation of the failure.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "human_message": {
+ "description": "One-line summary of the result, safe to relay to the user verbatim.",
+ "type": "string"
+ },
+ "ok": {
+ "description": "true when the call succeeded. false when it did not, in which case `error` carries the reason and the success fields are absent.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok"
+ ],
+ "type": "object"
+}