Create OpenAI integration
Create an OpenAI Integration
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Create an OpenAI Integration
OpenAI Admin API key (sk-admin-...). With codex_analytics, an Analytics API key for the ChatGPT workspace.
Name for this OpenAI integration in Vantage.
When true, creates an OpenAI Codex Analytics integration for a ChatGPT workspace instead of an OpenAI API usage integration.
ChatGPT workspace UUID from the ChatGPT Admin console. Required when codex_analytics is true.
Response
Integration model
The name of the Integration.
"AWS"
The account identifier. For GCP this is the billing Account ID, for Azure this is the account ID
"011389-EF4C3E-3ED7AE"
The status of the Integration. Can be 'connected', 'error', 'pending', 'importing', 'imported', or 'disconnected'.
connected, error, pending, importing, imported, disconnected "imported"
The tokens for any Workspaces that the account belongs to.
The date and time, in UTC, the Integration was created. ISO 8601 Formatted.
"2023-08-04T00:00:00Z"
The tokens for any Managed Accounts that are associated with the Integration.
Tokens of the data integrations that enrich this integration's costs. Empty when enrichment is not connected.
The date and time, in UTC, when the Integration was last updated. ISO 8601 Formatted.
"2023-08-04T00:00:00Z"