How can I create a finished todo via the API?

I wanna do something like the /done wipbot command. Currently, I'm using a simple curl request, so I can't calculate the current time. Is there something in the GraphQL spec that lets you pass the current datetime?

GraphQL assigns the created_at value automatically.

You can either specify the completed_at attribute when creating a todo or use the completeTodo(id: ID!): Todo mutation afterwards. The latter will use the current time.