Generate layouts with AI
Authorization
OrgApiKey AuthorizationBearer <token>
Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.
In: header
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/generate" \ -H "Content-Type: application/json" \ -d '{ "template_family_id": "290e2e3d-b358-4141-b04d-2f3e9b65d632" }'{ "candidates": [ { "angle": "string", "label": "string", "content": {}, "summary": "string" } ], "pages_read": 0, "pages_total": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}