Skip to main content
POST
Create a new project for AI-powered generation. This endpoint initiates an asynchronous process that generates comprehensive project documentation.

Request

Request Body

string
required
Project description (10-1000 characters). Should clearly describe what you want to build.
enum
required
Type of project to create. Options: web, mobile, mcp.
array
Array of project features (max 20). Each feature should have a name and description.
array
Array of integration names (max 10). Valid integrations include payment processors, email services, etc.
enum
default:"full"
Response format level. Options: full, summary, minimal.
string
HTTPS webhook URL for completion notifications. Must be HTTPS and not a private IP.
object
Design requirements including description and Figma links.

Response

boolean
Indicates if the request was successful.
string
Unique identifier for the created project.
string
Current status of the project (always “in_progress” for new projects).
integer
Estimated time in milliseconds until project completion.

Error Responses

Validation Error (422)

Authentication Error (401)

Insufficient Credits (402)

Rate Limit Exceeded (429)

Rate Limits

This endpoint is rate limited to 100 requests per minute per API key.

Cost

This operation consumes 15,000 credits for live keys. Test keys consume no credits.

Authorizations

Authorization
string
header
required

Bearer token authentication using API keys (ir_live_* or ir_test_*)

Body

application/json
projectIdea
string
required

Project description (10-1000 characters)

Required string length: 10 - 1000
Example:

"Build a modern e-commerce platform with AI recommendations"

projectType
enum<string>
required

Type of project to create

Available options:
web,
mobile,
mcp
Example:

"web"

features
object[]

Array of project features (optional)

Maximum array length: 20
integrations
string[]

Array of integration names (optional)

Maximum array length: 10
Example:
format
enum<string>
default:full

Response format level

Available options:
full,
summary,
minimal
Example:

"full"

webhookUrl
string<uri>

HTTPS webhook URL for completion notifications (optional)

Pattern: ^https://
Example:

"https://your-app.com/webhooks/initrepo"

design
object

Design requirements (optional)

Response

Project creation started successfully

success
boolean
Example:

true

data
object