Get a SQL macro by ID.
Accessible by all authenticated users.
cURL
curl --request GET \ --url https://api.example.com/api/v1/macros/{macro_id}
{ "name": "<string>", "sql_query": "<string>", "id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "description": "<string>", "parameters": [ "<string>" ], "created_by": "<string>" }
Successful Response
Schema for macro response.
Unique name of the macro
1 - 255
The SQL SELECT query
Description of the macro
List of parameter names