I too have not found a way to get the ID via API.
I would have thought it would be in the response when you upload the dataset but it is not.
Response status code: 200
Response headers: {‘Access-Control-Allow-Headers’: ‘X-Requested-With, X-Prototype-Version, Content-Type’, ‘Access-Control-Allow-Methods’: ‘POST, GET, OPTIONS, PATCH, PUT, DELETE’, ‘Access-Control-Allow-Origin’: ‘*’, ‘Access-Control-Max-Age’: ‘1728000’, ‘Cache-Control’: ‘max-age=0, private, must-revalidate’, ‘Content-Type’: ‘application/json; charset=utf-8’, ‘Date’: ‘Thu, 11 Apr 2024 14:09:07 GMT’, ‘Etag’: ‘W/“c955e57777ec0d73639dca6748560d00”’, ‘Referrer-Policy’: ‘strict-origin-when-cross-origin’, ‘Server’: ‘nginx/1.18.0 (Ubuntu)’, ‘Server-Timing’: ‘edgio_cache;desc=NONE,edgio_pop;desc=dcd,edgio_country;desc=US’, ‘Vary’: ‘Accept’, ‘X-Content-Type-Options’: ‘nosniff’, ‘X-Download-Options’: ‘noopen’, ‘X-EC-Security-Audit’: ‘403’, ‘x-edg-mr’: ‘9:0;’, ‘x-edg-version’: ‘9 9 10 NA 2023-06-08T04:20:57Z cabc17d5-bb30-49bf-b925-852263ede329’, ‘X-Frame-Options’: ‘SAMEORIGIN’, ‘X-Permitted-Cross-Domain-Policies’: ‘none’, ‘X-Request-Id’: ‘91177521-6089-44f8-a64c-7004b2a7ee33’, ‘X-Runtime’: ‘1.401333’, ‘X-XSS-Protection’: ‘1; mode=block’, ‘Content-Length’: ‘16’}
Response text: {“success”:true}
Response content: b’{“success”:true}’
Response URL: https://api.mockaroo.com/api/datasets/DS_PERF_ITCL?client=python&key=XXXXXX
Response encoding: utf-8