Create project

POSThttps:/api.openai.com/v1/organization/projects

Create a new project in the organization. Projects can be created and archived, but cannot be deleted.

Request body

  • name
    string
    Required
    The friendly name of the project, this name appears in reports.

Response

The created Project object.

Example request
1
curl -X POST https://api.openai.com/v1/organization/projects \
2
-H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
3
-H "Content-Type: application/json" \
4
-d '{
5
"name": "Project ABC"
6
}'
Example response
1
{
2
"id": "proj_abc",
3
"object": "organization.project",
4
"name": "Project ABC",
5
"created_at": 1711471533,
6
"archived_at": null,
7
"status": "active"
8
}
Built with