cURL
curl --request POST \ --url https://api.example.com/api/reports \ --header 'Content-Type: application/json' \ --cookie better-auth.session_token= \ --data ' { "name": "<string>", "description": "<string>", "organizationId": "<string>", "type": "table", "query": {}, "config": {} } '
{ "id": "<string>", "userId": "<string>", "name": "<string>", "type": "table", "query": {}, "config": {}, "createdAt": "<string>", "updatedAt": "<string>", "organizationId": "<string>", "description": "<string>" }
Creates a new report with a query definition and visualization config.
1
table
Show child attributes
Default Response
Was this page helpful?