Create project
admin.organization.projects.create(**kwargs) -> Project { id, created_at, object, 4 more }
POST/organization/projects
Create a new project in the organization. Projects can be created and archived, but cannot be deleted.
Parameters
geography: String
Create the project with the specified data residency region. Your organization must have access to Data residency functionality in order to use. See data residency controls to review the functionality and limitations of setting this field.
Create project
require "openai"
openai = OpenAI::Client.new(admin_api_key: "My Admin API Key")
project = openai.admin.organization.projects.create(name: "name")
puts(project){
"id": "proj_abc",
"object": "organization.project",
"name": "Project ABC",
"created_at": 1711471533,
"archived_at": null,
"status": "active"
}
Returns Examples
{
"id": "proj_abc",
"object": "organization.project",
"name": "Project ABC",
"created_at": 1711471533,
"archived_at": null,
"status": "active"
}