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

POST /organization/projects
application/json

Body Required

The project create request payload.

  • name string Required

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

Responses

  • 200 application/json

    Project created successfully.

    Hide response attributes Show response attributes object
    • id string Required

      The identifier, which can be referenced in API endpoints

    • object string Required

      The object type, which is always organization.project

      Value is organization.project.

    • name string Required

      The name of the project. This appears in reporting.

    • created_at integer Required

      The Unix timestamp (in seconds) of when the project was created.

    • archived_at integer | null

      The Unix timestamp (in seconds) of when the project was archived or null.

    • status string Required

      active or archived

      Values are active or archived.

POST /organization/projects
curl \
 --request POST 'https://api.openai.com/v1/organization/projects' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"name":"string"}'
Request examples
{
  "name": "string"
}
Response examples (200)
{
  "id": "string",
  "object": "organization.project",
  "name": "string",
  "created_at": 42,
  "archived_at": 42,
  "status": "active"
}