POST
/
v1
/
generateData
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
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json

Successful data generation request

The response is of type object.