Skip to main content
POST
/
feedback
/
batch
/
create
Feedback Create Batch
curl --request POST \
  --url https://api.example.com/feedback/batch/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "batch": [
    {
      "project_id": "<string>",
      "weave_ref": "<string>",
      "feedback_type": "<string>",
      "payload": {},
      "id": "018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b",
      "creator": "Jane Smith",
      "annotation_ref": "weave:///entity/project/object/name:digest",
      "runnable_ref": "weave:///entity/project/op/name:digest",
      "call_ref": "weave:///entity/project/call/call_id",
      "trigger_ref": "weave:///entity/project/object/name:digest",
      "wb_user_id": "<string>"
    }
  ]
}
'
{
  "res": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "wb_user_id": "<string>",
      "payload": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
batch
FeedbackCreateReq ยท object[]
required

Response

Successful Response

res
FeedbackCreateRes ยท object[]
required