cURL
curl --request POST \ --url https://api.starfishdata.ai/v1/generateData \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "prompt": "<string>", "numOfRecords": 123, "model": "gpt-4o-2024-08-06", "projectId": "<string>" }'
{ "projectId": "<string>", "jobId": "<string>", "success": true }
Initiates a data generation job with specified parameters
The prompt for data generation
Number of records to generate
The model to use for generation
gpt-4o-2024-08-06
gpt-4o-mini-2024-07-18
gpt-4-turbo-2024-04-09
ID of the project
Successful data generation request
ID of the created project
ID of the generation job
Whether the request was successful