Skip to content

Create Project

POST
/v1/projects
curl --request POST \
--url https://example.com/v1/projects \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example" }'

Create a new project.

Projects are used to organize finetune jobs. Each finetune job must be associated with a project.

x-api-key
Any of:
string
Media type application/json
ProjectCreateRequest

Request to create a new project

object
name
required
Name

Project name

string
>= 1 characters <= 255 characters
description
Any of:
string
<= 1000 characters
Example generated
{
"name": "example",
"description": "example"
}

Project created successfully

Media type application/json
ProjectCreateResponse

Response for project creation

object
created
required
Created

Whether the project was created

boolean
project_id
required
Project Id

ID of the created project

string format: uuid
Example generated
{
"created": true,
"project_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Invalid or missing API key

Media type application/json
ErrorResponse

Standard error response.

object
detail
required
Detail

Error message describing what went wrong

string
Example generated
{
"detail": "example"
}

Validation error