Skip to main content
POST
/
api
/
v1
/
traces
/
{id}
/
addToDataset
cURL
curl --request POST \
  --url http://studio.premai.io/api/v1/traces/{id}/addToDataset \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "datapointId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

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

Response

success response

message
string
required
datapointId
string<uuid>
required