curl --request POST \
--url https://api.openai.com/v1/organization/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"archived_at": 123,
"status": "active"
}
Create a new project in the organization. Projects can be created and archived, but cannot be deleted.
curl --request POST \
--url https://api.openai.com/v1/organization/projects \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"id": "<string>",
"object": "organization.project",
"name": "<string>",
"created_at": 123,
"archived_at": 123,
"status": "active"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The project create request payload.
The body is of type object
.
Project created successfully.
Represents an individual project.
Was this page helpful?