OpenAI
OpenAI is an AI research and deployment organization that develops AI models, products, and services.
The Fivetran OpenAI connector syncs data from the following OpenAI services and APIs:
- OpenAI Platform: A developer platform for building applications with OpenAI models and APIs
- OpenAI Compliance Platform: A platform that provides access to logs and metadata from ChatGPT Enterprise and Edu workspaces for governance and security workflows
- Codex Enterprise Analytics API: An API that provides programmatic access to aggregated Codex usage and activity data for a ChatGPT workspace
The OpenAI connector does not sync data from personal ChatGPT accounts.
Features
| Feature Name | Supported | Notes |
|---|---|---|
| Capture deletes | COMPLIANCE_CODEX_ENVIRONMENT, COMPLIANCE_CODEX_REMOTE_CONTROL_CLIENT, COMPLIANCE_CODEX_REMOTE_CONTROL_ENVIRONMENT, COMPLIANCE_CODEX_REMOTE_CONTROL_THREAD, COMPLIANCE_CODEX_TASK, COMPLIANCE_GPT, COMPLIANCE_GPT_CONFIGURATION, COMPLIANCE_GPT_SHARED_USER, COMPLIANCE_PROJECT, COMPLIANCE_PROJECT_CONFIGURATION, COMPLIANCE_PROJECT_SHARED_USER, COMPLIANCE_SKILL, COMPLIANCE_USER_AUTOMATION, COMPLIANCE_USER_RECORDING, COMPLIANCE_USERS, PROJECT, PROJECT_USER, and USERS tables. | |
| History mode | ||
| Custom data | ||
| Data blocking | ||
| Column hashing | ||
| Re-sync | ||
| Row filtering | ||
| API configurable | API configuration | |
| Priority-first sync | ||
| Fivetran data models | ||
| Private networking | ||
| Authorization via API |
Supported deployment models
We support the SaaS and Hybrid deployment models for the connector.
You must have an Enterprise or Business Critical plan to use the Hybrid Deployment model.
Setup guide
Follow our step-by-step OpenAI setup guide to connect OpenAI with your destination using Fivetran connectors.
Sync overview
To capture new records and updates, we incrementally sync the following tables:
AUDIO_SPEECHAUDIO_TRANSCRIPTIONAUDIT_LOGCODEX_CODE_REVIEWCODEX_CODE_REVIEW_RESPONSECODEX_USAGECOMPLETIONCOMPLIANCE_APP_AUTH_LOGCOMPLIANCE_APP_AUTH_ORGANIZATION_LOGCOMPLIANCE_APP_LOGCOMPLIANCE_APP_ORGANIZATION_LOGCOMPLIANCE_AUDIT_LOGCOMPLIANCE_AUTH_LOGCOMPLIANCE_CHATGPT_PLUGIN_SPREADSHEET_LOGCOMPLIANCE_CODEX_LOGCOMPLIANCE_CODEX_SECURITY_LOGCOMPLIANCE_CONVERSATION_MESSAGE_LOGCOMPLIANCE_CUSTOM_AGENTS_LOGCOMPLIANCE_MEMORY_CONTEXTCOSTCOST_API_KEYEMBEDDING
We re-import the remaining tables during every sync.
Schema information
This schema applies to all OpenAI connections.
API key data scopes
Fivetran uses the API keys you provide during connection setup to access different scopes of OpenAI data. You only need to configure the API keys for the data that you want to sync. For example, to sync only organization-level OpenAI Platform data, provide only an OpenAI Platform Admin API key.
To sync Codex Enterprise Analytics API or workspace-level Compliance Platform data, provide a ChatGPT Admin key and a workspace ID. To sync organization-level Compliance Platform data, provide a ChatGPT Admin key and an organization ID.
| API key | Data scope | Data synced |
|---|---|---|
| OpenAI Platform Admin API key | OpenAI Platform organization-level data | Organization administration data, including users, roles, groups, permissions, projects, service accounts, audit logs, Admin API keys, certificates, and invites. We also use this key to sync organization-wide usage and cost data, including completions, embeddings, audio usage, and cost metrics. |
| OpenAI Platform project API key | OpenAI Platform project-level data | Data from the OpenAI Platform project associated with the API key, including files, vector stores, containers, fine-tuning jobs, batches, evaluations, chat completions, ChatKit threads, skills, videos, and audio voice consent records. |
| ChatGPT Admin key | ChatGPT workspace-level Codex analytics and Compliance Platform data, and organization-level Compliance Platform data | Codex analytics data, including usage, credits, code review activity, review comment priorities, reactions, replies, and engagement metrics. We also use this key to sync Compliance Platform data from the specified ChatGPT Enterprise or Edu workspace, including conversation message logs, audit logs, authentication logs, Codex logs, custom agent logs, app logs, GPTs, projects, skills, and workspace users. If you provide an organization ID, we also sync organization-level Compliance Platform data, including organization app logs, organization app authentication logs, and cost logs. This key does not provide access to OpenAI Platform Administration API data, including organization administration, usage, or cost data. |