Organization
OrganizationAdmin API Keys
Create admin API key
Delete admin API key
List all organization and project API keys.
Retrieve admin API key
Models
AdminAPIKey object { id, created_at, expires_at, 5 more } Represents an individual Admin API key in an org.
Represents an individual Admin API key in an org.
OrganizationAudit Logs
List user actions and configuration changes within this organization.
List audit logs
Models
AuditLogListResponse object { id, effective_at, type, 59 more } A log of a user action or configuration change within this organization.
A log of a user action or configuration change within this organization.
OrganizationCertificates
Activate certificates for organization
Upload certificate
Deactivate certificates for organization
Delete certificate
List organization certificates
Get certificate
Modify certificate
Models
Certificate object { id, certificate_details, created_at, 3 more } Represents an individual certificate uploaded to the organization.
Represents an individual certificate uploaded to the organization.
CertificateActivateResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the organization level.
Represents an individual certificate configured at the organization level.
CertificateDeactivateResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the organization level.
Represents an individual certificate configured at the organization level.
CertificateListResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the organization level.
Represents an individual certificate configured at the organization level.
OrganizationData Retention
Retrieve organization data retention
Update organization data retention
Models
OrganizationDataRetention object { object, type } Represents the organization’s data retention control setting.
Represents the organization’s data retention control setting.
OrganizationExternal Keys
Add an external key config for an organization
Delete an external key config for the user's organization
List the external key configs registered on the user's organization
Retrieve an external key registration
Validate an external key config for the user's organization
Models
ExternalKey object { id, api_project_ids, created_at, 25 more }
OrganizationExternal Storage
Create an external storage configuration
Delete an external storage configuration
List external storage configurations
Get an external storage configuration
Validate an external storage configuration
Models
ExternalStorageConfiguration object { id, created_at, geography, 4 more }
OrganizationGroups
Create group
Delete group
List groups
Retrieve group
Update group
Models
Group object { id, created_at, group_type, 2 more } Details about an organization group.
Details about an organization group.
GroupUpdateResponse object { id, created_at, is_scim_managed, name } Response returned after updating a group.
Response returned after updating a group.
OrganizationGroupsRoles
Assign organization role to group
Unassign organization role from group
List group organization role assignments
Retrieve group organization role
Models
RoleCreateResponse object { group, object, role } Role assignment linking a group to a role.
Role assignment linking a group to a role.
RoleListResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
RoleRetrieveResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
OrganizationGroupsUsers
Add group user
Remove group user
List group users
Retrieve group user
Models
UserRetrieveResponse object { id, email, is_service_account, 3 more } Details about a user returned from an organization group membership lookup.
Details about a user returned from an organization group membership lookup.
OrganizationInvites
Create invite
Delete invite
List invites
Retrieve invite
Models
Invite object { id, created_at, email, 6 more } Represents an individual invite to the organization.
Represents an individual invite to the organization.
OrganizationProjects
Archive project
Create project
List projects
Retrieve project
Modify project
Models
Project object { id, created_at, object, 5 more } Represents an individual project.
Represents an individual project.
ProjectResidency = "GLOBAL" or "US_STORAGE_PROCESSING" or "EU_STORAGE_PROCESSING" or 12 more
OrganizationProjectsAPI Keys
Delete project API key
List project API keys
Retrieve project API key
Update project API key
Models
ProjectAPIKey object { id, created_at, last_used_at, 6 more } Represents an individual API key in a project.
Represents an individual API key in a project.
OrganizationProjectsCertificates
Activate certificates for project
Deactivate certificates for project
List project certificates
Models
CertificateActivateResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the project level.
Represents an individual certificate configured at the project level.
CertificateDeactivateResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the project level.
Represents an individual certificate configured at the project level.
CertificateListResponse object { id, active, certificate_details, 3 more } Represents an individual certificate configured at the project level.
Represents an individual certificate configured at the project level.
OrganizationProjectsData Retention
Retrieve project data retention
Update project data retention
Models
ProjectDataRetention object { object, type } Represents a project’s data retention control setting.
Represents a project’s data retention control setting.
OrganizationProjectsGroups
Add project group
Remove project group
List project groups
Retrieve project group
Models
ProjectGroup object { created_at, group_id, group_name, 3 more } Details about a group’s membership in a project.
Details about a group’s membership in a project.
OrganizationProjectsGroupsRoles
Assign project role to group
Unassign project role from group
List project group role assignments
Retrieve project group role
Models
RoleCreateResponse object { group, object, role } Role assignment linking a group to a role.
Role assignment linking a group to a role.
RoleListResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
RoleRetrieveResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
OrganizationProjectsHosted Tool Permissions
Retrieve project hosted tool permissions
Modify project hosted tool permissions
Models
ProjectHostedToolPermissions object { code_interpreter, file_search, image_generation, 2 more } Represents hosted tool permissions for a project.
Represents hosted tool permissions for a project.
OrganizationProjectsModel Permissions
Delete project model permissions
Retrieve project model permissions
Modify project model permissions
Models
ProjectModelPermissions object { mode, model_ids, object } Represents the model allowlist or denylist policy for a project.
Represents the model allowlist or denylist policy for a project.
OrganizationProjectsRate Limits
List project rate limits
Modify project rate limit
Models
ProjectRateLimit object { id, max_requests_per_1_minute, max_tokens_per_1_minute, 6 more } Represents a project rate limit config.
Represents a project rate limit config.
OrganizationProjectsRoles
Create project role
Delete project role
List project roles
Retrieve project role
Update project role
OrganizationProjectsService Accounts
Create project service account
Delete project service account
List project service accounts
Retrieve project service account
Update project service account
Models
ProjectServiceAccount object { id, created_at, name, 2 more } Represents an individual service account in a project.
Represents an individual service account in a project.
ServiceAccountCreateResponse object { id, api_key, created_at, 3 more }
OrganizationProjectsService AccountsAPI Keys
Create an API key for a service account
Models
APIKeyCreateResponse object { id, created_at, name, 3 more }
OrganizationProjectsService Tier Settings
Retrieve project service tier settings
Update project service tier settings
Models
ProjectServiceTierSettings object { default, enabled_tiers, object }
OrganizationProjectsSpend Alerts
Create project spend alert
Delete project spend alert
List project spend alerts
Retrieve project spend alert
Update project spend alert
Models
ProjectSpendAlert object { id, currency, interval, 3 more } Represents a spend alert configured at the project level.
Represents a spend alert configured at the project level.
OrganizationProjectsSpend Limit
Delete project spend limit
Get project spend limit
Update project spend limit
Models
ProjectSpendLimit object { currency, enforcement, interval, 2 more } Represents a hard spend limit configured at the project level.
Represents a hard spend limit configured at the project level.
OrganizationProjectsUsers
Create project user
Delete project user
List project users
Retrieve project user
Modify project user
Models
ProjectUser object { id, added_at, object, 3 more } Represents an individual user in a project.
Represents an individual user in a project.
OrganizationProjectsUsersRoles
Assign project role to user
Unassign project role from user
List project user role assignments
Retrieve project user role
Models
RoleCreateResponse object { object, role, user } Role assignment linking a user to a role.
Role assignment linking a user to a role.
RoleListResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
RoleRetrieveResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
OrganizationRoles
Create organization role
Delete organization role
List organization roles
Retrieve organization role
Update organization role
Models
Role object { id, description, name, 4 more } Details about a role that can be assigned through the public Roles API.
Details about a role that can be assigned through the public Roles API.
OrganizationSpend Alerts
Create organization spend alert
Delete organization spend alert
List organization spend alerts
Retrieve organization spend alert
Update organization spend alert
Models
OrganizationSpendAlert object { id, currency, interval, 3 more } Represents a spend alert configured at the organization level.
Represents a spend alert configured at the organization level.
OrganizationSpend Limit
Delete organization spend limit
Get organization spend limit
Update organization spend limit
Models
OrganizationSpendLimit object { currency, enforcement, interval, 2 more } Represents a hard spend limit configured at the organization level.
Represents a hard spend limit configured at the organization level.
OrganizationUsage
Audio speeches
Audio transcriptions
Code interpreter sessions
Completions
Costs
Decisions
Embeddings
File search calls
Images
Moderations
Vector stores
Web search calls
Models
CostQuantityUnit = string or "tokens" or "1000_tokens" or "duration_seconds" or 5 moreThe unit of the quantity value. If no single supported unit applies to the result, this field is null.
The unit of the quantity value. If no single supported unit applies to the result, this field is null.
UsageAudioSpeechesResponse object { data, has_more, next_page, object }
UsageAudioTranscriptionsResponse object { data, has_more, next_page, object }
UsageCodeInterpreterSessionsResponse object { data, has_more, next_page, object }
UsageCompletionsResponse object { data, has_more, next_page, object }
UsageCostsResponse object { data, has_more, next_page, object }
UsageDecisionsResponse object { data, has_more, next_page, object }
UsageEmbeddingsResponse object { data, has_more, next_page, object }
UsageFileSearchCallsResponse object { data, has_more, next_page, object }
UsageImagesResponse object { data, has_more, next_page, object }
UsageModerationsResponse object { data, has_more, next_page, object }
UsageVectorStoresResponse object { data, has_more, next_page, object }
UsageWebSearchCallsResponse object { data, has_more, next_page, object }
OrganizationUsers
Delete user
List users
Retrieve user
Modify user
Models
OrganizationUser object { id, added_at, object, 13 more } Represents an individual user within an organization.
Represents an individual user within an organization.
OrganizationUsersRoles
Assign organization role to user
Unassign organization role from user
List user organization role assignments
Retrieve user organization role
Models
RoleCreateResponse object { object, role, user } Role assignment linking a user to a role.
Role assignment linking a user to a role.
RoleListResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.
RoleRetrieveResponse object { id, assignment_sources, created_at, 9 more } Detailed information about a role assignment entry returned when listing assignments.
Detailed information about a role assignment entry returned when listing assignments.