Resource create/update time as attribute or meta?

I have a model in which I need to keep track of the time at which an instance is first created as well as the last time it was updated.

Should such information be kept as an attribute or meta?

Since it is about the resource, I would make it an attribute. I have never seen that kind of information in meta.

If I see created-at in meta, I would first assume it represents the time the document was generated.

1 Like

Usually Iā€™m keeping createdAt & updatedAt in attributes and making them read only.

1 Like