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,
"status": "active",
"archived_at": 123
}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,
"status": "active",
"archived_at": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The project create request payload.
The friendly name of the project, this name appears in reports.
Project created successfully.
Represents an individual project.
The identifier, which can be referenced in API endpoints
The object type, which is always organization.project
organization.project The name of the project. This appears in reporting.
The Unix timestamp (in seconds) of when the project was created.
active or archived
active, archived The Unix timestamp (in seconds) of when the project was archived or null.
Was this page helpful?