Skip to main content
POST
/
v2
/
integrations
/
databricks
/
unity-catalog
/
edits
/
export
Export Edits Databricks Unity Catalog
curl --request POST \
  --url https://api.galileo.ai/v2/integrations/databricks/unity-catalog/edits/export \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "catalog_name": "catalog0",
  "schema_name": "schema0",
  "table_name": "table0",
  "psl_content_file_name": "data0.parquet",
  "edit_ids": [
    "your-edit-uuid-1",
    "your-edit-uuid-2"
  ]
}'
{
  "task": "<string>",
  "filter_params": {
    "ids": [],
    "span_regex": false,
    "exclude_ids": [],
    "likely_mislabeled_dep_percentile": 0,
    "data_embs": false
  },
  "compare_to": "training",
  "map_threshold": 0.5,
  "all_but": false,
  "file_type": "csv",
  "include_cols": [
    "<string>"
  ],
  "col_mapping": {},
  "hf_format": false,
  "tagging_schema": "BIO",
  "edit_ids": [
    "<string>"
  ],
  "edit_overrides": [
    {
      "task": "<string>",
      "new_label": "<string>",
      "search_string": "<string>",
      "text_replacement": "<string>",
      "use_regex": true,
      "shift_span_start_num_words": 123,
      "shift_span_end_num_words": 123,
      "edit_spans": {},
      "note": "<string>",
      "edit_action": "relabel",
      "sample_ids": [
        123
      ],
      "filter": {
        "ids": [
          123
        ],
        "similar_to": [
          123
        ],
        "num_similar_to": 123,
        "text_pat": "<string>",
        "regex": true,
        "data_error_potential_high": 123,
        "data_error_potential_low": 123,
        "misclassified_only": true,
        "gold_filter": [
          "<string>"
        ],
        "pred_filter": [
          "<string>"
        ],
        "meta_filter": [
          {
            "name": "<string>",
            "greater_than": 123,
            "less_than": 123,
            "isin": [
              "<any>"
            ],
            "is_equal": 123
          }
        ],
        "drift_score_threshold": 123,
        "is_drifted": true,
        "span_sample_ids": [
          123
        ],
        "span_text": "<string>",
        "span_regex": true,
        "exclude_ids": [
          123
        ],
        "lasso": {
          "x": [
            123
          ],
          "y": [
            123
          ]
        },
        "class_filter": [
          "<string>"
        ],
        "likely_mislabeled": true,
        "likely_mislabeled_dep_percentile": 50,
        "cbo_clusters": [
          123
        ],
        "data_embs": true,
        "confidence_high": 123,
        "confidence_low": 123,
        "is_otb": true,
        "image_ids": [
          123
        ],
        "cluster_ids": [
          123
        ],
        "correctly_classified": true,
        "is_edited": true
      },
      "map_threshold": 123,
      "inference_name": "<string>",
      "project_id": "<string>",
      "run_id": "<string>",
      "split": "training",
      "created_by": "<string>"
    }
  ],
  "only_export_edited": true,
  "min_reviews": 1,
  "results": [
    "<any>"
  ]
}

Authorizations

Galileo-API-Key
string
header
required

Query Parameters

ignore_conflicting_edits
boolean
default:true

Body

application/json
edit_ids
string<uuid4>[]
required
catalog_name
string
required
schema_name
string
required
psl_content_file_name
string
required
table_name
string
required
task
string | null
filter_params
object
compare_to
enum<string> | null
Available options:
training,
validation,
test,
inference
map_threshold
number
default:0.5
all_but
boolean
default:false
file_type
enum<string>
Available options:
csv,
json,
parquet,
arrow,
zip
include_cols
string[] | null
col_mapping
object | null
hf_format
boolean
default:false
tagging_schema
enum<string> | null

Supported NER Tagging schemas.

A tagging schema is a definition of the way NER data is formatted. The schema letters define the tags used within it. ex: BIOES - B means before (a token), I means in (a token), E means end (of a token), S means single (length token) See https://en.wikipedia.org/wiki/Inside%E2%80%93outside%E2%80%93beginning_(tagging)

Available options:
BIO,
BIOES,
BILOU
edit_overrides
EditOverride · object[] | null
only_export_edited
boolean | null
default:false
min_reviews
integer | null
Required range: x >= 0

Response

Successful Response

edit_ids
string<uuid4>[]
required
results
any[]
required
task
string | null
filter_params
object
compare_to
enum<string> | null
Available options:
training,
validation,
test,
inference
map_threshold
number
default:0.5
all_but
boolean
default:false
file_type
enum<string>
Available options:
csv,
json,
parquet,
arrow,
zip
include_cols
string[] | null
col_mapping
object | null
hf_format
boolean
default:false
tagging_schema
enum<string> | null

Supported NER Tagging schemas.

A tagging schema is a definition of the way NER data is formatted. The schema letters define the tags used within it. ex: BIOES - B means before (a token), I means in (a token), E means end (of a token), S means single (length token) See https://en.wikipedia.org/wiki/Inside%E2%80%93outside%E2%80%93beginning_(tagging)

Available options:
BIO,
BIOES,
BILOU
edit_overrides
EditOverride · object[] | null
only_export_edited
boolean | null
default:false
min_reviews
integer | null
Required range: x >= 0
I