cURL
curl --request POST \ --url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId}/batch-generations \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "prompt": "<string>", "imageUrls": [ "<string>" ], "entryPointUrlPath": "<string>", "environmentId": "<string>", "prerequisiteId": "<string>", "baseUrl": "<string>", "context": { "source": "github", "issueNumber": 123, "ref": "refs/heads/main", "sha": "abc123def456", "repo": "my-repo", "owner": "repo-owner", "triggeredBy": { "type": "USER", "userId": "user123" }, "nodeId": "node-123" } }'
{ "batchGenerationId": "826c15af-644b-4b28-89b4-f50ff34e46b7" }
Creates a batch generation for the given test target.
ID of the test target
Batch generation created successfully
The response is of type object.
object