/**
 * This file was auto-generated by openapi-typescript.
 * Do not make direct changes to the file.
 */

export interface paths {
    "/v1/annotation_configs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List annotation configurations
         * @description Retrieve a paginated list of all annotation configurations in the system.
         */
        get: operations["listAnnotationConfigs"];
        put?: never;
        /** Create an annotation configuration */
        post: operations["createAnnotationConfig"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/annotation_configs/{config_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get an annotation configuration by ID or name */
        get: operations["getAnnotationConfig"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/annotation_configs/{config_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /** Update an annotation configuration */
        put: operations["updateAnnotationConfig"];
        post?: never;
        /** Delete an annotation configuration */
        delete: operations["deleteAnnotationConfig"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/annotation_configs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List annotation configurations assigned to a project
         * @description Retrieve a paginated list of the annotation configurations assigned to a project, identified by either project ID or project name.
         */
        get: operations["getProjectAnnotationConfigs"];
        /**
         * Replace the set of annotation configurations assigned to a project
         * @description Replace the project's entire set of assigned annotation configurations with the provided set. The server diffs the desired set against the current set: configs in the body but not assigned are added, and configs assigned but not in the body are removed. An empty array clears all assignments.
         */
        put: operations["setProjectAnnotationConfigs"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/annotation_configs/{config_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Assign an annotation configuration to a project
         * @description Assign an annotation configuration to a project. This operation is idempotent: re-assigning a config that is already assigned is a no-op that returns the config. Both the project and the config are identified by either ID or name.
         */
        put: operations["assignAnnotationConfigToProject"];
        post?: never;
        /**
         * Unassign an annotation configuration from a project
         * @description Unassign an annotation configuration from a project. This operation is idempotent: unassigning a config that is not currently assigned is a no-op. The underlying annotation config is not deleted. Both the project and the config are identified by either ID or name.
         */
        delete: operations["unassignAnnotationConfigFromProject"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/span_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get span annotations filtered by span_ids and/or identifier.
         * @description Return span annotations for a project, filtered by `span_ids`, `identifier`, or both. At least one of `span_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
         */
        get: operations["listSpanAnnotationsBySpanIds"];
        put?: never;
        post?: never;
        /**
         * Delete span annotations in a project that match the supplied filter.
         * @description Hard-delete span annotations within the named project that match the
         *     supplied filter.
         *
         *     - The request must either supply both `start_time` AND `end_time`
         *       to bound the delete to a `[start_time, end_time)` time window,
         *       OR set `delete_all=true` to acknowledge an unbounded sweep. A request
         *       that satisfies neither is rejected with 422.
         *     - `name`, `identifier`, and `annotator_kind` are optional narrowing
         *       filters; on their own they do NOT authorize the request — they only
         *       narrow within an already-authorized request (bounded time range or
         *       `delete_all=true`).
         *     - All supplied filters are combined with AND. `name` and `identifier`,
         *       when present, must be non-empty.
         *     - `start_time` is inclusive (`>=`); `end_time` is exclusive
         *       (`<`). When both are supplied, `start_time` must be strictly earlier
         *       than `end_time` (else 422). A half-bounded range (only one of
         *       the two) does NOT satisfy the gate and is rejected unless
         *       `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
         *     - The endpoint is idempotent: a request that matches no rows still
         *       returns 204.
         *     - When authentication is enabled, non-admin callers can only delete rows
         *       they own (`user_id == current_user.id`); admins delete all matching
         *       rows.
         */
        delete: operations["deleteSpanAnnotations"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/trace_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get trace annotations filtered by trace_ids and/or identifier.
         * @description Return trace annotations for a project, filtered by `trace_ids`, `identifier`, or both. At least one of `trace_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
         */
        get: operations["listTraceAnnotationsByTraceIds"];
        put?: never;
        post?: never;
        /**
         * Delete trace annotations in a project that match the supplied filter.
         * @description Hard-delete trace annotations within the named project that match the
         *     supplied filter.
         *
         *     - The request must either supply both `start_time` AND `end_time`
         *       to bound the delete to a `[start_time, end_time)` time window,
         *       OR set `delete_all=true` to acknowledge an unbounded sweep. A request
         *       that satisfies neither is rejected with 422.
         *     - `name`, `identifier`, and `annotator_kind` are optional narrowing
         *       filters; on their own they do NOT authorize the request — they only
         *       narrow within an already-authorized request (bounded time range or
         *       `delete_all=true`).
         *     - All supplied filters are combined with AND. `name` and `identifier`,
         *       when present, must be non-empty.
         *     - `start_time` is inclusive (`>=`); `end_time` is exclusive
         *       (`<`). When both are supplied, `start_time` must be strictly earlier
         *       than `end_time` (else 422). A half-bounded range (only one of
         *       the two) does NOT satisfy the gate and is rejected unless
         *       `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
         *     - The endpoint is idempotent: a request that matches no rows still
         *       returns 204.
         *     - When authentication is enabled, non-admin callers can only delete rows
         *       they own (`user_id == current_user.id`); admins delete all matching
         *       rows.
         */
        delete: operations["deleteTraceAnnotations"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/session_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get session annotations filtered by session_ids and/or identifier.
         * @description Return session annotations for a project, filtered by `session_ids`, `identifier`, or both. At least one of `session_ids` or `identifier` must be supplied. When both are supplied, results are the AND-intersection of the two filters.
         */
        get: operations["listSessionAnnotationsBySessionIds"];
        put?: never;
        post?: never;
        /**
         * Delete session annotations in a project that match the supplied filter.
         * @description Hard-delete session annotations within the named project that match the
         *     supplied filter.
         *
         *     - The request must either supply both `start_time` AND `end_time`
         *       to bound the delete to a `[start_time, end_time)` time window,
         *       OR set `delete_all=true` to acknowledge an unbounded sweep. A request
         *       that satisfies neither is rejected with 422.
         *     - `name`, `identifier`, and `annotator_kind` are optional narrowing
         *       filters; on their own they do NOT authorize the request — they only
         *       narrow within an already-authorized request (bounded time range or
         *       `delete_all=true`).
         *     - All supplied filters are combined with AND. `name` and `identifier`,
         *       when present, must be non-empty.
         *     - `start_time` is inclusive (`>=`); `end_time` is exclusive
         *       (`<`). When both are supplied, `start_time` must be strictly earlier
         *       than `end_time` (else 422). A half-bounded range (only one of
         *       the two) does NOT satisfy the gate and is rejected unless
         *       `delete_all=true` is also set. Naive datetimes are interpreted as UTC.
         *     - The endpoint is idempotent: a request that matches no rows still
         *       returns 204.
         *     - When authentication is enabled, non-admin callers can only delete rows
         *       they own (`user_id == current_user.id`); admins delete all matching
         *       rows.
         */
        delete: operations["deleteSessionAnnotations"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/dataset_labels": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List dataset labels
         * @description Retrieve a paginated list of all dataset labels in the system.
         */
        get: operations["listDatasetLabels"];
        put?: never;
        /** Create a dataset label */
        post: operations["createDatasetLabel"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/dataset_labels/{label_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get a dataset label by ID */
        get: operations["getDatasetLabel"];
        put?: never;
        post?: never;
        /**
         * Delete a dataset label by ID
         * @description Delete a dataset label. This also removes the label from every dataset it is applied to.
         */
        delete: operations["deleteDatasetLabel"];
        options?: never;
        head?: never;
        /**
         * Update a dataset label by ID
         * @description Partially update a dataset label's name, color, and/or description. Only the fields included in the request body are changed; omitted fields are left as-is.
         */
        patch: operations["updateDatasetLabel"];
        trace?: never;
    };
    "/v1/datasets/{dataset_identifier}/labels": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List the labels applied to a dataset */
        get: operations["listDatasetLabelsForDataset"];
        /**
         * Replace the set of labels applied to a dataset
         * @description Replace the entire set of labels applied to a dataset. Labels present in the request but not currently applied are added; labels currently applied but absent from the request are removed. An empty list removes all labels.
         */
        put: operations["setDatasetLabelsForDataset"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{dataset_identifier}/labels/{label_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Apply a label to a dataset
         * @description Apply an existing label to a dataset. This operation is idempotent: applying a label that is already applied is a no-op that returns the label.
         */
        put: operations["addDatasetLabelToDataset"];
        post?: never;
        /**
         * Remove a label from a dataset
         * @description Remove a label from a dataset without deleting the label itself. This operation is idempotent: removing a label that is not applied is a no-op.
         */
        delete: operations["removeDatasetLabelFromDataset"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List datasets */
        get: operations["listDatasets"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get dataset by ID */
        get: operations["getDataset"];
        put?: never;
        post?: never;
        /** Delete dataset by ID */
        delete: operations["deleteDatasetById"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/versions": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List dataset versions */
        get: operations["listDatasetVersionsByDatasetId"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/upload": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Upload dataset from JSON, JSONL, CSV, or PyArrow */
        post: operations["uploadDataset"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/examples": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get examples from a dataset */
        get: operations["getDatasetExamples"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/csv": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download dataset examples as CSV file */
        get: operations["getDatasetCsv"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/jsonl": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download dataset examples as JSONL file */
        get: operations["getDatasetJSONL"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/jsonl/openai_ft": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download dataset examples as OpenAI fine-tuning JSONL file */
        get: operations["getDatasetJSONLOpenAIFineTuning"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{id}/jsonl/openai_evals": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download dataset examples as OpenAI evals JSONL file */
        get: operations["getDatasetJSONLOpenAIEvals"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/datasets/{dataset_id}/experiments": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List experiments by dataset
         * @description Retrieve a paginated list of experiments for the specified dataset.
         */
        get: operations["listExperiments"];
        put?: never;
        /** Create experiment on a dataset */
        post: operations["createExperiment"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiments/{experiment_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get experiment by ID */
        get: operations["getExperiment"];
        put?: never;
        post?: never;
        /** Delete experiment by ID */
        delete: operations["deleteExperiment"];
        options?: never;
        head?: never;
        /**
         * Update an experiment by ID
         * @description Partially update an experiment's name, description, and/or metadata. Only the fields included in the request body are changed; omitted fields are left as-is. Patching an ephemeral experiment refreshes its last-update timestamp, which extends the window before it is swept away.
         */
        patch: operations["updateExperiment"];
        trace?: never;
    };
    "/v1/experiments/{experiment_id}/incomplete-runs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get incomplete runs for an experiment
         * @description Get runs that need to be completed for this experiment.
         *
         *     Returns all incomplete runs, including both missing runs (not yet attempted)
         *     and failed runs (attempted but have errors).
         *
         *     Args:
         *         experiment_id: The ID of the experiment
         *         cursor: Cursor for pagination
         *         limit: Maximum number of results to return
         *
         *     Returns:
         *         Paginated list of incomplete runs grouped by dataset example,
         *         with repetition numbers that need to be run
         */
        get: operations["getIncompleteExperimentRuns"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiments/{experiment_id}/json": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download experiment runs as a JSON file */
        get: operations["getExperimentJSON"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiments/{experiment_id}/csv": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Download experiment runs as a CSV file */
        get: operations["getExperimentCSV"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiments/{experiment_id}/runs": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List runs for an experiment
         * @description Retrieve a paginated list of runs for an experiment
         */
        get: operations["listExperimentRuns"];
        put?: never;
        /** Create run for an experiment */
        post: operations["createExperimentRun"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiments/{experiment_id}/incomplete-evaluations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get incomplete evaluations for an experiment
         * @description Get experiment runs that have incomplete evaluations.
         *
         *     Returns runs with:
         *     - Missing evaluations (evaluator has not been run)
         *     - Failed evaluations (evaluator ran but has errors)
         *
         *     Args:
         *         experiment_id: The ID of the experiment
         *         evaluation_name: List of evaluation names to check (required, at least one)
         *         cursor: Cursor for pagination
         *         limit: Maximum number of results to return
         *
         *     Returns:
         *         Paginated list of runs with incomplete evaluations
         */
        get: operations["getIncompleteExperimentEvaluations"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/experiment_evaluations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Create or update evaluation for an experiment run */
        post: operations["upsertExperimentEvaluation"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/traces": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List traces for a project */
        get: operations["listProjectTraces"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/trace_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Create trace annotations */
        post: operations["annotateTraces"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/trace_notes": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create a trace note
         * @description Add a note annotation to a trace. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same trace. Callers may supply a non-empty `identifier` to upsert on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
         */
        post: operations["createTraceNote"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/traces/{trace_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a trace by identifier
         * @description Delete an entire trace by its identifier. The identifier can be either:
         *     1. A Relay node ID (base64-encoded)
         *     2. An OpenTelemetry trace_id (hex string)
         *
         *     This will permanently remove all spans in the trace and their associated data.
         */
        delete: operations["deleteTrace"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/spans/otlpv1": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Search spans with simple filters (no DSL)
         * @description Return spans within a project filtered by time range. Supports cursor-based pagination.
         */
        get: operations["spanSearch"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/spans": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List spans with simple filters (no DSL)
         * @description Return spans within a project filtered by time range. Supports cursor-based pagination.
         */
        get: operations["getSpans"];
        put?: never;
        /**
         * Create spans
         * @description Submit spans to be inserted into a project. If any spans are invalid or duplicates, no spans will be inserted.
         */
        post: operations["createSpans"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/span_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Create span annotations */
        post: operations["annotateSpans"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/span_notes": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create a span note
         * @description Add a note annotation to a span. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same span. Callers may supply a non-empty `identifier` to upsert on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
         */
        post: operations["createSpanNote"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/spans/{span_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a span by span_identifier
         * @description Delete a single span by identifier.
         *
         *             **Important**: This operation deletes ONLY the specified span itself and does NOT
         *             delete its descendants/children. All child spans will remain in the trace and
         *             become orphaned (their parent_id will point to a non-existent span).
         *
         *             Behavior:
         *             - Deletes only the target span (preserves all descendant spans)
         *             - If this was the last span in the trace, the trace record is also deleted
         *             - If the deleted span had a parent, its cumulative metrics (error count, token counts)
         *               are subtracted from all ancestor spans in the chain
         *
         *             **Note**: This operation is irreversible and may create orphaned spans.
         */
        delete: operations["deleteSpan"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompts": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List all prompts
         * @description Retrieve a paginated list of all prompts in the system. A prompt can have multiple versions.
         */
        get: operations["getPrompts"];
        put?: never;
        /**
         * Create a new prompt
         * @description Create a new prompt and its initial version. A prompt can have multiple versions.
         */
        post: operations["postPromptVersion"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompts/{prompt_identifier}/versions": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List prompt versions
         * @description Retrieve all versions of a specific prompt with pagination support. Each prompt can have multiple versions with different configurations.
         */
        get: operations["listPromptVersions"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompt_versions/{prompt_version_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get prompt version by ID
         * @description Retrieve a specific prompt version using its unique identifier. A prompt version contains the actual template and configuration.
         */
        get: operations["getPromptVersionByPromptVersionId"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompts/{prompt_identifier}/tags/{tag_name}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get prompt version by tag
         * @description Retrieve a specific prompt version using its tag name. Tags are used to identify specific versions of a prompt.
         */
        get: operations["getPromptVersionByTagName"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompts/{prompt_identifier}/latest": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get latest prompt version
         * @description Retrieve the most recent version of a specific prompt.
         */
        get: operations["getPromptVersionLatest"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompt_versions/{prompt_version_id}/tags": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List prompt version tags
         * @description Retrieve all tags associated with a specific prompt version. Tags are used to identify and categorize different versions of a prompt.
         */
        get: operations["getPromptVersionTags"];
        put?: never;
        /**
         * Add tag to prompt version
         * @description Add a new tag to a specific prompt version. Tags help identify and categorize different versions of a prompt.
         */
        post: operations["createPromptVersionTag"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompt_versions/{prompt_version_id}/tags/{tag_name}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a tag from a prompt version
         * @description Delete a tag from a specific prompt version by tag name. The tag is resolved within the scope of the prompt linked to the version.
         */
        delete: operations["deletePromptVersionTag"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/prompts/{prompt_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a prompt
         * @description Delete a prompt and all its versions, tags, and labels by identifier.
         */
        delete: operations["deletePrompt"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List all projects
         * @description Retrieve a paginated list of all projects in the system.
         */
        get: operations["getProjects"];
        put?: never;
        /**
         * Create a new project
         * @description Create a new project with the specified configuration.
         */
        post: operations["createProject"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get project by ID or name
         * @description Retrieve a specific project using its unique identifier: either project ID or project name. Note: When using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters.
         */
        get: operations["getProject"];
        /**
         * Update a project by ID or name
         * @description Update an existing project with new configuration. Project names cannot be changed. The project identifier is either project ID or project name. Note: When using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters.
         */
        put: operations["updateProject"];
        post?: never;
        /**
         * Delete a project by ID or name
         * @description Delete an existing project and all its associated data. The project identifier is either project ID or project name. The default project cannot be deleted. Note: When using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters.
         */
        delete: operations["deleteProject"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/sessions/{session_identifier}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Get session by ID or session_id */
        get: operations["getSession"];
        put?: never;
        post?: never;
        /**
         * Delete a session by identifier
         * @description Delete a session by its identifier. The identifier can be either:
         *     1. A global ID (base64-encoded)
         *     2. A user-provided session_id string
         *
         *     This will permanently remove the session and all associated traces, spans, and annotations via cascade delete.
         */
        delete: operations["deleteSession"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/sessions/delete": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Bulk delete sessions
         * @description Delete multiple sessions by their identifiers (GlobalIDs or session_id strings). All identifiers in a single request must be the same type. Non-existent IDs are silently skipped. All associated traces, spans, and annotations are cascade deleted.
         */
        post: operations["deleteSessions"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/projects/{project_identifier}/sessions": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** List sessions for a project */
        get: operations["listProjectSessions"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/session_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Create session annotations */
        post: operations["annotateSessions"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/session_notes": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Create a session note
         * @description Add a note annotation to a session. By default each call appends a new note with an auto-generated UUIDv4 identifier, so multiple notes accumulate on the same session. Callers may supply a non-empty `identifier` to upsert on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note, matching the semantics of structured annotations.
         */
        post: operations["createSessionNote"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/document_annotations": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Create span document annotations */
        post: operations["annotateSpanDocuments"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/user": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Get the authenticated user
         * @description Returns the profile of the currently authenticated user. When authentication is disabled, returns an anonymous user representation.
         */
        get: operations["getViewer"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/users": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List all users
         * @description Retrieve a paginated list of all users in the system.
         */
        get: operations["getUsers"];
        put?: never;
        /**
         * Create a new user
         * @description Create a new user with the specified configuration.
         */
        post: operations["createUser"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/users/{user_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a user by ID
         * @description Delete an existing user by their unique GlobalID.
         */
        delete: operations["deleteUser"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/secrets": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        /**
         * Upsert or delete secrets
         * @description Atomically upsert or delete a batch of secrets. Entries with a non-null `value` are created or updated; entries with `value: null` are deleted. The `value` field is required for every entry, and omitting it returns 422. When the same key appears more than once, the last occurrence wins. Deleting a non-existent key succeeds silently. Secret values are never returned in the response.
         */
        put: operations["upsertOrDeleteSecrets"];
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/user/api_keys": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List the authenticated user's API keys
         * @description Retrieve the API keys belonging to the currently authenticated user. The keys themselves are not recoverable and are never included in the response.
         */
        get: operations["getUserApiKeys"];
        put?: never;
        /**
         * Create an API key for the authenticated user
         * @description Create a personal API key for the currently authenticated user. The key inherits the user's role, so it grants no more access than the user already has. Creation requires an access-token session; API keys cannot mint replacement keys. The response contains the key itself, which is shown only once and cannot be retrieved afterwards.
         */
        post: operations["createUserApiKey"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/users/api_keys": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List all user API keys
         * @description Retrieve API keys belonging to human users across the organization. System API keys are excluded. Restricted to admins.
         */
        get: operations["getAllUserApiKeys"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/user/api_keys/{api_key_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a user API key
         * @description Permanently revoke a user API key. Users can revoke their own keys, and admins can revoke keys belonging to other users. The key stops working immediately.
         */
        delete: operations["deleteUserApiKey"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/system/api_keys": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * List system API keys
         * @description Retrieve all system API keys. System keys belong to the system user rather than to any human, so this endpoint is restricted to admins. The keys themselves are not recoverable and are never included in the response.
         */
        get: operations["getSystemApiKeys"];
        put?: never;
        /**
         * Create a system API key
         * @description Create a system API key. System keys belong to the system user rather than to any human, so this endpoint is restricted to admins. Creation requires an admin access-token session or the configured admin secret; API keys cannot mint keys. The response contains the key itself, which is shown only once and cannot be retrieved afterwards.
         */
        post: operations["createSystemApiKey"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/v1/system/api_keys/{api_key_id}": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        post?: never;
        /**
         * Delete a system API key
         * @description Permanently revoke a system API key. The key stops working immediately. Restricted to admins.
         */
        delete: operations["deleteSystemApiKey"];
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/login": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Login
         * @description Authenticate user via email/password and return access/refresh tokens.
         */
        post: operations["_login_auth_login_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/logout": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /**
         * Logout
         * @description Log out user by revoking tokens and clearing cookies.
         */
        get: operations["_logout_auth_logout_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/refresh": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Refresh Tokens
         * @description Refresh access and refresh tokens.
         */
        post: operations["_refresh_tokens_auth_refresh_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/password-reset-email": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Initiate Password Reset
         * @description Send password reset email to user.
         */
        post: operations["_initiate_password_reset_auth_password_reset_email_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/password-reset": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Reset Password
         * @description Reset user password using a valid reset token.
         */
        post: operations["_reset_password_auth_password_reset_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/auth/ldap/login": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Ldap Login
         * @description Authenticate user via LDAP and return access/refresh tokens.
         */
        post: operations["_ldap_login_auth_ldap_login_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/oauth2/{idp_name}/login": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Login */
        get: operations["login_oauth2__idp_name__login_get"];
        put?: never;
        /** Login */
        post: operations["login_oauth2__idp_name__login_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/oauth2/{idp_name}/tokens": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Create Tokens */
        get: operations["create_tokens_oauth2__idp_name__tokens_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/agents/server/sessions/{session_id}/chat": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /**
         * Run Server Agent
         * @description Stream a chat turn from the GraphQL server agent.
         *
         *     This is the endpoint the PXI CLI talks to directly (no pre-configured
         *     agent record): it builds a fresh server agent per request from the
         *     caller-supplied model and contexts, then streams the reply back as
         *     Vercel-AI chunks.
         *
         *     The request contexts gate capabilities — GraphQL mutations, web access,
         *     and subagents — and mutations are refused for viewer users. When trace
         *     recording is enabled (and permitted by system settings), the run is
         *     traced; locally ingested traces are persisted to the agent's project
         *     once the stream completes.
         *
         *     Returns ``403`` if agents or the server agent are disabled, or if a
         *     viewer requests mutations.
         */
        post: operations["run_server_agent_agents_server_sessions__session_id__chat_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/agents/{agent_id}/sessions/{session_id}/chat": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Chat */
        post: operations["chat_agents__agent_id__sessions__session_id__chat_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/agents/{agent_id}/sessions/{session_id}/summary": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        get?: never;
        put?: never;
        /** Summarize Endpoint */
        post: operations["summarize_endpoint_agents__agent_id__sessions__session_id__summary_post"];
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/arize_phoenix_version": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Version */
        get: operations["version_arize_phoenix_version_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/healthz": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Check Healthz */
        get: operations["check_healthz_healthz_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
    "/readyz": {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        /** Check Readyz */
        get: operations["check_readyz_readyz_get"];
        put?: never;
        post?: never;
        delete?: never;
        options?: never;
        head?: never;
        patch?: never;
        trace?: never;
    };
}
export type webhooks = Record<string, never>;
export interface components {
    schemas: {
        /** AddDatasetLabelToDatasetResponseBody */
        AddDatasetLabelToDatasetResponseBody: {
            data: components["schemas"]["DatasetLabel"];
        };
        /**
         * AgentSpanContext
         * @description Span the user has selected.
         *
         *     Exactly one of ``span_node_id`` (relay) or ``otel_span_id`` (OpenTelemetry
         *     hex) must be set. ``project_node_id`` is optional because a span can be
         *     selected from views outside a project route.
         */
        AgentSpanContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "span";
            /** Projectnodeid */
            projectNodeId?: string | null;
            /** Spannodeid */
            spanNodeId?: string | null;
            /** Otelspanid */
            otelSpanId?: string | null;
        };
        /** AnnotateSessionsRequestBody */
        AnnotateSessionsRequestBody: {
            /** Data */
            data: components["schemas"]["SessionAnnotationData"][];
        };
        /** AnnotateSessionsResponseBody */
        AnnotateSessionsResponseBody: {
            /** Data */
            data: components["schemas"]["InsertedSessionAnnotation"][];
        };
        /** AnnotateSpanDocumentsRequestBody */
        AnnotateSpanDocumentsRequestBody: {
            /** Data */
            data: components["schemas"]["SpanDocumentAnnotationData"][];
        };
        /** AnnotateSpanDocumentsResponseBody */
        AnnotateSpanDocumentsResponseBody: {
            /** Data */
            data: components["schemas"]["InsertedSpanDocumentAnnotation"][];
        };
        /** AnnotateSpansRequestBody */
        AnnotateSpansRequestBody: {
            /** Data */
            data: components["schemas"]["SpanAnnotationData"][];
        };
        /** AnnotateSpansResponseBody */
        AnnotateSpansResponseBody: {
            /** Data */
            data: components["schemas"]["InsertedSpanAnnotation"][];
        };
        /** AnnotateTracesRequestBody */
        AnnotateTracesRequestBody: {
            /**
             * Data
             * @description The trace annotations to be upserted
             */
            data: components["schemas"]["TraceAnnotationData"][];
        };
        /** AnnotateTracesResponseBody */
        AnnotateTracesResponseBody: {
            /** Data */
            data: components["schemas"]["InsertedTraceAnnotation"][];
        };
        /** AnnotationResult */
        AnnotationResult: {
            /**
             * Label
             * @description The label assigned by the annotation
             */
            label?: string | null;
            /**
             * Score
             * @description The score assigned by the annotation
             */
            score?: number | null;
            /**
             * Explanation
             * @description Explanation of the annotation result
             */
            explanation?: string | null;
        };
        /** AnonymousUser */
        AnonymousUser: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "ANONYMOUS";
        };
        /** ApiKey */
        ApiKey: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description?: string | null;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /** Expires At */
            expires_at?: string | null;
        };
        /** ApiKeyData */
        ApiKeyData: {
            /**
             * Name
             * @description A human-readable name for the API key.
             */
            name: string;
            /**
             * Description
             * @description An optional description of what the API key is for.
             */
            description?: string | null;
            /**
             * Expires At
             * @description When the API key expires. The key never expires when omitted.
             */
            expires_at?: string | null;
        };
        /** ApiKeyUser */
        ApiKeyUser: {
            /** Id */
            id: string;
            /** Username */
            username: string;
            /** Email */
            email: string | null;
        };
        /**
         * AppContext
         * @description Per-turn browser clock context for resolving relative time requests.
         */
        AppContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "app";
            /** Currentdatetime */
            currentDateTime: string;
            /** Timezone */
            timeZone: string;
        };
        /** AssignAnnotationConfigToProjectResponseBody */
        AssignAnnotationConfigToProjectResponseBody: {
            /** Data */
            data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
        };
        /**
         * AssistantMessageMetadata
         * @description Wire schema for the chat stream's `message_metadata` payload.
         */
        AssistantMessageMetadata: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "assistant";
            /** Sessionid */
            sessionId: string;
            trace?: components["schemas"]["AssistantMessageMetadataTraceIds"] | null;
            turnTraceContext?: components["schemas"]["TurnTraceContext"] | null;
            usage?: components["schemas"]["AssistantMessageMetadataUsage"] | null;
        };
        /** AssistantMessageMetadataTraceIds */
        AssistantMessageMetadataTraceIds: {
            /** Traceid */
            traceId: string;
            /** Rootspanid */
            rootSpanId: string;
        };
        /** AssistantMessageMetadataUsage */
        AssistantMessageMetadataUsage: {
            tokens: components["schemas"]["AssistantMessageMetadataUsageTokens"];
            promptDetails?: components["schemas"]["AssistantMessageMetadataUsageTokenDetails"] | null;
        };
        /** AssistantMessageMetadataUsageTokenDetails */
        AssistantMessageMetadataUsageTokenDetails: {
            /** Cacheread */
            cacheRead: number;
            /** Cachewrite */
            cacheWrite: number;
        };
        /** AssistantMessageMetadataUsageTokens */
        AssistantMessageMetadataUsageTokens: {
            /** Prompt */
            prompt: number;
            /** Completion */
            completion: number;
            /** Total */
            total: number;
        };
        /**
         * BuiltInProviderModelSelection
         * @description Chat against a Phoenix built-in provider.
         *
         *     Credentials and connection details (base URL, Azure endpoint, AWS
         *     region) are resolved from the secret store first and the process
         *     environment second. ``openai_api_type`` is honoured by the OpenAI and
         *     Azure OpenAI branches; other providers ignore it.
         */
        BuiltInProviderModelSelection: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            providerType: "builtin";
            provider: components["schemas"]["ModelProvider"];
            /** Modelname */
            modelName: string;
            /**
             * Openaiapitype
             * @default responses
             * @enum {string}
             */
            openaiApiType?: "chat_completions" | "responses";
        };
        /** CategoricalAnnotationConfig */
        CategoricalAnnotationConfig: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "CATEGORICAL";
            /** Description */
            description?: string | null;
            optimization_direction: components["schemas"]["OptimizationDirection"];
            /** Values */
            values: components["schemas"]["CategoricalAnnotationValue"][];
            /** Id */
            id: string;
        };
        /** CategoricalAnnotationConfigData */
        CategoricalAnnotationConfigData: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "CATEGORICAL";
            /** Description */
            description?: string | null;
            optimization_direction: components["schemas"]["OptimizationDirection"];
            /** Values */
            values: components["schemas"]["CategoricalAnnotationValue"][];
        };
        /** CategoricalAnnotationValue */
        CategoricalAnnotationValue: {
            /** Label */
            label: string;
            /** Score */
            score?: number | null;
        };
        /**
         * ChatContext
         * @description Discriminated union of every UI-state context the agent understands.
         */
        ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["SessionContext"] | components["schemas"]["PromptContext"] | components["schemas"]["PromptVersionContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"] | components["schemas"]["CodeEvaluatorContext"] | components["schemas"]["LlmEvaluatorContext"] | components["schemas"]["DatasetContext"] | components["schemas"]["GraphQLContext"] | components["schemas"]["WebAccessContext"] | components["schemas"]["SubagentsContext"];
        /**
         * ChatRegenerateMessage
         * @description Regenerate message extended with Phoenix-specific fields.
         */
        ChatRegenerateMessage: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            trigger: "regenerate-message";
            /** Id */
            id: string;
            /** Messages */
            messages: components["schemas"]["PhoenixUIMessage"][];
            /** Messageid */
            messageId?: string | null;
            /**
             * Ingesttraces
             * @default false
             */
            ingestTraces?: boolean;
            /**
             * Exportremotetraces
             * @default false
             */
            exportRemoteTraces?: boolean;
            /**
             * Attachuserid
             * @description When true and the request is authenticated as a PhoenixUser, attaches the user's email as the OpenInference ``user.id`` span attribute on all traced work for this request.
             * @default false
             */
            attachUserId?: boolean;
            /** Contexts */
            contexts?: components["schemas"]["ChatContext"][];
            /**
             * Editpermission
             * @default manual
             * @enum {string}
             */
            editPermission?: "manual" | "bypass";
            /**
             * Requestedskills
             * @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
             */
            requestedSkills?: string[];
            /** Model */
            model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
            turnTraceContext?: components["schemas"]["TurnTraceContext"] | null;
        } & {
            [key: string]: unknown;
        };
        /**
         * ChatRequest
         * @description Discriminated union of chat request payloads.
         */
        ChatRequest: components["schemas"]["ChatSubmitMessage"] | components["schemas"]["ChatRegenerateMessage"];
        /**
         * ChatSubmitMessage
         * @description Submit message extended with Phoenix-specific fields.
         */
        ChatSubmitMessage: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            trigger: "submit-message";
            /** Id */
            id: string;
            /** Messages */
            messages: components["schemas"]["PhoenixUIMessage"][];
            /**
             * Ingesttraces
             * @default false
             */
            ingestTraces?: boolean;
            /**
             * Exportremotetraces
             * @default false
             */
            exportRemoteTraces?: boolean;
            /**
             * Attachuserid
             * @description When true and the request is authenticated as a PhoenixUser, attaches the user's email as the OpenInference ``user.id`` span attribute on all traced work for this request.
             * @default false
             */
            attachUserId?: boolean;
            /** Contexts */
            contexts?: components["schemas"]["ChatContext"][];
            /**
             * Editpermission
             * @default manual
             * @enum {string}
             */
            editPermission?: "manual" | "bypass";
            /**
             * Requestedskills
             * @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
             */
            requestedSkills?: string[];
            /** Model */
            model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
            turnTraceContext?: components["schemas"]["TurnTraceContext"] | null;
        } & {
            [key: string]: unknown;
        };
        /**
         * CodeEvaluatorContext
         * @description Code-evaluator create/edit form mounted in the current browser route.
         */
        CodeEvaluatorContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "code_evaluator";
            /** Evaluatornodeid */
            evaluatorNodeId?: string | null;
        };
        /** ContinuousAnnotationConfig */
        ContinuousAnnotationConfig: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "CONTINUOUS";
            /** Description */
            description?: string | null;
            optimization_direction: components["schemas"]["OptimizationDirection"];
            /** Lower Bound */
            lower_bound?: number | null;
            /** Upper Bound */
            upper_bound?: number | null;
            /** Id */
            id: string;
        };
        /** ContinuousAnnotationConfigData */
        ContinuousAnnotationConfigData: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "CONTINUOUS";
            /** Description */
            description?: string | null;
            optimization_direction: components["schemas"]["OptimizationDirection"];
            /** Lower Bound */
            lower_bound?: number | null;
            /** Upper Bound */
            upper_bound?: number | null;
        };
        /** CreateAnnotationConfigData */
        CreateAnnotationConfigData: components["schemas"]["CategoricalAnnotationConfigData"] | components["schemas"]["ContinuousAnnotationConfigData"] | components["schemas"]["FreeformAnnotationConfigData"];
        /** CreateAnnotationConfigResponseBody */
        CreateAnnotationConfigResponseBody: {
            /** Data */
            data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
        };
        /** CreateApiKeyRequestBody */
        CreateApiKeyRequestBody: {
            data: components["schemas"]["ApiKeyData"];
        };
        /** CreateApiKeyResponseBody */
        CreateApiKeyResponseBody: {
            data: components["schemas"]["CreatedApiKey"];
        };
        /** CreateDatasetLabelRequestBody */
        CreateDatasetLabelRequestBody: {
            /**
             * Name
             * @description The name of the dataset label
             */
            name: string;
            /**
             * Color
             * @description A lowercase hex color code (e.g. '#00cc88') used to display the label
             */
            color: string;
            /**
             * Description
             * @description An optional description of the dataset label
             */
            description?: string | null;
        };
        /** CreateDatasetLabelResponseBody */
        CreateDatasetLabelResponseBody: {
            data: components["schemas"]["DatasetLabel"];
        };
        /**
         * CreateExperimentRequestBody
         * @description Details of the experiment to be created
         */
        CreateExperimentRequestBody: {
            /**
             * Name
             * @description Name of the experiment (if omitted, a random name will be generated)
             */
            name?: string | null;
            /**
             * Description
             * @description An optional description of the experiment
             */
            description?: string | null;
            /**
             * Metadata
             * @description Metadata for the experiment
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Version Id
             * @description ID of the dataset version over which the experiment will be run (if omitted, the latest version will be used)
             */
            version_id?: string | null;
            /**
             * Splits
             * @description List of dataset split identifiers (GlobalIDs or names) to filter by
             */
            splits?: string[] | null;
            /**
             * Repetitions
             * @description Number of times the experiment should be repeated for each example
             * @default 1
             */
            repetitions?: number;
        };
        /** CreateExperimentResponseBody */
        CreateExperimentResponseBody: {
            data: components["schemas"]["Experiment"];
        };
        /** CreateExperimentRunRequestBody */
        CreateExperimentRunRequestBody: {
            /**
             * Dataset Example Id
             * @description The ID of the dataset example used in the experiment run
             */
            dataset_example_id: string;
            /**
             * Output
             * @description The output of the experiment task
             */
            output: unknown;
            /**
             * Repetition Number
             * @description The repetition number of the experiment run
             */
            repetition_number: number;
            /**
             * Start Time
             * Format: date-time
             * @description The start time of the experiment run
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             * @description The end time of the experiment run
             */
            end_time: string;
            /**
             * Trace Id
             * @description The ID of the corresponding trace (if one exists)
             */
            trace_id?: string | null;
            /**
             * Error
             * @description Optional error message if the experiment run encountered an error
             */
            error?: string | null;
        };
        /** CreateExperimentRunResponseBody */
        CreateExperimentRunResponseBody: {
            data: components["schemas"]["CreateExperimentRunResponseBodyData"];
        };
        /** CreateExperimentRunResponseBodyData */
        CreateExperimentRunResponseBodyData: {
            /**
             * Id
             * @description The ID of the newly created experiment run
             */
            id: string;
        };
        /** CreateProjectRequestBody */
        CreateProjectRequestBody: {
            /** Name */
            name: string;
            /** Description */
            description?: string | null;
        };
        /** CreateProjectResponseBody */
        CreateProjectResponseBody: {
            data: components["schemas"]["Project"];
        };
        /** CreatePromptRequestBody */
        CreatePromptRequestBody: {
            prompt: components["schemas"]["PromptData"];
            version: components["schemas"]["PromptVersionData"];
        };
        /** CreatePromptResponseBody */
        CreatePromptResponseBody: {
            data: components["schemas"]["PromptVersion"];
        };
        /** CreateSessionNoteRequestBody */
        CreateSessionNoteRequestBody: {
            data: components["schemas"]["SessionNoteData"];
        };
        /** CreateSessionNoteResponseBody */
        CreateSessionNoteResponseBody: {
            data: components["schemas"]["InsertedSessionAnnotation"];
        };
        /** CreateSpanNoteRequestBody */
        CreateSpanNoteRequestBody: {
            data: components["schemas"]["SpanNoteData"];
        };
        /** CreateSpanNoteResponseBody */
        CreateSpanNoteResponseBody: {
            data: components["schemas"]["InsertedSpanAnnotation"];
        };
        /** CreateSpansRequestBody */
        CreateSpansRequestBody: {
            /** Data */
            data: components["schemas"]["Span"][];
        };
        /** CreateSpansResponseBody */
        CreateSpansResponseBody: {
            /**
             * Total Received
             * @description Total number of spans received
             */
            total_received: number;
            /**
             * Total Queued
             * @description Number of spans successfully queued for insertion
             */
            total_queued: number;
        };
        /** CreateTraceNoteRequestBody */
        CreateTraceNoteRequestBody: {
            data: components["schemas"]["TraceNoteData"];
        };
        /** CreateTraceNoteResponseBody */
        CreateTraceNoteResponseBody: {
            data: components["schemas"]["InsertedTraceAnnotation"];
        };
        /** CreateUserRequestBody */
        CreateUserRequestBody: {
            /** User */
            user: components["schemas"]["LocalUserData"] | components["schemas"]["OAuth2UserData"] | components["schemas"]["LDAPUserData"];
            /**
             * Send Welcome Email
             * @default true
             */
            send_welcome_email?: boolean;
        };
        /** CreateUserResponseBody */
        CreateUserResponseBody: {
            /** Data */
            data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"];
        };
        /** CreatedApiKey */
        CreatedApiKey: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description?: string | null;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /** Expires At */
            expires_at?: string | null;
            /**
             * Key
             * @description The API key. This is the only time it is returned; it cannot be recovered from the listing endpoints.
             */
            key: string;
        };
        /**
         * CustomProviderModelSelection
         * @description Chat against a stored custom provider record.
         */
        CustomProviderModelSelection: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            providerType: "custom";
            /** Providerid */
            providerId: string;
            /** Modelname */
            modelName: string;
        };
        /**
         * DataUIPart
         * @description Data part with dynamic type based on data name.
         */
        DataUIPart: {
            /** Type */
            type: string;
            /** Id */
            id?: string | null;
            /** Data */
            data: unknown;
        };
        /** Dataset */
        Dataset: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description: string | null;
            /** Metadata */
            metadata: {
                [key: string]: unknown;
            };
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /** Example Count */
            example_count: number;
        };
        /**
         * DatasetContext
         * @description Dataset the user is currently viewing or has bound to a workflow.
         *
         *     Carries the dataset's relay node id and, when known, the active version
         *     node id. These IDs scope the create-form handoff link and the sampling of
         *     active dataset examples used as prompt context; the dataset schema itself
         *     is open.
         */
        DatasetContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "dataset";
            /** Datasetnodeid */
            datasetNodeId: string;
            /** Datasetversionnodeid */
            datasetVersionNodeId?: string | null;
        };
        /** DatasetExample */
        DatasetExample: {
            /** Id */
            id: string;
            /** Node Id */
            node_id: string;
            /** Input */
            input: {
                [key: string]: unknown;
            };
            /** Output */
            output: {
                [key: string]: unknown;
            };
            /** Metadata */
            metadata: {
                [key: string]: unknown;
            };
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            source?: components["schemas"]["DatasetExampleSource"] | null;
        };
        /** DatasetExampleSource */
        DatasetExampleSource: {
            /** Span Id */
            span_id: string;
            /** Span Node Id */
            span_node_id: string;
        };
        /** DatasetLabel */
        DatasetLabel: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description: string | null;
            /** Color */
            color: string;
        };
        /** DatasetVersion */
        DatasetVersion: {
            /** Version Id */
            version_id: string;
            /** Description */
            description: string | null;
            /** Metadata */
            metadata: {
                [key: string]: unknown;
            };
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
        };
        /** DatasetWithExampleCount */
        DatasetWithExampleCount: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description: string | null;
            /** Metadata */
            metadata: {
                [key: string]: unknown;
            };
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /** Example Count */
            example_count: number;
        };
        /** DeleteAnnotationConfigResponseBody */
        DeleteAnnotationConfigResponseBody: {
            /** Data */
            data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
        };
        /** DeleteSessionsRequestBody */
        DeleteSessionsRequestBody: {
            /**
             * Session Identifiers
             * @description List of session identifiers to delete. All identifiers must be the same type: either all GlobalIDs or all user-provided session_id strings.
             */
            session_identifiers: string[];
        };
        /**
         * DynamicToolApprovalRequestedPart
         * @description Dynamic tool part in approval-requested state (awaiting user decision).
         */
        DynamicToolApprovalRequestedPart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default approval-requested
             * @constant
             */
            state?: "approval-requested";
            /** Input */
            input: unknown;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolApprovalRespondedPart
         * @description Dynamic tool part in approval-responded state (user approved/denied, execution pending).
         */
        DynamicToolApprovalRespondedPart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default approval-responded
             * @constant
             */
            state?: "approval-responded";
            /** Input */
            input: unknown;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolInputAvailablePart
         * @description Dynamic tool part in input-available state.
         */
        DynamicToolInputAvailablePart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default input-available
             * @constant
             */
            state?: "input-available";
            /** Input */
            input: unknown;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolInputStreamingPart
         * @description Dynamic tool part in input-streaming state.
         */
        DynamicToolInputStreamingPart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default input-streaming
             * @constant
             */
            state?: "input-streaming";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolOutputAvailablePart
         * @description Dynamic tool part in output-available state.
         */
        DynamicToolOutputAvailablePart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-available
             * @constant
             */
            state?: "output-available";
            /** Input */
            input: unknown;
            /** Output */
            output: unknown;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Preliminary */
            preliminary?: boolean | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolOutputDeniedPart
         * @description Dynamic tool part in output-denied state (tool was denied, terminal state).
         */
        DynamicToolOutputDeniedPart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-denied
             * @constant
             */
            state?: "output-denied";
            /** Input */
            input: unknown;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * DynamicToolOutputErrorPart
         * @description Dynamic tool part in output-error state.
         */
        DynamicToolOutputErrorPart: {
            /**
             * Type
             * @default dynamic-tool
             * @constant
             */
            type?: "dynamic-tool";
            /** Toolname */
            toolName: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-error
             * @constant
             */
            state?: "output-error";
            /** Input */
            input: unknown;
            /** Errortext */
            errorText: string;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /** Experiment */
        Experiment: {
            /**
             * Id
             * @description The ID of the experiment
             */
            id: string;
            /**
             * Dataset Id
             * @description The ID of the dataset associated with the experiment
             */
            dataset_id: string;
            /**
             * Dataset Version Id
             * @description The ID of the dataset version associated with the experiment
             */
            dataset_version_id: string;
            /**
             * Name
             * @description The name of the experiment
             */
            name: string;
            /**
             * Description
             * @description The description of the experiment
             */
            description: string | null;
            /**
             * Repetitions
             * @description Number of times the experiment is repeated
             */
            repetitions: number;
            /**
             * Metadata
             * @description Metadata of the experiment
             */
            metadata: {
                [key: string]: unknown;
            };
            /**
             * Project Name
             * @description The name of the project associated with the experiment
             */
            project_name: string | null;
            /**
             * Created At
             * Format: date-time
             * @description The creation timestamp of the experiment
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             * @description The last update timestamp of the experiment
             */
            updated_at: string;
            /**
             * Example Count
             * @description Number of examples in the experiment
             */
            example_count: number;
            /**
             * Successful Run Count
             * @description Number of successful runs in the experiment
             */
            successful_run_count: number;
            /**
             * Failed Run Count
             * @description Number of failed runs in the experiment
             */
            failed_run_count: number;
            /**
             * Missing Run Count
             * @description Number of missing (not yet executed) runs in the experiment
             */
            missing_run_count: number;
        };
        /** ExperimentEvaluationResult */
        ExperimentEvaluationResult: {
            /**
             * Label
             * @description The label assigned by the evaluation
             */
            label?: string | null;
            /**
             * Score
             * @description The score assigned by the evaluation
             */
            score?: number | null;
            /**
             * Explanation
             * @description Explanation of the evaluation result
             */
            explanation?: string | null;
        };
        /** ExperimentRun */
        ExperimentRun: {
            /**
             * Dataset Example Id
             * @description The ID of the dataset example used in the experiment run
             */
            dataset_example_id: string;
            /**
             * Output
             * @description The output of the experiment task
             */
            output: unknown;
            /**
             * Repetition Number
             * @description The repetition number of the experiment run
             */
            repetition_number: number;
            /**
             * Start Time
             * Format: date-time
             * @description The start time of the experiment run
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             * @description The end time of the experiment run
             */
            end_time: string;
            /**
             * Trace Id
             * @description The ID of the corresponding trace (if one exists)
             */
            trace_id?: string | null;
            /**
             * Error
             * @description Optional error message if the experiment run encountered an error
             */
            error?: string | null;
            /**
             * Id
             * @description The ID of the experiment run
             */
            id: string;
            /**
             * Experiment Id
             * @description The ID of the experiment
             */
            experiment_id: string;
        };
        /**
         * FileUIPart
         * @description A file part of a message.
         */
        FileUIPart: {
            /**
             * Type
             * @default file
             * @constant
             */
            type?: "file";
            /** Mediatype */
            mediaType: string;
            /** Filename */
            filename?: string | null;
            /** Url */
            url: string;
            /** Providermetadata */
            providerMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
        };
        /** FreeformAnnotationConfig */
        FreeformAnnotationConfig: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "FREEFORM";
            /** Description */
            description?: string | null;
            optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
            /** Threshold */
            threshold?: number | null;
            /** Lower Bound */
            lower_bound?: number | null;
            /** Upper Bound */
            upper_bound?: number | null;
            /** Id */
            id: string;
        };
        /** FreeformAnnotationConfigData */
        FreeformAnnotationConfigData: {
            /** Name */
            name: string;
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "FREEFORM";
            /** Description */
            description?: string | null;
            optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
            /** Threshold */
            threshold?: number | null;
            /** Lower Bound */
            lower_bound?: number | null;
            /** Upper Bound */
            upper_bound?: number | null;
        };
        /** GetAllUserApiKeysResponseBody */
        GetAllUserApiKeysResponseBody: {
            /** Data */
            data: components["schemas"]["UserApiKey"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetAnnotationConfigResponseBody */
        GetAnnotationConfigResponseBody: {
            /** Data */
            data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
        };
        /** GetAnnotationConfigsResponseBody */
        GetAnnotationConfigsResponseBody: {
            /** Data */
            data: (components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"])[];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetApiKeysResponseBody */
        GetApiKeysResponseBody: {
            /** Data */
            data: components["schemas"]["ApiKey"][];
        };
        /** GetDatasetLabelResponseBody */
        GetDatasetLabelResponseBody: {
            data: components["schemas"]["DatasetLabel"];
        };
        /** GetDatasetLabelsResponseBody */
        GetDatasetLabelsResponseBody: {
            /** Data */
            data: components["schemas"]["DatasetLabel"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetDatasetResponseBody */
        GetDatasetResponseBody: {
            data: components["schemas"]["DatasetWithExampleCount"];
        };
        /** GetExperimentResponseBody */
        GetExperimentResponseBody: {
            data: components["schemas"]["Experiment"];
        };
        /** GetIncompleteEvaluationsResponseBody */
        GetIncompleteEvaluationsResponseBody: {
            /** Data */
            data: components["schemas"]["IncompleteExperimentEvaluation"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetIncompleteExperimentRunsResponseBody */
        GetIncompleteExperimentRunsResponseBody: {
            /** Data */
            data: components["schemas"]["IncompleteExperimentRun"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetProjectAnnotationConfigsResponseBody */
        GetProjectAnnotationConfigsResponseBody: {
            /** Data */
            data: (components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"])[];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetProjectResponseBody */
        GetProjectResponseBody: {
            data: components["schemas"]["Project"];
        };
        /** GetProjectsResponseBody */
        GetProjectsResponseBody: {
            /** Data */
            data: components["schemas"]["Project"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetPromptResponseBody */
        GetPromptResponseBody: {
            data: components["schemas"]["PromptVersion"];
        };
        /** GetPromptVersionTagsResponseBody */
        GetPromptVersionTagsResponseBody: {
            /** Data */
            data: components["schemas"]["PromptVersionTag"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetPromptVersionsResponseBody */
        GetPromptVersionsResponseBody: {
            /** Data */
            data: components["schemas"]["PromptVersion"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetPromptsResponseBody */
        GetPromptsResponseBody: {
            /** Data */
            data: components["schemas"]["Prompt"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetSessionResponseBody */
        GetSessionResponseBody: {
            data: components["schemas"]["SessionData"];
        };
        /** GetSessionsResponseBody */
        GetSessionsResponseBody: {
            /** Data */
            data: components["schemas"]["SessionData"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetTracesResponseBody */
        GetTracesResponseBody: {
            /** Data */
            data: components["schemas"]["TraceData"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetUsersResponseBody */
        GetUsersResponseBody: {
            /** Data */
            data: (components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"])[];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** GetViewerResponseBody */
        GetViewerResponseBody: {
            /** Data */
            data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"] | components["schemas"]["AnonymousUser"];
        };
        /**
         * GraphQLContext
         * @description GraphQL runtime state.
         */
        GraphQLContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "graphql";
            /** Mutationsenabled */
            mutationsEnabled: boolean;
        };
        /** HTTPValidationError */
        HTTPValidationError: {
            /** Detail */
            detail?: components["schemas"]["ValidationError"][];
        };
        /** Identifier */
        Identifier: string;
        /**
         * IncompleteExperimentEvaluation
         * @description Information about an experiment run with incomplete evaluations
         */
        IncompleteExperimentEvaluation: {
            /** @description The experiment run */
            experiment_run: components["schemas"]["ExperimentRun"];
            /** @description The dataset example */
            dataset_example: components["schemas"]["DatasetExample"];
            /**
             * Evaluation Names
             * @description List of evaluation names that are incomplete (either missing or failed)
             */
            evaluation_names: string[];
        };
        /**
         * IncompleteExperimentRun
         * @description Information about incomplete runs for a dataset example
         */
        IncompleteExperimentRun: {
            /** @description The dataset example */
            dataset_example: components["schemas"]["DatasetExample"];
            /**
             * Repetition Numbers
             * @description List of repetition numbers that need to be run
             */
            repetition_numbers: number[];
        };
        /** InsertedSessionAnnotation */
        InsertedSessionAnnotation: {
            /**
             * Id
             * @description The ID of the inserted session annotation
             */
            id: string;
        };
        /** InsertedSpanAnnotation */
        InsertedSpanAnnotation: {
            /**
             * Id
             * @description The ID of the inserted span annotation
             */
            id: string;
        };
        /** InsertedSpanDocumentAnnotation */
        InsertedSpanDocumentAnnotation: {
            /**
             * Id
             * @description The ID of the inserted span document annotation
             */
            id: string;
        };
        /** InsertedTraceAnnotation */
        InsertedTraceAnnotation: {
            /**
             * Id
             * @description The ID of the inserted trace annotation
             */
            id: string;
        };
        /** LDAPUser */
        LDAPUser: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "LDAP";
        };
        /** LDAPUserData */
        LDAPUserData: {
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "LDAP";
        };
        /** ListDatasetExamplesData */
        ListDatasetExamplesData: {
            /** Dataset Id */
            dataset_id: string;
            /** Version Id */
            version_id: string;
            /** Filtered Splits */
            filtered_splits?: string[];
            /** Examples */
            examples: components["schemas"]["DatasetExample"][];
        };
        /** ListDatasetExamplesResponseBody */
        ListDatasetExamplesResponseBody: {
            data: components["schemas"]["ListDatasetExamplesData"];
        };
        /** ListDatasetLabelsForDatasetResponseBody */
        ListDatasetLabelsForDatasetResponseBody: {
            /** Data */
            data: components["schemas"]["DatasetLabel"][];
        };
        /** ListDatasetVersionsResponseBody */
        ListDatasetVersionsResponseBody: {
            /** Data */
            data: components["schemas"]["DatasetVersion"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** ListDatasetsResponseBody */
        ListDatasetsResponseBody: {
            /** Data */
            data: components["schemas"]["Dataset"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** ListExperimentRunsResponseBody */
        ListExperimentRunsResponseBody: {
            /** Data */
            data: components["schemas"]["ExperimentRun"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** ListExperimentsResponseBody */
        ListExperimentsResponseBody: {
            /** Data */
            data: components["schemas"]["Experiment"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /**
         * LlmEvaluatorContext
         * @description LLM-evaluator create/edit form mounted in the current browser route.
         */
        LlmEvaluatorContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "llm_evaluator";
            /** Evaluatornodeid */
            evaluatorNodeId?: string | null;
        };
        /** LocalUser */
        LocalUser: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "LOCAL";
            /** Password */
            password?: string;
            /** Password Needs Reset */
            password_needs_reset: boolean;
        };
        /** LocalUserData */
        LocalUserData: {
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "LOCAL";
            /** Password */
            password?: string;
        };
        /**
         * ModelProvider
         * @enum {string}
         */
        ModelProvider: "OPENAI" | "AZURE_OPENAI" | "ANTHROPIC" | "GOOGLE" | "DEEPSEEK" | "XAI" | "OLLAMA" | "AWS" | "CEREBRAS" | "FIREWORKS" | "GROQ" | "MOONSHOT" | "PERPLEXITY" | "TOGETHER";
        /** OAuth2User */
        OAuth2User: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "OAUTH2";
            /** Oauth2 Client Id */
            oauth2_client_id?: string;
            /** Oauth2 User Id */
            oauth2_user_id?: string;
            /** Profile Picture Url */
            profile_picture_url?: string;
        };
        /** OAuth2UserData */
        OAuth2UserData: {
            /** Email */
            email: string;
            /** Username */
            username: string;
            /**
             * Role
             * @enum {string}
             */
            role: "SYSTEM" | "ADMIN" | "MEMBER" | "VIEWER";
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            auth_method: "OAUTH2";
            /** Oauth2 Client Id */
            oauth2_client_id?: string;
            /** Oauth2 User Id */
            oauth2_user_id?: string;
        };
        /**
         * OptimizationDirection
         * @enum {string}
         */
        OptimizationDirection: "MINIMIZE" | "MAXIMIZE" | "NONE";
        /** OtlpAnyValue */
        OtlpAnyValue: {
            array_value?: components["schemas"]["OtlpArrayValue"] | null;
            /** Bool Value */
            bool_value?: boolean | null;
            /** Bytes Value */
            bytes_value?: string | null;
            /** Double Value */
            double_value?: number | components["schemas"]["OtlpDoubleValue"] | string | null;
            /** Int Value */
            int_value?: number | string | null;
            /** Kvlist Value */
            kvlist_value?: null;
            /** String Value */
            string_value?: string | null;
        };
        /** OtlpArrayValue */
        OtlpArrayValue: {
            /**
             * Values
             * @description Array of values. The array may be empty (contain 0 elements).
             */
            values?: components["schemas"]["OtlpAnyValue"][] | null;
        };
        /**
         * OtlpDoubleValue
         * @enum {string}
         */
        OtlpDoubleValue: "Infinity" | "-Infinity" | "NaN";
        /** OtlpEvent */
        OtlpEvent: {
            /**
             * Attributes
             * @description attributes is a collection of attribute key/value pairs on the event. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
             */
            attributes?: components["schemas"]["OtlpKeyValue"][] | null;
            /**
             * Dropped Attributes Count
             * @description dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
             */
            dropped_attributes_count?: number | null;
            /**
             * Name
             * @description name of the event. This field is semantically required to be set to non-empty string.
             */
            name?: string | null;
            /**
             * Time Unix Nano
             * @description time_unix_nano is the time the event occurred. Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
             */
            time_unix_nano?: number | string | null;
        };
        /** OtlpKeyValue */
        OtlpKeyValue: {
            /** Key */
            key?: string | null;
            value?: components["schemas"]["OtlpAnyValue"] | null;
        };
        /**
         * OtlpKind
         * @enum {string}
         */
        OtlpKind: "SPAN_KIND_UNSPECIFIED" | "SPAN_KIND_INTERNAL" | "SPAN_KIND_SERVER" | "SPAN_KIND_CLIENT" | "SPAN_KIND_PRODUCER" | "SPAN_KIND_CONSUMER";
        /** OtlpSpan */
        OtlpSpan: {
            /**
             * Attributes
             * @description attributes is a collection of key/value pairs. Note, global attributes like server name can be set using the resource API. Examples of attributes:
             *
             *         "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
             *         "/http/server_latency": 300
             *         "example.com/myattribute": true
             *         "example.com/score": 10.239
             *
             *     The OpenTelemetry API specification further restricts the allowed value types:
             *     https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
             *     Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key).
             */
            attributes?: components["schemas"]["OtlpKeyValue"][] | null;
            /**
             * Dropped Attributes Count
             * @description dropped_attributes_count is the number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.
             */
            dropped_attributes_count?: number | null;
            /**
             * Dropped Events Count
             * @description dropped_events_count is the number of dropped events. If the value is 0, then no events were dropped.
             */
            dropped_events_count?: number | null;
            /**
             * Dropped Links Count
             * @description dropped_links_count is the number of dropped links after the maximum size was enforced. If this value is 0, then no links were dropped.
             */
            dropped_links_count?: number | null;
            /**
             * End Time Unix Nano
             * @description end_time_unix_nano is the end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
             *     Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
             *
             *     This field is semantically required and it is expected that end_time >= start_time.
             */
            end_time_unix_nano?: number | string | null;
            /**
             * Events
             * @description events is a collection of Event items. A span with no events is valid.
             */
            events?: components["schemas"]["OtlpEvent"][] | null;
            /**
             * Flags
             * @description Flags, a bit field.
             *
             *     Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace Context specification. To read the 8-bit W3C trace flag, use `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
             *
             *     See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
             *
             *     Bits 8 and 9 represent the 3 states of whether a span's parent is remote. The states are (unknown, is not remote, is remote).
             *     To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
             *     To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
             *
             *     When creating span messages, if the message is logically forwarded from another source with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD be copied as-is. If creating from a source that does not have an equivalent flags field (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST be set to zero.
             *     Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
             *
             *     [Optional].
             */
            flags?: number | null;
            /**
             * Kind
             * @description Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` (caller) and `SERVER` (callee) to identify queueing latency associated with the span.
             * @default SPAN_KIND_INTERNAL
             */
            kind?: components["schemas"]["OtlpKind"] | number | null;
            /** Links */
            links?: null;
            /**
             * Name
             * @description A description of the span's operation.
             *
             *     For example, the name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name at the same call point in an application. This makes it easier to correlate spans in different traces.
             *
             *     This field is semantically required to be set to non-empty string. Empty value is equivalent to an unknown span name.
             *
             *     This field is required.
             */
            name?: string | null;
            /**
             * Parent Span Id
             * @description The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
             */
            parent_span_id?: string | null;
            /**
             * Span Id
             * @description A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. An ID with all zeroes OR of length other than 8 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).
             *
             *     This field is required.
             */
            span_id?: string | null;
            /**
             * Start Time Unix Nano
             * @description start_time_unix_nano is the start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
             *     Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
             *
             *     This field is semantically required and it is expected that end_time >= start_time.
             */
            start_time_unix_nano?: number | string | null;
            /** @description An optional final status for this span. Semantically when Status isn't set, it means span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0). */
            status?: components["schemas"]["OtlpStatus"] | null;
            /**
             * Trace Id
             * @description A unique identifier for a trace. All spans from the same trace share the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR of length other than 16 bytes is considered invalid (empty string in OTLP/JSON is zero-length and thus is also invalid).
             *
             *     This field is required.
             */
            trace_id?: string | null;
            /**
             * Trace State
             * @description trace_state conveys information about request position in multiple distributed tracing graphs. It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
             *     See also https://github.com/w3c/distributed-tracing for more details about this field.
             */
            trace_state?: string | null;
        };
        /**
         * OtlpSpansResponseBody
         * @description Paginated response where each span follows OTLP JSON structure.
         */
        OtlpSpansResponseBody: {
            /** Data */
            data: components["schemas"]["OtlpSpan"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** OtlpStatus */
        OtlpStatus: {
            /**
             * Code
             * @description The status code.
             */
            code?: number | null;
            /**
             * Message
             * @description A developer-facing human readable error message.
             */
            message?: string | null;
        };
        /**
         * PhoenixUIMessage
         * @description `UIMessage` with `metadata` narrowed to the Phoenix wire shapes.
         */
        PhoenixUIMessage: {
            /** Id */
            id: string;
            /**
             * Role
             * @enum {string}
             */
            role: "system" | "user" | "assistant";
            /** Metadata */
            metadata?: (components["schemas"]["AssistantMessageMetadata"] | components["schemas"]["UserMessageMetadata"]) | null;
            /** Parts */
            parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
        };
        /**
         * PlaygroundBuiltinModelContext
         * @description Built-in playground model selection.
         */
        PlaygroundBuiltinModelContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "builtin";
            /** Provider */
            provider: string;
            /** Modelname */
            modelName: string;
        };
        /**
         * PlaygroundContext
         * @description Playground prompt editor state mounted in the current browser route.
         */
        PlaygroundContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "playground";
            /**
             * Recordexperiments
             * @default true
             */
            recordExperiments?: boolean;
            /**
             * Repetitions
             * @default 1
             */
            repetitions?: number;
            nextExperimentScaffold?: components["schemas"]["PlaygroundExperimentScaffoldContext"] | null;
            /** Instances */
            instances?: components["schemas"]["PlaygroundInstanceContext"][];
            /** Evaluators */
            evaluators?: components["schemas"]["PlaygroundEvaluatorContext"][];
        };
        /**
         * PlaygroundCustomProviderModelContext
         * @description Custom-provider playground model selection.
         */
        PlaygroundCustomProviderModelContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "custom";
            /** Customproviderid */
            customProviderId: string;
            /** Customprovidername */
            customProviderName: string;
            /** Provider */
            provider: string;
            /** Modelname */
            modelName: string;
        };
        /**
         * PlaygroundEvaluatorContext
         * @description One dataset evaluator on the mounted playground's roster. ``name`` is
         *     user-controlled; sanitize at every model-visible boundary.
         */
        PlaygroundEvaluatorContext: {
            /** Datasetevaluatorid */
            datasetEvaluatorId: string;
            /** Name */
            name: string;
            /**
             * Kind
             * @enum {string}
             */
            kind: "LLM" | "CODE" | "BUILTIN";
            /** Isbuiltin */
            isBuiltin: boolean;
            /** Isapplied */
            isApplied: boolean;
        };
        /**
         * PlaygroundExperimentScaffoldContext
         * @description Experiment name/description/metadata the user has staged for the playground's
         *     *next* dataset-backed run, before that run has started.
         *
         *     The playground UI lets the user pre-set how the next recorded run's experiment
         *     will be named, described, and tagged (via the ``set_playground_experiment_recording``
         *     tool or the recording form). That staged state is surfaced here so the agent can
         *     see what is already set and avoid re-staging it.
         *
         *     Field semantics:
         *     - ``name`` / ``description``: the staged values, surfaced to the model verbatim,
         *       or ``None`` when the user has not staged them.
         *     - ``has_metadata``: a presence flag, not the value. Only *whether* metadata has
         *       been staged is model-relevant (so the agent knows not to re-attach it); the
         *       metadata object itself is deliberately kept out of the prompt.
         *
         *     A field left unstaged (``None`` / ``False``) falls back to the server default when
         *     the run starts. The scaffold is consumed once that next run begins.
         */
        PlaygroundExperimentScaffoldContext: {
            /** Name */
            name?: string | null;
            /** Description */
            description?: string | null;
            /**
             * Hasmetadata
             * @default false
             */
            hasMetadata?: boolean;
        };
        /**
         * PlaygroundInstanceContext
         * @description One mounted playground instance and its current model selection.
         *
         *     ``experiment_id`` carries the relay node id of the experiment produced by
         *     this instance's last dataset-backed run, or ``None`` when the instance has
         *     not produced one. Ephemeral experiments are included: they remain queryable
         *     until the server sweeps them ~24h after their last update.
         */
        PlaygroundInstanceContext: {
            /** Instanceid */
            instanceId: number;
            /** Model */
            model?: (components["schemas"]["PlaygroundBuiltinModelContext"] | components["schemas"]["PlaygroundCustomProviderModelContext"]) | null;
            /** Experimentid */
            experimentId?: string | null;
        };
        /** Project */
        Project: {
            /** Name */
            name: string;
            /** Description */
            description?: string | null;
            /** Id */
            id: string;
        };
        /**
         * ProjectContext
         * @description Project the user is currently viewing.
         *
         *     ``span_filter`` carries the project-scoped span filter expression when the
         *     span filter field is mounted — empty string when the field is mounted with
         *     no condition applied, ``None`` when the field is not present at all.
         *
         *     ``root_spans_only`` carries the current state of the spans-table root vs.
         *     all toggle when that toggle is mounted — ``True`` when the table is
         *     restricted to root spans, ``False`` when it shows every span, ``None``
         *     when the toggle is not present (e.g. on the traces tab).
         */
        ProjectContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "project";
            /** Projectnodeid */
            projectNodeId: string;
            /** Spanfilter */
            spanFilter?: string | null;
            /** Rootspansonly */
            rootSpansOnly?: boolean | null;
        };
        /** Prompt */
        Prompt: {
            name: components["schemas"]["Identifier"];
            /** Description */
            description?: string | null;
            /** Source Prompt Id */
            source_prompt_id?: string | null;
            /** Metadata */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /** Id */
            id: string;
        };
        /** PromptAnthropicInvocationParameters */
        PromptAnthropicInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "anthropic";
            anthropic: components["schemas"]["PromptAnthropicInvocationParametersContent"];
        };
        /** PromptAnthropicInvocationParametersContent */
        PromptAnthropicInvocationParametersContent: {
            /** Max Tokens */
            max_tokens: number;
            /** Temperature */
            temperature?: number;
            /** Top P */
            top_p?: number;
            /** Stop Sequences */
            stop_sequences?: string[];
            output_config?: components["schemas"]["PromptAnthropicOutputConfig"];
            /** Thinking */
            thinking?: components["schemas"]["PromptAnthropicThinkingConfigDisabled"] | components["schemas"]["PromptAnthropicThinkingConfigEnabled"] | components["schemas"]["PromptAnthropicThinkingConfigAdaptive"];
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptAnthropicOutputConfig */
        PromptAnthropicOutputConfig: {
            /**
             * Effort
             * @enum {string}
             */
            effort?: "low" | "medium" | "high" | "xhigh" | "max";
        };
        /** PromptAnthropicThinkingConfigAdaptive */
        PromptAnthropicThinkingConfigAdaptive: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "adaptive";
            /**
             * Display
             * @enum {string}
             */
            display?: "summarized" | "omitted";
        };
        /** PromptAnthropicThinkingConfigDisabled */
        PromptAnthropicThinkingConfigDisabled: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "disabled";
        };
        /** PromptAnthropicThinkingConfigEnabled */
        PromptAnthropicThinkingConfigEnabled: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "enabled";
            /** Budget Tokens */
            budget_tokens: number;
            /**
             * Display
             * @enum {string}
             */
            display?: "summarized" | "omitted";
        };
        /** PromptAwsInvocationParameters */
        PromptAwsInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "aws";
            aws: components["schemas"]["PromptAwsInvocationParametersContent"];
        };
        /** PromptAwsInvocationParametersContent */
        PromptAwsInvocationParametersContent: {
            /** Max Tokens */
            max_tokens?: number;
            /** Temperature */
            temperature?: number;
            /** Top P */
            top_p?: number;
            /** Stop Sequences */
            stop_sequences?: string[];
        };
        /** PromptAzureOpenAIInvocationParameters */
        PromptAzureOpenAIInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "azure_openai";
            azure_openai: components["schemas"]["PromptAzureOpenAIInvocationParametersContent"];
        };
        /** PromptAzureOpenAIInvocationParametersContent */
        PromptAzureOpenAIInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptCerebrasInvocationParameters */
        PromptCerebrasInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "cerebras";
            cerebras: components["schemas"]["PromptCerebrasInvocationParametersContent"];
        };
        /** PromptCerebrasInvocationParametersContent */
        PromptCerebrasInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptChatTemplate */
        PromptChatTemplate: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "chat";
            /** Messages */
            messages: components["schemas"]["PromptMessage"][];
        };
        /**
         * PromptContext
         * @description Prompt the user is currently viewing.
         */
        PromptContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "prompt";
            /** Promptnodeid */
            promptNodeId: string;
        };
        /** PromptData */
        PromptData: {
            name: components["schemas"]["Identifier"];
            /** Description */
            description?: string | null;
            /** Source Prompt Id */
            source_prompt_id?: string | null;
            /** Metadata */
            metadata?: {
                [key: string]: unknown;
            } | null;
        };
        /** PromptDeepSeekInvocationParameters */
        PromptDeepSeekInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "deepseek";
            deepseek: components["schemas"]["PromptDeepSeekInvocationParametersContent"];
        };
        /** PromptDeepSeekInvocationParametersContent */
        PromptDeepSeekInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptFireworksInvocationParameters */
        PromptFireworksInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "fireworks";
            fireworks: components["schemas"]["PromptFireworksInvocationParametersContent"];
        };
        /** PromptFireworksInvocationParametersContent */
        PromptFireworksInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptGoogleInvocationParameters */
        PromptGoogleInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "google";
            google: components["schemas"]["PromptGoogleInvocationParametersContent"];
        };
        /** PromptGoogleInvocationParametersContent */
        PromptGoogleInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Output Tokens */
            max_output_tokens?: number;
            /** Stop Sequences */
            stop_sequences?: string[];
            /** Presence Penalty */
            presence_penalty?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Top K */
            top_k?: number;
            thinking_config?: components["schemas"]["PromptGoogleThinkingConfig"];
        };
        /** PromptGoogleThinkingConfig */
        PromptGoogleThinkingConfig: {
            /** Thinking Budget */
            thinking_budget?: number;
            /**
             * Thinking Level
             * @enum {string}
             */
            thinking_level?: "minimal" | "low" | "medium" | "high";
            /** Include Thoughts */
            include_thoughts?: boolean;
        };
        /** PromptGroqInvocationParameters */
        PromptGroqInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "groq";
            groq: components["schemas"]["PromptGroqInvocationParametersContent"];
        };
        /** PromptGroqInvocationParametersContent */
        PromptGroqInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptMessage */
        PromptMessage: {
            /**
             * Role
             * @enum {string}
             */
            role: "user" | "assistant" | "model" | "ai" | "tool" | "system" | "developer";
            /** Content */
            content: string | (components["schemas"]["TextContentPart"] | components["schemas"]["ToolCallContentPart"] | components["schemas"]["ToolResultContentPart"])[];
        };
        /** PromptMoonshotInvocationParameters */
        PromptMoonshotInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "moonshot";
            moonshot: components["schemas"]["PromptMoonshotInvocationParametersContent"];
        };
        /** PromptMoonshotInvocationParametersContent */
        PromptMoonshotInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptOllamaInvocationParameters */
        PromptOllamaInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "ollama";
            ollama: components["schemas"]["PromptOllamaInvocationParametersContent"];
        };
        /** PromptOllamaInvocationParametersContent */
        PromptOllamaInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptOpenAIInvocationParameters */
        PromptOpenAIInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "openai";
            openai: components["schemas"]["PromptOpenAIInvocationParametersContent"];
        };
        /** PromptOpenAIInvocationParametersContent */
        PromptOpenAIInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptPerplexityInvocationParameters */
        PromptPerplexityInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "perplexity";
            perplexity: components["schemas"]["PromptPerplexityInvocationParametersContent"];
        };
        /** PromptPerplexityInvocationParametersContent */
        PromptPerplexityInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptResponseFormatJSONSchema */
        PromptResponseFormatJSONSchema: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "json_schema";
            json_schema: components["schemas"]["PromptResponseFormatJSONSchemaDefinition"];
        };
        /** PromptResponseFormatJSONSchemaDefinition */
        PromptResponseFormatJSONSchemaDefinition: {
            /** Name */
            name: string;
            /** Description */
            description?: string;
            /** Schema */
            schema?: {
                [key: string]: unknown;
            };
            /** Strict */
            strict?: boolean;
        };
        /** PromptStringTemplate */
        PromptStringTemplate: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "string";
            /** Template */
            template: string;
        };
        /**
         * PromptTemplateFormat
         * @enum {string}
         */
        PromptTemplateFormat: "MUSTACHE" | "F_STRING" | "NONE";
        /**
         * PromptTemplateType
         * @enum {string}
         */
        PromptTemplateType: "STR" | "CHAT";
        /** PromptTogetherInvocationParameters */
        PromptTogetherInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "together";
            together: components["schemas"]["PromptTogetherInvocationParametersContent"];
        };
        /** PromptTogetherInvocationParametersContent */
        PromptTogetherInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /** PromptToolChoiceNone */
        PromptToolChoiceNone: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "none";
        };
        /** PromptToolChoiceOneOrMore */
        PromptToolChoiceOneOrMore: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "one_or_more";
        };
        /** PromptToolChoiceSpecificFunctionTool */
        PromptToolChoiceSpecificFunctionTool: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "specific_function";
            /** Function Name */
            function_name: string;
        };
        /** PromptToolChoiceZeroOrMore */
        PromptToolChoiceZeroOrMore: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "zero_or_more";
        };
        /** PromptToolFunction */
        PromptToolFunction: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "function";
            function: components["schemas"]["PromptToolFunctionDefinition"];
        };
        /** PromptToolFunctionDefinition */
        PromptToolFunctionDefinition: {
            /** Name */
            name: string;
            /** Description */
            description?: string;
            /** Parameters */
            parameters?: {
                [key: string]: unknown;
            };
            /** Strict */
            strict?: boolean;
        };
        /** PromptToolRaw */
        PromptToolRaw: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "raw";
            /** Raw */
            raw: {
                [key: string]: unknown;
            };
        };
        /** PromptTools */
        PromptTools: {
            /**
             * Type
             * @constant
             */
            type: "tools";
            /** Tools */
            tools: (components["schemas"]["PromptToolFunction"] | components["schemas"]["PromptToolRaw"])[];
            /** Tool Choice */
            tool_choice?: components["schemas"]["PromptToolChoiceNone"] | components["schemas"]["PromptToolChoiceZeroOrMore"] | components["schemas"]["PromptToolChoiceOneOrMore"] | components["schemas"]["PromptToolChoiceSpecificFunctionTool"];
            /** Disable Parallel Tool Calls */
            disable_parallel_tool_calls?: boolean;
        };
        /** PromptVersion */
        PromptVersion: {
            /** Description */
            description?: string | null;
            model_provider: components["schemas"]["ModelProvider"];
            /** Model Name */
            model_name: string;
            /** Template */
            template: components["schemas"]["PromptChatTemplate"] | components["schemas"]["PromptStringTemplate"];
            template_type: components["schemas"]["PromptTemplateType"];
            template_format: components["schemas"]["PromptTemplateFormat"];
            /** Invocation Parameters */
            invocation_parameters: components["schemas"]["PromptOpenAIInvocationParameters"] | components["schemas"]["PromptAzureOpenAIInvocationParameters"] | components["schemas"]["PromptAnthropicInvocationParameters"] | components["schemas"]["PromptGoogleInvocationParameters"] | components["schemas"]["PromptDeepSeekInvocationParameters"] | components["schemas"]["PromptXAIInvocationParameters"] | components["schemas"]["PromptOllamaInvocationParameters"] | components["schemas"]["PromptAwsInvocationParameters"] | components["schemas"]["PromptCerebrasInvocationParameters"] | components["schemas"]["PromptFireworksInvocationParameters"] | components["schemas"]["PromptGroqInvocationParameters"] | components["schemas"]["PromptMoonshotInvocationParameters"] | components["schemas"]["PromptPerplexityInvocationParameters"] | components["schemas"]["PromptTogetherInvocationParameters"];
            tools?: components["schemas"]["PromptTools"] | null;
            /** Response Format */
            response_format?: components["schemas"]["PromptResponseFormatJSONSchema"] | null;
            /** Id */
            id: string;
        };
        /**
         * PromptVersionContext
         * @description Prompt version the user is currently viewing.
         */
        PromptVersionContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "prompt_version";
            /** Promptnodeid */
            promptNodeId: string;
            /** Promptversionnodeid */
            promptVersionNodeId: string;
        };
        /** PromptVersionData */
        PromptVersionData: {
            /** Description */
            description?: string | null;
            model_provider: components["schemas"]["ModelProvider"];
            /** Model Name */
            model_name: string;
            /** Template */
            template: components["schemas"]["PromptChatTemplate"] | components["schemas"]["PromptStringTemplate"];
            template_type: components["schemas"]["PromptTemplateType"];
            template_format: components["schemas"]["PromptTemplateFormat"];
            /** Invocation Parameters */
            invocation_parameters: components["schemas"]["PromptOpenAIInvocationParameters"] | components["schemas"]["PromptAzureOpenAIInvocationParameters"] | components["schemas"]["PromptAnthropicInvocationParameters"] | components["schemas"]["PromptGoogleInvocationParameters"] | components["schemas"]["PromptDeepSeekInvocationParameters"] | components["schemas"]["PromptXAIInvocationParameters"] | components["schemas"]["PromptOllamaInvocationParameters"] | components["schemas"]["PromptAwsInvocationParameters"] | components["schemas"]["PromptCerebrasInvocationParameters"] | components["schemas"]["PromptFireworksInvocationParameters"] | components["schemas"]["PromptGroqInvocationParameters"] | components["schemas"]["PromptMoonshotInvocationParameters"] | components["schemas"]["PromptPerplexityInvocationParameters"] | components["schemas"]["PromptTogetherInvocationParameters"];
            tools?: components["schemas"]["PromptTools"] | null;
            /** Response Format */
            response_format?: components["schemas"]["PromptResponseFormatJSONSchema"] | null;
        };
        /** PromptVersionTag */
        PromptVersionTag: {
            name: components["schemas"]["Identifier"];
            /** Description */
            description?: string | null;
            /** Id */
            id: string;
        };
        /** PromptVersionTagData */
        PromptVersionTagData: {
            name: components["schemas"]["Identifier"];
            /** Description */
            description?: string | null;
        };
        /** PromptXAIInvocationParameters */
        PromptXAIInvocationParameters: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "xai";
            xai: components["schemas"]["PromptXAIInvocationParametersContent"];
        };
        /** PromptXAIInvocationParametersContent */
        PromptXAIInvocationParametersContent: {
            /** Temperature */
            temperature?: number;
            /** Max Tokens */
            max_tokens?: number;
            /** Max Completion Tokens */
            max_completion_tokens?: number;
            /** Frequency Penalty */
            frequency_penalty?: number;
            /** Presence Penalty */
            presence_penalty?: number;
            /** Top P */
            top_p?: number;
            /** Seed */
            seed?: number;
            /** Stop */
            stop?: string[];
            /**
             * Reasoning Effort
             * @enum {string}
             */
            reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
            /** Extra Body */
            extra_body?: {
                [key: string]: unknown;
            };
        };
        /**
         * ReasoningUIPart
         * @description A reasoning part of a message.
         */
        ReasoningUIPart: {
            /**
             * Type
             * @default reasoning
             * @constant
             */
            type?: "reasoning";
            /** Text */
            text: string;
            /** State */
            state?: ("streaming" | "done") | null;
            /** Providermetadata */
            providerMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
        };
        /** ResponseBody[UpsertOrDeleteSecretsResult] */
        ResponseBody_UpsertOrDeleteSecretsResult_: {
            data: components["schemas"]["UpsertOrDeleteSecretsResult"];
        };
        /**
         * SecretKeyValue
         * @description A single secret entry specifying a key and a required nullable value.
         */
        SecretKeyValue: {
            /** Key */
            key: string;
            /**
             * Value
             * @description Provide a string to create or update the secret, or explicit null to delete it. This field is required; omitting it returns 422.
             */
            value: string | null;
        };
        /** SessionAnnotation */
        SessionAnnotation: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /**
             * Source
             * @enum {string}
             */
            source: "API" | "APP";
            /** User Id */
            user_id: string | null;
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Session Id
             * @description Session ID
             */
            session_id: string;
        };
        /** SessionAnnotationData */
        SessionAnnotationData: {
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Session Id
             * @description Session ID
             */
            session_id: string;
        };
        /** SessionAnnotationsResponseBody */
        SessionAnnotationsResponseBody: {
            /** Data */
            data: components["schemas"]["SessionAnnotation"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /**
         * SessionContext
         * @description Session the user is currently viewing.
         */
        SessionContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "session";
            /** Projectnodeid */
            projectNodeId: string;
            /** Sessionnodeid */
            sessionNodeId: string;
        };
        /** SessionData */
        SessionData: {
            /** Id */
            id: string;
            /** Session Id */
            session_id: string;
            /** Project Id */
            project_id: string;
            /**
             * Start Time
             * Format: date-time
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             */
            end_time: string;
            /** Traces */
            traces: components["schemas"]["SessionTraceData"][];
            /**
             * Token Count Prompt
             * @description Cumulative prompt token count across all spans in the session.
             * @default 0
             */
            token_count_prompt?: number;
            /**
             * Token Count Completion
             * @description Cumulative completion token count across all spans in the session.
             * @default 0
             */
            token_count_completion?: number;
            /**
             * Token Count Total
             * @description Cumulative total token count across all spans in the session (prompt + completion).
             * @default 0
             */
            token_count_total?: number;
        };
        /** SessionNoteData */
        SessionNoteData: {
            /**
             * Session Id
             * @description Session ID
             */
            session_id: string;
            /**
             * Note
             * @description The note text to add to the session
             */
            note: string;
            /**
             * Identifier
             * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (session_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-session-note:<uuid>' identifier so each call appends a new note.
             * @default
             */
            identifier?: string;
        };
        /** SessionTraceData */
        SessionTraceData: {
            /** Id */
            id: string;
            /** Trace Id */
            trace_id: string;
            /**
             * Start Time
             * Format: date-time
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             */
            end_time: string;
        };
        /** SetDatasetLabelsForDatasetResponseBody */
        SetDatasetLabelsForDatasetResponseBody: {
            /** Data */
            data: components["schemas"]["DatasetLabel"][];
        };
        /** SetDatasetLabelsRequestBody */
        SetDatasetLabelsRequestBody: {
            /**
             * Dataset Label Ids
             * @description The complete set of dataset label GlobalIDs to apply to the dataset. Labels not in this list are removed from the dataset; an empty list removes all labels.
             */
            dataset_label_ids?: string[];
        };
        /** SetProjectAnnotationConfigsRequestBody */
        SetProjectAnnotationConfigsRequestBody: {
            /**
             * Annotation Config Ids
             * @description The complete set of annotation configuration GlobalIDs that should be assigned to the project. Configs not in this list are unassigned; an empty list clears all assignments.
             */
            annotation_config_ids: string[];
        };
        /** SetProjectAnnotationConfigsResponseBody */
        SetProjectAnnotationConfigsResponseBody: {
            /** Data */
            data: (components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"])[];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /**
         * SourceDocumentUIPart
         * @description A document source part of a message.
         */
        SourceDocumentUIPart: {
            /**
             * Type
             * @default source-document
             * @constant
             */
            type?: "source-document";
            /** Sourceid */
            sourceId: string;
            /** Mediatype */
            mediaType: string;
            /** Title */
            title: string;
            /** Filename */
            filename?: string | null;
            /** Providermetadata */
            providerMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
        };
        /**
         * SourceUrlUIPart
         * @description A source part of a message.
         */
        SourceUrlUIPart: {
            /**
             * Type
             * @default source-url
             * @constant
             */
            type?: "source-url";
            /** Sourceid */
            sourceId: string;
            /** Url */
            url: string;
            /** Title */
            title?: string | null;
            /** Providermetadata */
            providerMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
        };
        /**
         * Span
         * @example {
         *       "attributes": {
         *         "llm.model_name": "gpt-4",
         *         "llm.token_count.completion": 50,
         *         "llm.token_count.prompt": 100
         *       },
         *       "context": {
         *         "span_id": "1a2b3c4d5e6f7a8b",
         *         "trace_id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
         *       },
         *       "end_time": "2024-01-01T12:00:01Z",
         *       "events": [],
         *       "name": "llm_call",
         *       "span_kind": "LLM",
         *       "start_time": "2024-01-01T12:00:00Z",
         *       "status_code": "OK",
         *       "status_message": ""
         *     }
         */
        Span: {
            /**
             * Id
             * @description Span Global ID, distinct from the OpenTelemetry span ID
             * @default
             */
            id?: string;
            /**
             * Name
             * @description Name of the span operation
             */
            name: string;
            /** @description Span context containing trace_id and span_id */
            context: components["schemas"]["SpanContext"];
            /**
             * Span Kind
             * @description Type of work that the span encapsulates
             */
            span_kind: string;
            /**
             * Parent Id
             * @description OpenTelemetry span ID of the parent span
             */
            parent_id?: string | null;
            /**
             * Start Time
             * Format: date-time
             * @description Start time of the span (must be timezone-aware)
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             * @description End time of the span (must be timezone-aware)
             */
            end_time: string;
            /**
             * Status Code
             * @description Status code of the span
             */
            status_code: string;
            /**
             * Status Message
             * @description Status message
             * @default
             */
            status_message?: string;
            /**
             * Attributes
             * @description Span attributes
             */
            attributes?: {
                [key: string]: unknown;
            };
            /**
             * Events
             * @description Span events
             */
            events?: components["schemas"]["SpanEvent"][];
        };
        /** SpanAnnotation */
        SpanAnnotation: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /**
             * Source
             * @enum {string}
             */
            source: "API" | "APP";
            /** User Id */
            user_id: string | null;
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Span Id
             * @description OpenTelemetry Span ID (hex format w/o 0x prefix)
             */
            span_id: string;
        };
        /** SpanAnnotationData */
        SpanAnnotationData: {
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Span Id
             * @description OpenTelemetry Span ID (hex format w/o 0x prefix)
             */
            span_id: string;
        };
        /** SpanAnnotationsResponseBody */
        SpanAnnotationsResponseBody: {
            /** Data */
            data: components["schemas"]["SpanAnnotation"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /**
         * SpanContext
         * @example {
         *       "span_id": "1a2b3c4d5e6f7a8b",
         *       "trace_id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4"
         *     }
         */
        SpanContext: {
            /**
             * Trace Id
             * @description OpenTelemetry trace ID
             */
            trace_id: string;
            /**
             * Span Id
             * @description OpenTelemetry span ID
             */
            span_id: string;
        };
        /** SpanDocumentAnnotationData */
        SpanDocumentAnnotationData: {
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Span Id
             * @description OpenTelemetry Span ID (hex format w/o 0x prefix)
             */
            span_id: string;
            /**
             * Document Position
             * @description A 0 based index of the document. E.x. the first document during retrieval is 0
             */
            document_position: number;
        };
        /**
         * SpanEvent
         * @example {
         *       "attributes": {
         *         "exception.message": "Connection refused"
         *       },
         *       "name": "exception",
         *       "timestamp": "2024-01-01T12:00:00Z"
         *     }
         */
        SpanEvent: {
            /**
             * Name
             * @description Name of the event
             */
            name: string;
            /**
             * Timestamp
             * Format: date-time
             * @description When the event occurred (must be timezone-aware)
             */
            timestamp: string;
            /**
             * Attributes
             * @description Event attributes
             */
            attributes?: {
                [key: string]: unknown;
            };
        };
        /** SpanNoteData */
        SpanNoteData: {
            /**
             * Span Id
             * @description OpenTelemetry Span ID (hex format w/o 0x prefix)
             */
            span_id: string;
            /**
             * Note
             * @description The note text to add to the span
             */
            note: string;
            /**
             * Identifier
             * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (span_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-span-note:<uuid>' identifier so each call appends a new note.
             * @default
             */
            identifier?: string;
        };
        /** SpansResponseBody */
        SpansResponseBody: {
            /** Data */
            data: components["schemas"]["Span"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /**
         * StepStartUIPart
         * @description A step boundary part of a message.
         */
        StepStartUIPart: {
            /**
             * Type
             * @default step-start
             * @constant
             */
            type?: "step-start";
        };
        /**
         * SubagentsContext
         * @description User's per-turn request to expose the subagent-spawning tool.
         */
        SubagentsContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "subagents";
            /** Enabled */
            enabled: boolean;
        };
        /** TextContentPart */
        TextContentPart: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "text";
            /** Text */
            text: string;
        };
        /**
         * TextUIPart
         * @description A text part of a message.
         */
        TextUIPart: {
            /**
             * Type
             * @default text
             * @constant
             */
            type?: "text";
            /** Text */
            text: string;
            /** State */
            state?: ("streaming" | "done") | null;
            /** Providermetadata */
            providerMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
        };
        /**
         * ToolApprovalRequested
         * @description Tool approval in requested state (awaiting user response).
         */
        ToolApprovalRequested: {
            /** Id */
            id: string;
        };
        /**
         * ToolApprovalRequestedPart
         * @description Tool part in approval-requested state (awaiting user decision).
         */
        ToolApprovalRequestedPart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default approval-requested
             * @constant
             */
            state?: "approval-requested";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * ToolApprovalResponded
         * @description Tool approval in responded state (user has approved or denied).
         */
        ToolApprovalResponded: {
            /** Id */
            id: string;
            /** Approved */
            approved: boolean;
            /** Reason */
            reason?: string | null;
        };
        /**
         * ToolApprovalRespondedPart
         * @description Tool part in approval-responded state (user approved/denied, execution pending).
         */
        ToolApprovalRespondedPart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default approval-responded
             * @constant
             */
            state?: "approval-responded";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /** ToolCallContentPart */
        ToolCallContentPart: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "tool_call";
            /** Tool Call Id */
            tool_call_id: string;
            /** Tool Call */
            tool_call: components["schemas"]["ToolCallFunction"];
        };
        /** ToolCallFunction */
        ToolCallFunction: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "function";
            /** Name */
            name: string;
            /** Arguments */
            arguments: string;
        };
        /**
         * ToolInputAvailablePart
         * @description Tool part in input-available state.
         */
        ToolInputAvailablePart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default input-available
             * @constant
             */
            state?: "input-available";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * ToolInputStreamingPart
         * @description Tool part in input-streaming state.
         */
        ToolInputStreamingPart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default input-streaming
             * @constant
             */
            state?: "input-streaming";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * ToolOutputAvailablePart
         * @description Tool part in output-available state.
         */
        ToolOutputAvailablePart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-available
             * @constant
             */
            state?: "output-available";
            /** Input */
            input?: unknown | null;
            /** Output */
            output?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Preliminary */
            preliminary?: boolean | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * ToolOutputDeniedPart
         * @description Tool part in output-denied state (tool was denied, terminal state).
         */
        ToolOutputDeniedPart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-denied
             * @constant
             */
            state?: "output-denied";
            /** Input */
            input?: unknown | null;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /**
         * ToolOutputErrorPart
         * @description Tool part in output-error state.
         */
        ToolOutputErrorPart: {
            /** Type */
            type: string;
            /** Toolcallid */
            toolCallId: string;
            /** Title */
            title?: string | null;
            /**
             * State
             * @default output-error
             * @constant
             */
            state?: "output-error";
            /** Input */
            input?: unknown | null;
            /** Rawinput */
            rawInput?: unknown | null;
            /** Errortext */
            errorText: string;
            /** Providerexecuted */
            providerExecuted?: boolean | null;
            /** Callprovidermetadata */
            callProviderMetadata?: {
                [key: string]: {
                    [key: string]: unknown;
                };
            } | null;
            /** Approval */
            approval?: components["schemas"]["ToolApprovalRequested"] | components["schemas"]["ToolApprovalResponded"] | null;
        };
        /** ToolResultContentPart */
        ToolResultContentPart: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "tool_result";
            /** Tool Call Id */
            tool_call_id: string;
            /** Tool Result */
            tool_result: boolean | number | string | {
                [key: string]: unknown;
            } | unknown[] | null;
        };
        /** TraceAnnotation */
        TraceAnnotation: {
            /** Id */
            id: string;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /**
             * Updated At
             * Format: date-time
             */
            updated_at: string;
            /**
             * Source
             * @enum {string}
             */
            source: "API" | "APP";
            /** User Id */
            user_id: string | null;
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Trace Id
             * @description OpenTelemetry Trace ID (hex format w/o 0x prefix)
             */
            trace_id: string;
        };
        /** TraceAnnotationData */
        TraceAnnotationData: {
            /**
             * Name
             * @description The name of the annotation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the annotation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /** @description The result of the annotation */
            result?: components["schemas"]["AnnotationResult"] | null;
            /**
             * Metadata
             * @description Metadata for the annotation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Identifier
             * @description The identifier of the annotation. If provided, the annotation will be updated if it already exists.
             * @default
             */
            identifier?: string;
            /**
             * Trace Id
             * @description OpenTelemetry Trace ID (hex format w/o 0x prefix)
             */
            trace_id: string;
        };
        /** TraceAnnotationsResponseBody */
        TraceAnnotationsResponseBody: {
            /** Data */
            data: components["schemas"]["TraceAnnotation"][];
            /** Next Cursor */
            next_cursor: string | null;
        };
        /** TraceContext */
        TraceContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "trace";
            /** Projectnodeid */
            projectNodeId: string;
            /** Oteltraceid */
            otelTraceId: string;
        };
        /** TraceData */
        TraceData: {
            /** Id */
            id: string;
            /** Trace Id */
            trace_id: string;
            /** Project Id */
            project_id: string;
            /**
             * Start Time
             * Format: date-time
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             */
            end_time: string;
            /**
             * Token Count Prompt
             * @description Cumulative prompt token count across all spans in the trace.
             * @default 0
             */
            token_count_prompt?: number;
            /**
             * Token Count Completion
             * @description Cumulative completion token count across all spans in the trace.
             * @default 0
             */
            token_count_completion?: number;
            /**
             * Token Count Total
             * @description Cumulative total token count across all spans in the trace (prompt + completion).
             * @default 0
             */
            token_count_total?: number;
            /** Spans */
            spans?: components["schemas"]["TraceSpanData"][] | null;
        };
        /** TraceNoteData */
        TraceNoteData: {
            /**
             * Trace Id
             * @description OpenTelemetry Trace ID (hex format w/o 0x prefix)
             */
            trace_id: string;
            /**
             * Note
             * @description The note text to add to the trace
             */
            note: string;
            /**
             * Identifier
             * @description Optional caller-supplied identifier. When non-empty, the note is upserted on (trace_id, name='note', identifier) — repeated calls with the same identifier overwrite the existing note. When omitted or empty, the server stamps a unique 'px-trace-note:<uuid>' identifier so each call appends a new note.
             * @default
             */
            identifier?: string;
        };
        /** TraceSpanData */
        TraceSpanData: {
            /** Id */
            id: string;
            /** Span Id */
            span_id: string;
            /** Parent Id */
            parent_id: string | null;
            /** Name */
            name: string;
            /** Span Kind */
            span_kind: string;
            /** Status Code */
            status_code: string;
            /**
             * Start Time
             * Format: date-time
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             */
            end_time: string;
        };
        /** TurnTraceContext */
        TurnTraceContext: {
            /** Traceid */
            traceId: string;
            /** Rootspanid */
            rootSpanId: string;
            /**
             * Startedat
             * Format: date-time
             */
            startedAt: string;
        };
        /**
         * UIMessage
         * @description A message as displayed in the UI by Vercel AI Elements.
         */
        UIMessage: {
            /** Id */
            id: string;
            /**
             * Role
             * @enum {string}
             */
            role: "system" | "user" | "assistant";
            /** Metadata */
            metadata?: unknown | null;
            /** Parts */
            parts: (components["schemas"]["TextUIPart"] | components["schemas"]["ReasoningUIPart"] | components["schemas"]["ToolInputStreamingPart"] | components["schemas"]["ToolInputAvailablePart"] | components["schemas"]["ToolOutputAvailablePart"] | components["schemas"]["ToolOutputErrorPart"] | components["schemas"]["ToolApprovalRequestedPart"] | components["schemas"]["ToolApprovalRespondedPart"] | components["schemas"]["ToolOutputDeniedPart"] | components["schemas"]["DynamicToolInputStreamingPart"] | components["schemas"]["DynamicToolInputAvailablePart"] | components["schemas"]["DynamicToolOutputAvailablePart"] | components["schemas"]["DynamicToolOutputErrorPart"] | components["schemas"]["DynamicToolApprovalRequestedPart"] | components["schemas"]["DynamicToolApprovalRespondedPart"] | components["schemas"]["DynamicToolOutputDeniedPart"] | components["schemas"]["SourceUrlUIPart"] | components["schemas"]["SourceDocumentUIPart"] | components["schemas"]["FileUIPart"] | components["schemas"]["DataUIPart"] | components["schemas"]["StepStartUIPart"])[];
        };
        /** UpdateAnnotationConfigResponseBody */
        UpdateAnnotationConfigResponseBody: {
            /** Data */
            data: components["schemas"]["CategoricalAnnotationConfig"] | components["schemas"]["ContinuousAnnotationConfig"] | components["schemas"]["FreeformAnnotationConfig"];
        };
        /**
         * UpdateDatasetLabelRequestBody
         * @description Fields to update on a dataset label. Omit a field to leave it unchanged.
         */
        UpdateDatasetLabelRequestBody: {
            /**
             * Name
             * @description New name for the label (null is rejected; name is required)
             */
            name?: string | null;
            /**
             * Color
             * @description New lowercase hex color code for the label (null is rejected)
             */
            color?: string | null;
            /**
             * Description
             * @description New description for the label (null clears the description)
             */
            description?: string | null;
        };
        /** UpdateDatasetLabelResponseBody */
        UpdateDatasetLabelResponseBody: {
            data: components["schemas"]["DatasetLabel"];
        };
        /**
         * UpdateExperimentRequestBody
         * @description Fields to update on an experiment. Omit a field to leave it unchanged.
         */
        UpdateExperimentRequestBody: {
            /**
             * Name
             * @description New name for the experiment (null is rejected; name is required)
             */
            name?: string | null;
            /**
             * Description
             * @description New description for the experiment (null clears the description)
             */
            description?: string | null;
            /**
             * Metadata
             * @description New metadata object for the experiment (replaces the existing metadata as a whole; null is rejected)
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
        };
        /** UpdateExperimentResponseBody */
        UpdateExperimentResponseBody: {
            data: components["schemas"]["Experiment"];
        };
        /** UpdateProjectRequestBody */
        UpdateProjectRequestBody: {
            /** Description */
            description?: string | null;
        };
        /** UpdateProjectResponseBody */
        UpdateProjectResponseBody: {
            data: components["schemas"]["Project"];
        };
        /** UploadDatasetData */
        UploadDatasetData: {
            /** Dataset Id */
            dataset_id: string;
            /** Version Id */
            version_id: string;
            /** Num Created Examples */
            num_created_examples: number;
            /** Num Updated Examples */
            num_updated_examples: number;
            /** Num Deleted Examples */
            num_deleted_examples: number;
        };
        /** UploadDatasetResponseBody */
        UploadDatasetResponseBody: {
            data: components["schemas"]["UploadDatasetData"];
        };
        /** UpsertExperimentEvaluationRequestBody */
        UpsertExperimentEvaluationRequestBody: {
            /**
             * Experiment Run Id
             * @description The ID of the experiment run being evaluated
             */
            experiment_run_id: string;
            /**
             * Name
             * @description The name of the evaluation
             */
            name: string;
            /**
             * Annotator Kind
             * @description The kind of annotator used for the evaluation
             * @enum {string}
             */
            annotator_kind: "LLM" | "CODE" | "HUMAN";
            /**
             * Start Time
             * Format: date-time
             * @description The start time of the evaluation in ISO format
             */
            start_time: string;
            /**
             * End Time
             * Format: date-time
             * @description The end time of the evaluation in ISO format
             */
            end_time: string;
            /** @description The result of the evaluation. Either result or error must be provided. */
            result?: components["schemas"]["ExperimentEvaluationResult"] | null;
            /**
             * Error
             * @description Error message if the evaluation encountered an error. Either result or error must be provided.
             */
            error?: string | null;
            /**
             * Metadata
             * @description Metadata for the evaluation
             */
            metadata?: {
                [key: string]: unknown;
            } | null;
            /**
             * Trace Id
             * @description Optional trace ID for tracking
             */
            trace_id?: string | null;
        };
        /** UpsertExperimentEvaluationResponseBody */
        UpsertExperimentEvaluationResponseBody: {
            data: components["schemas"]["UpsertExperimentEvaluationResponseBodyData"];
        };
        /** UpsertExperimentEvaluationResponseBodyData */
        UpsertExperimentEvaluationResponseBodyData: {
            /**
             * Id
             * @description The ID of the upserted experiment evaluation
             */
            id: string;
        };
        /**
         * UpsertOrDeleteSecretsRequest
         * @description Request body for the PUT /secrets endpoint.
         */
        UpsertOrDeleteSecretsRequest: {
            /** Secrets */
            secrets: components["schemas"]["SecretKeyValue"][];
        };
        /**
         * UpsertOrDeleteSecretsResult
         * @description Result payload listing which keys were upserted and which were deleted.
         */
        UpsertOrDeleteSecretsResult: {
            /** Upserted Keys */
            upserted_keys: string[];
            /** Deleted Keys */
            deleted_keys: string[];
        };
        /** UserApiKey */
        UserApiKey: {
            /** Id */
            id: string;
            /** Name */
            name: string;
            /** Description */
            description?: string | null;
            /**
             * Created At
             * Format: date-time
             */
            created_at: string;
            /** Expires At */
            expires_at?: string | null;
            user: components["schemas"]["ApiKeyUser"];
        };
        /**
         * UserMessageMetadata
         * @description Wire schema for metadata the browser attaches to outgoing user messages.
         */
        UserMessageMetadata: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "user";
            /** Currentdatetime */
            currentDateTime: string;
            /** Timezone */
            timeZone: string;
        };
        /** ValidationError */
        ValidationError: {
            /** Location */
            loc: (string | number)[];
            /** Message */
            msg: string;
            /** Error Type */
            type: string;
            /** Input */
            input?: unknown;
            /** Context */
            ctx?: Record<string, unknown>;
        };
        /**
         * WebAccessContext
         * @description User's per-turn request to expose web search / fetch tools.
         */
        WebAccessContext: {
            /**
             * @description discriminator enum property added by openapi-typescript
             * @enum {string}
             */
            type: "web_access";
            /** Enabled */
            enabled: boolean;
        };
        /**
         * _SummarizeRequest
         * @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
         *
         *     Carries the Vercel-style messages array; the backend owns the prompt and
         *     the structured-output tool schema.
         */
        _SummarizeRequest: {
            /**
             * Ingesttraces
             * @default false
             */
            ingestTraces?: boolean;
            /**
             * Exportremotetraces
             * @default false
             */
            exportRemoteTraces?: boolean;
            /**
             * Attachuserid
             * @description When true and the request is authenticated as a PhoenixUser, attaches the user's email as the OpenInference ``user.id`` span attribute on all traced work for this request.
             * @default false
             */
            attachUserId?: boolean;
            /** Messages */
            messages: components["schemas"]["UIMessage"][];
            /** Model */
            model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
        };
        /** _SummarizeResponse */
        _SummarizeResponse: {
            /** Summary */
            summary: string;
        };
        /**
         * ToolCallCallbackProviderMetadata
         * @description Shape of the ``phoenix`` namespace the browser returns in
         *     ``callProviderMetadata`` on resolved tool parts: the server-stamped fields
         *     plus browser-recorded execution timings.
         */
        ToolCallCallbackProviderMetadata: {
            /**
             * Tool Execution Environment
             * @enum {string}
             */
            tool_execution_environment: "client" | "server";
            /**
             * Tool Input Emitted At
             * @default null
             */
            tool_input_emitted_at?: string | null;
            /**
             * Client Started At
             * @default null
             */
            client_started_at?: string | null;
            /**
             * Client Ended At
             * @default null
             */
            client_ended_at?: string | null;
        };
        /**
         * ToolCallProviderMetadata
         * @description Payload Phoenix stamps under the ``phoenix`` namespace of Vercel AI
         *     ``providerMetadata`` on tool-call chunks (``tool-input-start`` and
         *     ``tool-input-available``).
         */
        ToolCallProviderMetadata: {
            /**
             * Tool Execution Environment
             * @enum {string}
             */
            tool_execution_environment: "client" | "server";
            /**
             * Tool Input Emitted At
             * @default null
             */
            tool_input_emitted_at?: string | null;
        };
    };
    responses: never;
    parameters: never;
    requestBodies: never;
    headers: never;
    pathItems: never;
}
export type $defs = Record<string, never>;
export interface operations {
    listAnnotationConfigs: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded annotation config ID) */
                cursor?: string | null;
                /** @description Maximum number of configs to return */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of annotation configurations with pagination information */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetAnnotationConfigsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    createAnnotationConfig: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateAnnotationConfigData"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateAnnotationConfigResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getAnnotationConfig: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description ID or name of the annotation configuration */
                config_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetAnnotationConfigResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    updateAnnotationConfig: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description ID of the annotation configuration */
                config_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateAnnotationConfigData"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpdateAnnotationConfigResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteAnnotationConfig: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description ID of the annotation configuration */
                config_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["DeleteAnnotationConfigResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getProjectAnnotationConfigs: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded annotation config ID) */
                cursor?: string | null;
                /** @description Maximum number of configs to return */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of the project's annotation configurations with pagination information */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetProjectAnnotationConfigsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    setProjectAnnotationConfigs: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["SetProjectAnnotationConfigsRequestBody"];
            };
        };
        responses: {
            /** @description The resulting set of annotation configurations assigned to the project */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SetProjectAnnotationConfigsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    assignAnnotationConfigToProject: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
                /** @description The annotation configuration identifier: either ID or name. */
                config_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The annotation configuration assigned to the project */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AssignAnnotationConfigToProjectResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    unassignAnnotationConfigFromProject: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
                /** @description The annotation configuration identifier: either ID or name. */
                config_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful unassignment */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listSpanAnnotationsBySpanIds: {
        parameters: {
            query?: {
                /** @description Optional list of span ids to fetch annotations for. If omitted, `identifier` must be supplied. */
                span_ids?: string[] | null;
                /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `span_ids` must be supplied. When combined with `span_ids`, results are the AND-intersection of both filters. */
                identifier?: string[] | null;
                /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
                include_annotation_names?: string[] | null;
                /** @description Optional list of annotation names to exclude from results. */
                exclude_annotation_names?: string[] | null;
                /** @description A cursor for pagination */
                cursor?: string | null;
                /** @description The maximum number of annotations to return in a single request */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SpanAnnotationsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project or spans not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteSpanAnnotations: {
        parameters: {
            query?: {
                /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
                name?: string | null;
                /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
                identifier?: string | null;
                /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
                annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
                /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
                start_time?: string | null;
                /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
                end_time?: string | null;
                /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
                delete_all?: boolean;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listTraceAnnotationsByTraceIds: {
        parameters: {
            query?: {
                /** @description Optional list of trace ids to fetch annotations for. If omitted, `identifier` must be supplied. */
                trace_ids?: string[] | null;
                /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `trace_ids` must be supplied. When combined with `trace_ids`, results are the AND-intersection of both filters. */
                identifier?: string[] | null;
                /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
                include_annotation_names?: string[] | null;
                /** @description Optional list of annotation names to exclude from results. */
                exclude_annotation_names?: string[] | null;
                /** @description A cursor for pagination */
                cursor?: string | null;
                /** @description The maximum number of annotations to return in a single request */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["TraceAnnotationsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project or traces not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteTraceAnnotations: {
        parameters: {
            query?: {
                /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
                name?: string | null;
                /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
                identifier?: string | null;
                /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
                annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
                /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
                start_time?: string | null;
                /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
                end_time?: string | null;
                /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
                delete_all?: boolean;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listSessionAnnotationsBySessionIds: {
        parameters: {
            query?: {
                /** @description Optional list of session ids to fetch annotations for. If omitted, `identifier` must be supplied. */
                session_ids?: string[] | null;
                /** @description Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, `session_ids` must be supplied. When combined with `session_ids`, results are the AND-intersection of both filters. */
                identifier?: string[] | null;
                /** @description Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default). */
                include_annotation_names?: string[] | null;
                /** @description Optional list of annotation names to exclude from results. */
                exclude_annotation_names?: string[] | null;
                /** @description A cursor for pagination */
                cursor?: string | null;
                /** @description The maximum number of annotations to return in a single request */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SessionAnnotationsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project or sessions not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteSessionAnnotations: {
        parameters: {
            query?: {
                /** @description Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name. */
                name?: string | null;
                /** @description Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier. */
                identifier?: string | null;
                /** @description Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind. */
                annotator_kind?: ("LLM" | "CODE" | "HUMAN") | null;
                /** @description Optional inclusive lower bound on `created_at` (>=). Naive datetimes are interpreted as UTC. */
                start_time?: string | null;
                /** @description Optional exclusive upper bound on `created_at` (<). Naive datetimes are interpreted as UTC. */
                end_time?: string | null;
                /** @description Opt-in flag that authorizes the request without a bounded `[start_time, end_time)` time window. When `false` (default) or absent, the request must supply both `start_time` AND `end_time` to bound the delete. When `true`, the time-range bound is waived and any other filters (`name`, `identifier`, `annotator_kind`) still narrow the delete within the project — e.g. `delete_all=true&name=X` deletes all annotations named X regardless of time. */
                delete_all?: boolean;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Project not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid parameters */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listDatasetLabels: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (a dataset label GlobalID) */
                cursor?: string | null;
                /** @description The max number of dataset labels to return at a time. */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetDatasetLabelsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createDatasetLabel: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateDatasetLabelRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateDatasetLabelResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description A dataset label with the same name already exists */
            409: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid request body */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDatasetLabel: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the dataset label */
                label_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetDatasetLabelResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset label not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset label ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteDatasetLabel: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the dataset label */
                label_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset label not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset label ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    updateDatasetLabel: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the dataset label */
                label_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpdateDatasetLabelRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpdateDatasetLabelResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset label not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description A dataset label with the same name already exists */
            409: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset label ID or request body */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listDatasetLabelsForDataset: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The dataset identifier: either the dataset ID (GlobalID) or its name. */
                dataset_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListDatasetLabelsForDatasetResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset identifier */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    setDatasetLabelsForDataset: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The dataset identifier: either the dataset ID (GlobalID) or its name. */
                dataset_identifier: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["SetDatasetLabelsRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SetDatasetLabelsForDatasetResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset or one or more dataset labels not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset identifier or request body */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    addDatasetLabelToDataset: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The dataset identifier: either the dataset ID (GlobalID) or its name. */
                dataset_identifier: string;
                /** @description The ID of the dataset label to apply */
                label_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AddDatasetLabelToDatasetResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset or dataset label not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset identifier or dataset label ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    removeDatasetLabelFromDataset: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The dataset identifier: either the dataset ID (GlobalID) or its name. */
                dataset_identifier: string;
                /** @description The ID of the dataset label to remove */
                label_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset identifier or dataset label ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listDatasets: {
        parameters: {
            query?: {
                /** @description Cursor for pagination */
                cursor?: string | null;
                /** @description An optional dataset name to filter by */
                name?: string | null;
                /** @description The max number of datasets to return at a time. */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListDatasetsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDataset: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetDatasetResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteDatasetById: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the dataset to delete. */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listDatasetVersionsByDatasetId: {
        parameters: {
            query?: {
                /** @description Cursor for pagination */
                cursor?: string | null;
                /** @description The max number of dataset versions to return at a time */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListDatasetVersionsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    uploadDataset: {
        parameters: {
            query?: {
                /** @description If true, fulfill request synchronously and return JSON containing dataset_id. */
                sync?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: {
            content: {
                "application/json": {
                    /** @enum {string} */
                    action?: "create" | "append" | "update";
                    name: string;
                    description?: string;
                    inputs: Record<string, unknown>[];
                    outputs?: Record<string, unknown>[];
                    metadata?: Record<string, unknown>[];
                    /** @description Split per example: string, string array, or null */
                    splits?: (string | string[] | null)[];
                    /** @description Span IDs to link examples back to spans */
                    span_ids?: (string | null)[];
                    /** @description Optional example ID per example. If provided, it is used as the example's stable public ID. */
                    example_ids?: (string | null)[];
                };
                "multipart/form-data": {
                    /** @enum {string} */
                    action?: "create" | "append" | "update";
                    name: string;
                    description?: string;
                    "input_keys[]": string[];
                    "output_keys[]": string[];
                    "metadata_keys[]"?: string[];
                    /** @description Deprecated: use split_key instead. Column names for auto-assigning examples to splits */
                    "split_keys[]"?: string[];
                    /** @description Single column name containing split names (plain string or JSON list) per row */
                    split_key?: string;
                    /** @description Column names whose object values should be flattened into their selected bucket */
                    "flatten_keys[]"?: string[];
                    /** @description Column name for span IDs to link examples back to spans */
                    span_id_key?: string;
                    /** @description Column name containing stable IDs for examples. When provided, examples with matching IDs are updated in place when their content changes. */
                    example_id_key?: string;
                    /** Format: binary */
                    file: string;
                };
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UploadDatasetResponseBody"] | null;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset with the given name already exists (action=create). */
            409: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid request body */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDatasetExamples: {
        parameters: {
            query?: {
                /** @description The ID of the dataset version (if omitted, returns data from the latest version) */
                version_id?: string | null;
                /** @description List of dataset split identifiers (GlobalIDs or names) to filter by */
                split?: string[] | null;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListDatasetExamplesResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getDatasetCsv: {
        parameters: {
            query?: {
                /** @description The ID of the dataset version (if omitted, returns data from the latest version) */
                version_id?: string | null;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/csv": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDatasetJSONL: {
        parameters: {
            query?: {
                /** @description The ID of the dataset version (if omitted, returns data from the latest version) */
                version_id?: string | null;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset or version ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDatasetJSONLOpenAIFineTuning: {
        parameters: {
            query?: {
                /** @description The ID of the dataset version (if omitted, returns data from the latest version) */
                version_id?: string | null;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset or version ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getDatasetJSONLOpenAIEvals: {
        parameters: {
            query?: {
                /** @description The ID of the dataset version (if omitted, returns data from the latest version) */
                version_id?: string | null;
            };
            header?: never;
            path: {
                /** @description The ID of the dataset */
                id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid dataset or version ID */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listExperiments: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded experiment ID) */
                cursor?: string | null;
                /** @description The max number of experiments to return at a time. */
                limit?: number;
            };
            header?: never;
            path: {
                dataset_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Paginated list of experiments for the dataset */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListExperimentsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createExperiment: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                dataset_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateExperimentRequestBody"];
            };
        };
        responses: {
            /** @description Experiment retrieved successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateExperimentResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Dataset or DatasetVersion not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getExperiment: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Experiment retrieved successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetExperimentResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteExperiment: {
        parameters: {
            query?: {
                /** @description If true, also delete the project associated with the experiment that contains traces and spans for the experiment tasks. */
                delete_project?: boolean;
            };
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Experiment deleted successfully */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    updateExperiment: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpdateExperimentRequestBody"];
            };
        };
        responses: {
            /** @description Experiment updated successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpdateExperimentResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid experiment ID or request body */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getIncompleteExperimentRuns: {
        parameters: {
            query?: {
                /** @description Cursor for pagination */
                cursor?: string | null;
                /** @description Maximum number of examples with incomplete runs to return */
                limit?: number;
            };
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Incomplete runs retrieved successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetIncompleteExperimentRunsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid cursor format */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getExperimentJSON: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getExperimentCSV: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                    "text/csv": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    listExperimentRuns: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded experiment run ID) */
                cursor?: string | null;
                /** @description The max number of experiment runs to return at a time. If not specified, returns all results. */
                limit?: number | null;
            };
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Experiment runs retrieved successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ListExperimentRunsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid cursor format */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createExperimentRun: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateExperimentRunRequestBody"];
            };
        };
        responses: {
            /** @description Experiment run created successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateExperimentRunResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment or dataset example not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment run already exists with a successful result and cannot be updated */
            409: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getIncompleteExperimentEvaluations: {
        parameters: {
            query?: {
                /** @description Evaluation names to check */
                evaluation_name?: string[];
                /** @description Cursor for pagination */
                cursor?: string | null;
                /** @description Maximum number of runs with incomplete evaluations to return */
                limit?: number;
            };
            header?: never;
            path: {
                experiment_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Incomplete evaluations retrieved successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetIncompleteEvaluationsResponseBody"];
                };
            };
            /** @description No evaluator names provided */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid cursor format */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    upsertExperimentEvaluation: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpsertExperimentEvaluationRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpsertExperimentEvaluationResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Experiment run not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    listProjectTraces: {
        parameters: {
            query?: {
                /** @description Inclusive lower bound on trace start time (ISO 8601) */
                start_time?: string | null;
                /** @description Exclusive upper bound on trace start time (ISO 8601) */
                end_time?: string | null;
                /** @description Sort field */
                sort?: "start_time" | "latency_ms";
                /** @description Sort direction */
                order?: "asc" | "desc";
                /** @description Maximum number of traces to return */
                limit?: number;
                /** @description Pagination cursor (Trace GlobalID) */
                cursor?: string | null;
                /** @description If true, include full span details for each trace. This significantly increases response size and query latency, especially with large page sizes. Prefer fetching spans lazily for individual traces when possible. */
                include_spans?: boolean;
                /** @description List of session identifiers to filter traces by. Each value can be either a session_id string or a session GlobalID. Only traces belonging to the specified sessions will be returned. */
                session_identifier?: string[] | null;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetTracesResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    annotateTraces: {
        parameters: {
            query?: {
                /** @description If true, fulfill request synchronously. */
                sync?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AnnotateTracesRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AnnotateTracesResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Trace not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    createTraceNote: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateTraceNoteRequestBody"];
            };
        };
        responses: {
            /** @description Trace note created successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateTraceNoteResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Trace not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteTrace: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The trace identifier: either a relay GlobalID or OpenTelemetry trace_id */
                trace_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    spanSearch: {
        parameters: {
            query?: {
                /** @description Pagination cursor (Span Global ID) */
                cursor?: string | null;
                /** @description Maximum number of spans to return */
                limit?: number;
                /** @description Inclusive lower bound time */
                start_time?: string | null;
                /** @description Exclusive upper bound time */
                end_time?: string | null;
                /** @description Filter by one or more trace IDs */
                trace_id?: string[] | null;
                /** @description Filter by one or more span IDs */
                span_id?: string[] | null;
                /** @description Filter by parent span ID. Use "null" to get root spans only. */
                parent_id?: string | null;
                /** @description Filter by span name(s) */
                name?: string[] | null;
                /** @description Filter by status code(s). Values: OK, ERROR, UNSET */
                status_code?: string[] | null;
                /** @description Filter spans by `key:value`. Key is a dot-path (e.g. `user.id`, `metadata.tier`). Value is JSON-parsed: `k:12345` is int, `k:true` is bool, otherwise string (`k:user-42`). To match a numeric- or boolean-looking STRING, JSON-quote it: `user.id:"12345"` (URL-encoded `%2212345%22`). Split is on the first `:` only, so values may contain colons (`session.id:sess:abc:123`, ISO timestamps). Repeat the param to AND filters. List-valued attributes (e.g. `tag.tags`) cannot be matched here. Returns 422 on malformed input (missing colon, empty key/value, or list/dict/null value). */
                attribute?: string[] | null;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["OtlpSpansResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getSpans: {
        parameters: {
            query?: {
                /** @description Pagination cursor (Span Global ID) */
                cursor?: string | null;
                /** @description Maximum number of spans to return */
                limit?: number;
                /** @description Inclusive lower bound time */
                start_time?: string | null;
                /** @description Exclusive upper bound time */
                end_time?: string | null;
                /** @description Filter by one or more trace IDs */
                trace_id?: string[] | null;
                /** @description Filter by one or more span IDs */
                span_id?: string[] | null;
                /** @description Filter by parent span ID. Use "null" to get root spans only. */
                parent_id?: string | null;
                /** @description Filter by span name(s) */
                name?: string[] | null;
                /** @description Filter by span kind(s). Values: LLM, CHAIN, TOOL, RETRIEVER, EMBEDDING, AGENT, RERANKER, GUARDRAIL, EVALUATOR, UNKNOWN */
                span_kind?: string[] | null;
                /** @description Filter by status code(s). Values: OK, ERROR, UNSET */
                status_code?: string[] | null;
                /** @description Filter spans by `key:value`. Key is a dot-path (e.g. `user.id`, `metadata.tier`). Value is JSON-parsed: `k:12345` is int, `k:true` is bool, otherwise string (`k:user-42`). To match a numeric- or boolean-looking STRING, JSON-quote it: `user.id:"12345"` (URL-encoded `%2212345%22`). Split is on the first `:` only, so values may contain colons (`session.id:sess:abc:123`, ISO timestamps). Repeat the param to AND filters. List-valued attributes (e.g. `tag.tags`) cannot be matched here. Returns 422 on malformed input (missing colon, empty key/value, or list/dict/null value). */
                attribute?: string[] | null;
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["SpansResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createSpans: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateSpansRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            202: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateSpansResponseBody"];
                };
            };
            /** @description Bad Request */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    annotateSpans: {
        parameters: {
            query?: {
                /** @description If true, fulfill request synchronously. */
                sync?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AnnotateSpansRequestBody"];
            };
        };
        responses: {
            /** @description Span annotations inserted successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AnnotateSpansResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Span not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    createSpanNote: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateSpanNoteRequestBody"];
            };
        };
        responses: {
            /** @description Span note created successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateSpanNoteResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Span not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteSpan: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The span identifier: either a relay GlobalID or OpenTelemetry span_id */
                span_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    getPrompts: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded prompt ID) */
                cursor?: string | null;
                /** @description The max number of prompts to return at a time. */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of prompts with pagination information */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    postPromptVersion: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreatePromptRequestBody"];
            };
        };
        responses: {
            /** @description The newly created prompt version */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreatePromptResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listPromptVersions: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded promptVersion ID) */
                cursor?: string | null;
                /** @description The max number of prompt versions to return at a time. */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The identifier of the prompt, i.e. name or ID. */
                prompt_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of prompt versions with pagination information */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptVersionsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getPromptVersionByPromptVersionId: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the prompt version. */
                prompt_version_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The requested prompt version */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getPromptVersionByTagName: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The identifier of the prompt, i.e. name or ID. */
                prompt_identifier: string;
                /** @description The tag of the prompt version */
                tag_name: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The prompt version with the specified tag */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getPromptVersionLatest: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The identifier of the prompt, i.e. name or ID. */
                prompt_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The latest version of the specified prompt */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getPromptVersionTags: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded promptVersionTag ID) */
                cursor?: string | null;
                /** @description The max number of tags to return at a time. */
                limit?: number;
            };
            header?: never;
            path: {
                /** @description The ID of the prompt version. */
                prompt_version_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of tags associated with the prompt version */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetPromptVersionTagsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createPromptVersionTag: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the prompt version. */
                prompt_version_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["PromptVersionTagData"];
            };
        };
        responses: {
            /** @description No content returned on successful tag creation */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deletePromptVersionTag: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The ID of the prompt version. */
                prompt_version_id: string;
                /** @description The name of the tag to delete. */
                tag_name: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful tag deletion */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deletePrompt: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The identifier of the prompt, i.e. name or ID. */
                prompt_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getProjects: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (project ID) */
                cursor?: string | null;
                /** @description The max number of projects to return at a time. */
                limit?: number;
                /** @description Include experiment projects in the response. Experiment projects are created from running experiments. */
                include_experiment_projects?: boolean;
                /** @description Include dataset evaluator projects in the response. Dataset evaluator projects are created when running experiments with persisted evaluators. */
                include_dataset_evaluator_projects?: boolean;
                /** @description Return only projects whose name contains this substring (case-insensitive). */
                name_contains?: string | null;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of projects with pagination information */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetProjectsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createProject: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateProjectRequestBody"];
            };
        };
        responses: {
            /** @description The newly created project */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateProjectResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getProject: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The requested project */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetProjectResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    updateProject: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpdateProjectRequestBody"];
            };
        };
        responses: {
            /** @description The updated project */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["UpdateProjectResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteProject: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. If using a project name, it cannot contain slash (/), question mark (?), or pound sign (#) characters. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful deletion */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getSession: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The session identifier: either a GlobalID or user-provided session_id string. */
                session_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetSessionResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteSession: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The session identifier: either a GlobalID or user-provided session_id string. */
                session_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    deleteSessions: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["DeleteSessionsRequestBody"];
            };
        };
        responses: {
            /** @description Successful Response */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    listProjectSessions: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (session ID) */
                cursor?: string | null;
                /** @description The max number of sessions to return at a time. */
                limit?: number;
                /** @description Sort order by ID: 'asc' (ascending) or 'desc' (descending). */
                order?: "asc" | "desc";
            };
            header?: never;
            path: {
                /** @description The project identifier: either project ID or project name. */
                project_identifier: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetSessionsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Not Found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    annotateSessions: {
        parameters: {
            query?: {
                /** @description If true, fulfill request synchronously. */
                sync?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AnnotateSessionsRequestBody"];
            };
        };
        responses: {
            /** @description Session annotations inserted successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AnnotateSessionsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Session not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    createSessionNote: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateSessionNoteRequestBody"];
            };
        };
        responses: {
            /** @description Session note created successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateSessionNoteResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Session not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    annotateSpanDocuments: {
        parameters: {
            query?: {
                /** @description If set to true, the annotations are inserted synchronously. */
                sync?: boolean;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["AnnotateSpanDocumentsRequestBody"];
            };
        };
        responses: {
            /** @description Span document annotation inserted successfully */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["AnnotateSpanDocumentsResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Span not found */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Invalid request - non-empty identifier not supported */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getViewer: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The authenticated user's profile. */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetViewerResponseBody"];
                };
            };
            /** @description User not found. */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getUsers: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (base64-encoded user ID) */
                cursor?: string;
                /** @description The max number of users to return at a time. */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A list of users. */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetUsersResponseBody"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createUser: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateUserRequestBody"];
            };
        };
        responses: {
            /** @description The newly created user. */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateUserResponseBody"];
                };
            };
            /** @description Role not found. */
            400: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Username or email already exists. */
            409: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteUser: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The GlobalID of the user (e.g. 'VXNlcjox'). */
                user_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful deletion. */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Cannot delete the default admin or system user */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description User not found. */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    upsertOrDeleteSecrets: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["UpsertOrDeleteSecretsRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["ResponseBody_UpsertOrDeleteSecretsResult_"];
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Insufficient Storage */
            507: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getUserApiKeys: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The authenticated user's API keys. */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetApiKeysResponseBody"];
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createUserApiKey: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateApiKeyRequestBody"];
            };
        };
        responses: {
            /** @description The newly created API key, including the key itself. */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateApiKeyResponseBody"];
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Insufficient Storage */
            507: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getAllUserApiKeys: {
        parameters: {
            query?: {
                /** @description Cursor for pagination (a UserApiKey GlobalID). */
                cursor?: string | null;
                /** @description The maximum number of API keys to return (at most 1000). */
                limit?: number;
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description A paginated list of user API keys and their owners. */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetAllUserApiKeysResponseBody"];
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteUserApiKey: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The GlobalID of the API key. */
                api_key_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful deletion. */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description API key not found. */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    getSystemApiKeys: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description The system API keys. */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["GetApiKeysResponseBody"];
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    createSystemApiKey: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["CreateApiKeyRequestBody"];
            };
        };
        responses: {
            /** @description The newly created system API key, including the key itself. */
            201: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["CreateApiKeyResponseBody"];
                };
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Insufficient Storage */
            507: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    deleteSystemApiKey: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                /** @description The GlobalID of the system API key. */
                api_key_id: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description No content returned on successful deletion. */
            204: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            /** @description Unauthorized */
            401: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Forbidden */
            403: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description System API key not found. */
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
            /** @description Unprocessable Entity */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "text/plain": string;
                };
            };
        };
    };
    _login_auth_login_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    _logout_auth_logout_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    _refresh_tokens_auth_refresh_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    _initiate_password_reset_auth_password_reset_email_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    _reset_password_auth_password_reset_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    _ldap_login_auth_ldap_login_post: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    login_oauth2__idp_name__login_get: {
        parameters: {
            query?: {
                returnUrl?: string | null;
            };
            header?: never;
            path: {
                idp_name: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    login_oauth2__idp_name__login_post: {
        parameters: {
            query?: {
                returnUrl?: string | null;
            };
            header?: never;
            path: {
                idp_name: string;
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    create_tokens_oauth2__idp_name__tokens_get: {
        parameters: {
            query: {
                state: string;
                code?: string | null;
                error?: string | null;
                error_description?: string | null;
            };
            header?: never;
            path: {
                idp_name: string;
            };
            cookie: {
                "phoenix-oauth2-state": string;
                "phoenix-oauth2-nonce": string;
                "phoenix-oauth2-code-verifier"?: string | null;
            };
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    run_server_agent_agents_server_sessions__session_id__chat_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                session_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ChatRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    chat_agents__agent_id__sessions__session_id__chat_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                agent_id: string;
                session_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["ChatRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    summarize_endpoint_agents__agent_id__sessions__session_id__summary_post: {
        parameters: {
            query?: never;
            header?: never;
            path: {
                agent_id: string;
                session_id: string;
            };
            cookie?: never;
        };
        requestBody: {
            content: {
                "application/json": components["schemas"]["_SummarizeRequest"];
            };
        };
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["_SummarizeResponse"];
                };
            };
            /** @description Validation Error */
            422: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": components["schemas"]["HTTPValidationError"];
                };
            };
        };
    };
    version_arize_phoenix_version_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    check_healthz_healthz_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
    check_readyz_readyz_get: {
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            /** @description Successful Response */
            200: {
                headers: {
                    [name: string]: unknown;
                };
                content: {
                    "application/json": unknown;
                };
            };
        };
    };
}
