Overview
Creates a new project in Dokploy with the specified name, optional description, and optional environment variables.Annotations
This operation creates a new resource and is non-destructive.
This operation is not idempotent - calling it multiple times will create multiple projects.
This operation interacts with the external Dokploy API.
Input Schema
The name of the project. Must be at least 1 character long.
An optional description for the project. Helps document the purpose and scope of the project.
Optional environment variables for the project. Should be in KEY=VALUE format, with multiple variables separated by newlines.
Response Schema
Returns the newly created project object:Unique identifier for the newly created project
Name of the project
Description of the project
ISO 8601 timestamp of when the project was created
ID of the organization that owns this project
Environment variables for the project
Usage Example
Error Handling
If the project creation fails, an error response will be returned with details about the failure:Notes
- The
namefield is required and must be unique within your organization - Environment variables are optional and can be added or modified after project creation
- The project will be associated with your current organization automatically
- After creating a project, you can add applications, databases, and other services to it