edits
Create Edit
Creates a Edit.
If setting sample_ids, the IDs must exist in the project/run/split. If setting filter, use the same filter params as used in /insights/summary
Cannot set both sample_ids and filter, must use only one.
If in a run type that has tasks (see multi-label runs) you must set a task as part of the body.
POST
/
projects
/
{project_id}
/
runs
/
{run_id}
/
split
/
{split}
/
edits
Authorizations
Galileo-API-Key
string
headerrequiredPath Parameters
project_id
string
requiredrun_id
string
requiredsplit
enum<string>
requiredAvailable options:
training
, validation
, test
, inference
Query Parameters
inference_name
string | null
scope
string | null
default: Body
application/json
task
string | null
new_label
string | null
search_string
string | null
text_replacement
string | null
use_regex
boolean | null
default: falseshift_span_start_num_words
integer | null
shift_span_end_num_words
integer | null
note
string | null
edit_action
enum<string>
requiredThe available actions you can take in an edit.
Available options:
relabel
, delete
, select_for_label
, relabel_as_pred
, update_text
, shift_span
, add_span
, create_new_label
sample_ids
integer[]
filter
object | null
map_threshold
number | null
Response
200 - application/json
task
string | null
new_label
string | null
search_string
string | null
text_replacement
string | null
use_regex
boolean | null
default: falseshift_span_start_num_words
integer | null
shift_span_end_num_words
integer | null
note
string | null
edit_action
enum<string>
requiredThe available actions you can take in an edit.
Available options:
relabel
, delete
, select_for_label
, relabel_as_pred
, update_text
, shift_span
, add_span
, create_new_label
sample_ids
integer[]
filter
object | null
map_threshold
number | null
inference_name
string | null
project_id
string
requiredrun_id
string
requiredsplit
enum<string>
requiredAvailable options:
training
, validation
, test
, inference
created_by
string | null
id
string
requiredcreated_at
string
requiredexported
boolean
requiredWas this page helpful?