ag_table_json_to_csv
Serialize an array of JSON objects to CSV.
Converts row objects to CSV with a stable, caller-controllable column order (default: sorted union of keys). Nested values are JSON-encoded in their cell.
Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.
payload MUST match this JSON Schema:
{"type": "object", "properties": {"rows": {"type": "array", "minItems": 1, "maxItems": 5000, "items": {"type": "object"}}, "columns": {"type": "array", "items": {"type": "string"}}}, "required": ["rows"], "additionalProperties": false}
Output schema: {"type": "object", "properties": {"csv": {"type": "string"}, "columns": {"type": "array"}, "count": {"type": "integer"}}, "required": ["csv", "columns", "count"], "additionalProperties": false}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||