v2
admin
test-data
Generate Test Data
Generate test data for the platform.
This endpoint runs the test data generation scripts to populate the database with sample users, agents, graphs, executions, store listings, and more.
Available script types:
- e2e: Creates a set of test users with graphs, library agents, presets, and store submissions. Uses API functions for better compatibility.
- full: Creates 100+ users with comprehensive test data using direct Prisma calls. Generates more data but may take longer.
Warning: This will add significant data to your database. Use with caution. Note: This endpoint is only available in local environments; requests from any shared/cloud environment are rejected and alerted on.
post/api/admin/generate-test-data
Request body
Response
Successful Response