{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"This request will kick off a backend process to generate a CSV file. Once generated, the worker will then send an email for the user download the file. The link will expire in 3 days.\n\nThe CSV will contain the events from the last 30 days, limited to the last 1 million events maximum. This endpoint will be rate limited to 1 request every 12 hours (rate limit may change).\n\nThis endpoint is similar to the GET Single Message endpoint - the only difference is that /download is added to indicate that this is a CSV download requests but the same query is used to determine what the CSV should contain.","properties":{"query":{"type":"object","properties":{"query":{"type":"string","description":"Uses a SQL like syntax to indicate which messages to include in the CSV"}},"required":[],"additionalProperties":false}},"required":[],"additionalProperties":false},"name":"Request CSV","id":"sendgrid.email_activity.requestcsv","example":{},"maxRequests":1,"summary":false}}