POST
/
v1
/
run
/
{id}
/
gold-labels
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "account_id": "<string>",
  "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "output_resource_name": "<string>",
  "text_value": "<string>",
  "object_value": {},
  "object_value_is_partial": true,
  "created_by": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_by": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}
Create a new gold label for a specific run. A gold label can contain either a text value or an object value, but not both. When using object values, you can optionally specify if it’s a partial gold label.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The ID of the run

Body

application/json

Response

201
application/json

Gold label created successfully

The response is of type object.