Edit a layout with AI
Authorization
OrgApiKey AuthorizationBearer <token>
Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.
In: header
Path Parameters
lid*Lid
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.auditmark.io/v1/report-layouts/497f6eca-6276-4993-bfeb-53cbbbba6f08/ai-edit" \ -H "Content-Type: application/json" \ -d '{ "instruction": "string" }'{ "ops": [ {} ], "proposed_content": {}, "diff": { "changes": [ { "kind": "added", "block_id": "string", "block_type": "string", "detail": "string" } ] }, "warnings": []}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}