How to get authors of a workflow

How to get workflow authors, Currently we are getting First name + Last name as authors. How to get ID of the author from a workflow.

i found a solution

@vipin_vis

Welcome @vipin_vis to our community! I’m Jay and I am a n8n verified creator.

The n8n public API endpoint GET /api/v1/workflows/{id} returns the full workflow object. The author’s ID is in the createdBy field - use {{$json.createdBy.id}} to extract it after the HTTP Request node. If you need the user who last updated it, use {{$json.updatedBy.id}}. You’ll need an API key set up under Settings > n8n API to authenticate the request.