import { APIResource } from "../../../core/resource.mjs";
import { APIPromise } from "../../../core/api-promise.mjs";
import { RequestOptions } from "../../../internal/request-options.mjs";
export declare class Usage extends APIResource {
    /**
     * Get audio speeches usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.audioSpeeches({
     *     start_time: 0,
     *   });
     * ```
     */
    audioSpeeches(query: UsageAudioSpeechesParams, options?: RequestOptions): APIPromise<UsageAudioSpeechesResponse>;
    /**
     * Get audio transcriptions usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.audioTranscriptions(
     *     { start_time: 0 },
     *   );
     * ```
     */
    audioTranscriptions(query: UsageAudioTranscriptionsParams, options?: RequestOptions): APIPromise<UsageAudioTranscriptionsResponse>;
    /**
     * Get code interpreter sessions usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.codeInterpreterSessions(
     *     { start_time: 0 },
     *   );
     * ```
     */
    codeInterpreterSessions(query: UsageCodeInterpreterSessionsParams, options?: RequestOptions): APIPromise<UsageCodeInterpreterSessionsResponse>;
    /**
     * Get completions usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.completions({
     *     start_time: 0,
     *   });
     * ```
     */
    completions(query: UsageCompletionsParams, options?: RequestOptions): APIPromise<UsageCompletionsResponse>;
    /**
     * Get costs details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.costs({
     *     start_time: 0,
     *   });
     * ```
     */
    costs(query: UsageCostsParams, options?: RequestOptions): APIPromise<UsageCostsResponse>;
    /**
     * Get embeddings usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.embeddings({
     *     start_time: 0,
     *   });
     * ```
     */
    embeddings(query: UsageEmbeddingsParams, options?: RequestOptions): APIPromise<UsageEmbeddingsResponse>;
    /**
     * Get file search calls usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.fileSearchCalls({
     *     start_time: 0,
     *   });
     * ```
     */
    fileSearchCalls(query: UsageFileSearchCallsParams, options?: RequestOptions): APIPromise<UsageFileSearchCallsResponse>;
    /**
     * Get images usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.images({
     *     start_time: 0,
     *   });
     * ```
     */
    images(query: UsageImagesParams, options?: RequestOptions): APIPromise<UsageImagesResponse>;
    /**
     * Get moderations usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.moderations({
     *     start_time: 0,
     *   });
     * ```
     */
    moderations(query: UsageModerationsParams, options?: RequestOptions): APIPromise<UsageModerationsResponse>;
    /**
     * Get vector stores usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.vectorStores({
     *     start_time: 0,
     *   });
     * ```
     */
    vectorStores(query: UsageVectorStoresParams, options?: RequestOptions): APIPromise<UsageVectorStoresResponse>;
    /**
     * Get web search calls usage details for the organization.
     *
     * @example
     * ```ts
     * const response =
     *   await client.admin.organization.usage.webSearchCalls({
     *     start_time: 0,
     *   });
     * ```
     */
    webSearchCalls(query: UsageWebSearchCallsParams, options?: RequestOptions): APIPromise<UsageWebSearchCallsResponse>;
}
export interface UsageAudioSpeechesResponse {
    data: Array<UsageAudioSpeechesResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageAudioSpeechesResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageAudioTranscriptionsResponse {
    data: Array<UsageAudioTranscriptionsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageAudioTranscriptionsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageCodeInterpreterSessionsResponse {
    data: Array<UsageCodeInterpreterSessionsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageCodeInterpreterSessionsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageCompletionsResponse {
    data: Array<UsageCompletionsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageCompletionsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageCostsResponse {
    data: Array<UsageCostsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageCostsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageEmbeddingsResponse {
    data: Array<UsageEmbeddingsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageEmbeddingsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageFileSearchCallsResponse {
    data: Array<UsageFileSearchCallsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageFileSearchCallsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageImagesResponse {
    data: Array<UsageImagesResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageImagesResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageModerationsResponse {
    data: Array<UsageModerationsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageModerationsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageVectorStoresResponse {
    data: Array<UsageVectorStoresResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageVectorStoresResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageWebSearchCallsResponse {
    data: Array<UsageWebSearchCallsResponse.Data>;
    has_more: boolean;
    next_page: string | null;
    object: 'page';
}
export declare namespace UsageWebSearchCallsResponse {
    interface Data {
        end_time: number;
        object: 'bucket';
        results: Array<Data.OrganizationUsageCompletionsResult | Data.OrganizationUsageEmbeddingsResult | Data.OrganizationUsageModerationsResult | Data.OrganizationUsageImagesResult | Data.OrganizationUsageAudioSpeechesResult | Data.OrganizationUsageAudioTranscriptionsResult | Data.OrganizationUsageVectorStoresResult | Data.OrganizationUsageCodeInterpreterSessionsResult | Data.OrganizationUsageFileSearchesResult | Data.OrganizationUsageWebSearchesResult | Data.OrganizationCostsResult>;
        start_time: number;
    }
    namespace Data {
        /**
         * The aggregated completions usage details of the specific time bucket.
         */
        interface OrganizationUsageCompletionsResult {
            /**
             * The aggregated number of input tokens used, including cached and cache-write
             * tokens. This includes text, audio, and image tokens. For customers subscribed to
             * Scale Tier, this includes Scale Tier tokens.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.completions.result';
            /**
             * The aggregated number of output tokens used across text, audio, and image
             * outputs. For customers subscribed to Scale Tier, this includes Scale Tier
             * tokens.
             */
            output_tokens: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=batch`, this field tells whether the grouped usage result is
             * batch or not.
             */
            batch?: boolean | null;
            /**
             * The aggregated number of uncached audio input tokens used.
             */
            input_audio_tokens?: number;
            /**
             * The aggregated number of input tokens written to the cache.
             */
            input_cache_write_tokens?: number;
            /**
             * The aggregated number of cached audio input tokens used.
             */
            input_cached_audio_tokens?: number;
            /**
             * The aggregated number of cached image input tokens used.
             */
            input_cached_image_tokens?: number;
            /**
             * The aggregated number of cached text input tokens used.
             */
            input_cached_text_tokens?: number;
            /**
             * The aggregated number of cached input tokens used across text, audio, and image
             * inputs. For customers subscribed to Scale Tier, this includes Scale Tier tokens.
             */
            input_cached_tokens?: number;
            /**
             * The aggregated number of uncached image input tokens used.
             */
            input_image_tokens?: number;
            /**
             * The aggregated number of uncached text input tokens used, excluding cache-write
             * tokens.
             */
            input_text_tokens?: number;
            /**
             * The aggregated number of uncached input tokens used across text, audio, and
             * image inputs, excluding cache-write tokens.
             */
            input_uncached_tokens?: number;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * The aggregated number of audio output tokens used.
             */
            output_audio_tokens?: number;
            /**
             * The aggregated number of image output tokens used.
             */
            output_image_tokens?: number;
            /**
             * The aggregated number of text output tokens used.
             */
            output_text_tokens?: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=service_tier`, this field provides the service tier of the
             * grouped usage result.
             */
            service_tier?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated embeddings usage details of the specific time bucket.
         */
        interface OrganizationUsageEmbeddingsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.embeddings.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated moderations usage details of the specific time bucket.
         */
        interface OrganizationUsageModerationsResult {
            /**
             * The aggregated number of input tokens used.
             */
            input_tokens: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.moderations.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated images usage details of the specific time bucket.
         */
        interface OrganizationUsageImagesResult {
            /**
             * The number of images processed.
             */
            images: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.images.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=size`, this field provides the image size of the grouped usage
             * result.
             */
            size?: string | null;
            /**
             * When `group_by=source`, this field provides the source of the grouped usage
             * result, possible values are `image.generation`, `image.edit`, `image.variation`.
             */
            source?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio speeches usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioSpeechesResult {
            /**
             * The number of characters processed.
             */
            characters: number;
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_speeches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated audio transcriptions usage details of the specific time bucket.
         */
        interface OrganizationUsageAudioTranscriptionsResult {
            /**
             * The count of requests made to the model.
             */
            num_model_requests: number;
            object: 'organization.usage.audio_transcriptions.result';
            /**
             * The number of seconds processed.
             */
            seconds: number;
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated vector stores usage details of the specific time bucket.
         */
        interface OrganizationUsageVectorStoresResult {
            object: 'organization.usage.vector_stores.result';
            /**
             * The vector stores usage in bytes.
             */
            usage_bytes: number;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated code interpreter sessions usage details of the specific time
         * bucket.
         */
        interface OrganizationUsageCodeInterpreterSessionsResult {
            /**
             * The number of code interpreter sessions.
             */
            num_sessions: number;
            object: 'organization.usage.code_interpreter_sessions.result';
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
        }
        /**
         * The aggregated file search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageFileSearchesResult {
            /**
             * The count of file search calls.
             */
            num_requests: number;
            object: 'organization.usage.file_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
            /**
             * When `group_by=vector_store_id`, this field provides the vector store ID of the
             * grouped usage result.
             */
            vector_store_id?: string | null;
        }
        /**
         * The aggregated web search calls usage details of the specific time bucket.
         */
        interface OrganizationUsageWebSearchesResult {
            /**
             * The count of model requests.
             */
            num_model_requests: number;
            /**
             * The count of web search calls.
             */
            num_requests: number;
            object: 'organization.usage.web_searches.result';
            /**
             * When `group_by=api_key_id`, this field provides the API key ID of the grouped
             * usage result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=context_level`, this field provides the search context size of
             * the grouped usage result.
             */
            context_level?: string | null;
            /**
             * When `group_by=model`, this field provides the model name of the grouped usage
             * result.
             */
            model?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * usage result.
             */
            project_id?: string | null;
            /**
             * When `group_by=user_id`, this field provides the user ID of the grouped usage
             * result.
             */
            user_id?: string | null;
        }
        /**
         * The aggregated costs details of the specific time bucket.
         */
        interface OrganizationCostsResult {
            object: 'organization.costs.result';
            /**
             * The monetary value in its associated currency.
             */
            amount?: OrganizationCostsResult.Amount;
            /**
             * When `group_by=api_key_id`, this field provides the API Key ID of the grouped
             * costs result.
             */
            api_key_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the line item of the grouped
             * costs result.
             */
            line_item?: string | null;
            /**
             * When `group_by=project_id`, this field provides the project ID of the grouped
             * costs result.
             */
            project_id?: string | null;
            /**
             * When `group_by=line_item`, this field provides the quantity of the grouped costs
             * result.
             */
            quantity?: number | null;
        }
        namespace OrganizationCostsResult {
            /**
             * The monetary value in its associated currency.
             */
            interface Amount {
                /**
                 * Lowercase ISO-4217 currency e.g. "usd"
                 */
                currency?: string;
                /**
                 * The numeric value of the cost.
                 */
                value?: number;
            }
        }
    }
}
export interface UsageAudioSpeechesParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageAudioTranscriptionsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageCodeInterpreterSessionsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`.
     */
    group_by?: Array<'project_id'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
}
export interface UsageCompletionsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * If `true`, return batch jobs only. If `false`, return non-batch jobs only. By
     * default, return both.
     */
    batch?: boolean;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model`, `batch`, `service_tier` or any
     * combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model' | 'batch' | 'service_tier'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageCostsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only costs for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently only `1d` is supported, default
     * to `1d`.
     */
    bucket_width?: '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the costs by the specified fields. Support fields include `project_id`,
     * `line_item`, `api_key_id` and any combination of them.
     */
    group_by?: Array<'project_id' | 'line_item' | 'api_key_id'>;
    /**
     * A limit on the number of buckets to be returned. Limit can range between 1 and
     * 180, and the default is 7.
     */
    limit?: number;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only costs for these projects.
     */
    project_ids?: Array<string>;
}
export interface UsageEmbeddingsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageFileSearchCallsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `vector_store_id` or any combination of
     * them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'vector_store_id'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
    /**
     * Return only usage for these vector stores.
     */
    vector_store_ids?: Array<string>;
}
export interface UsageImagesParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model`, `size`, `source` or any
     * combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model' | 'size' | 'source'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usages for these image sizes. Possible values are `256x256`,
     * `512x512`, `1024x1024`, `1792x1792`, `1024x1792` or any combination of them.
     */
    sizes?: Array<'256x256' | '512x512' | '1024x1024' | '1792x1792' | '1024x1792'>;
    /**
     * Return only usages for these sources. Possible values are `image.generation`,
     * `image.edit`, `image.variation` or any combination of them.
     */
    sources?: Array<'image.generation' | 'image.edit' | 'image.variation'>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageModerationsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model` or any combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export interface UsageVectorStoresParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`.
     */
    group_by?: Array<'project_id'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
}
export interface UsageWebSearchCallsParams {
    /**
     * Start time (Unix seconds) of the query time range, inclusive.
     */
    start_time: number;
    /**
     * Return only usage for these API keys.
     */
    api_key_ids?: Array<string>;
    /**
     * Width of each time bucket in response. Currently `1m`, `1h` and `1d` are
     * supported, default to `1d`.
     */
    bucket_width?: '1m' | '1h' | '1d';
    /**
     * Return only web search usage for these context levels.
     */
    context_levels?: Array<'low' | 'medium' | 'high'>;
    /**
     * End time (Unix seconds) of the query time range, exclusive.
     */
    end_time?: number;
    /**
     * Group the usage data by the specified fields. Support fields include
     * `project_id`, `user_id`, `api_key_id`, `model`, `context_level` or any
     * combination of them.
     */
    group_by?: Array<'project_id' | 'user_id' | 'api_key_id' | 'model' | 'context_level'>;
    /**
     * Specifies the number of buckets to return.
     *
     * - `bucket_width=1d`: default: 7, max: 31
     * - `bucket_width=1h`: default: 24, max: 168
     * - `bucket_width=1m`: default: 60, max: 1440
     */
    limit?: number;
    /**
     * Return only usage for these models.
     */
    models?: Array<string>;
    /**
     * A cursor for use in pagination. Corresponding to the `next_page` field from the
     * previous response.
     */
    page?: string;
    /**
     * Return only usage for these projects.
     */
    project_ids?: Array<string>;
    /**
     * Return only usage for these users.
     */
    user_ids?: Array<string>;
}
export declare namespace Usage {
    export { type UsageAudioSpeechesResponse as UsageAudioSpeechesResponse, type UsageAudioTranscriptionsResponse as UsageAudioTranscriptionsResponse, type UsageCodeInterpreterSessionsResponse as UsageCodeInterpreterSessionsResponse, type UsageCompletionsResponse as UsageCompletionsResponse, type UsageCostsResponse as UsageCostsResponse, type UsageEmbeddingsResponse as UsageEmbeddingsResponse, type UsageFileSearchCallsResponse as UsageFileSearchCallsResponse, type UsageImagesResponse as UsageImagesResponse, type UsageModerationsResponse as UsageModerationsResponse, type UsageVectorStoresResponse as UsageVectorStoresResponse, type UsageWebSearchCallsResponse as UsageWebSearchCallsResponse, type UsageAudioSpeechesParams as UsageAudioSpeechesParams, type UsageAudioTranscriptionsParams as UsageAudioTranscriptionsParams, type UsageCodeInterpreterSessionsParams as UsageCodeInterpreterSessionsParams, type UsageCompletionsParams as UsageCompletionsParams, type UsageCostsParams as UsageCostsParams, type UsageEmbeddingsParams as UsageEmbeddingsParams, type UsageFileSearchCallsParams as UsageFileSearchCallsParams, type UsageImagesParams as UsageImagesParams, type UsageModerationsParams as UsageModerationsParams, type UsageVectorStoresParams as UsageVectorStoresParams, type UsageWebSearchCallsParams as UsageWebSearchCallsParams, };
}
//# sourceMappingURL=usage.d.mts.map