Description
API ReferencePairwise Annotations

Get Batch Pairwise Annotations

POST
/v1/pairwise-annotations/get-batch
/v1/pairwise-annotations/get-batch

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Request Body

application/jsonRequired

pairwise_annotations
Required
Pairwise Annotations

curl -X POST "https://api.patronus.ai/v1/pairwise-annotations/get-batch" \
  -H "X-API-KEY: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "pairwise_annotations": [
      {
        "name": "string",
        "log_a_id": "3cf2c9d6-672e-4257-a939-4ee0262652bd",
        "log_b_id": "6507bfdd-83b6-4926-9d92-bf14a32e50fe"
      }
    ]
  }'

Successful Response

{
  "pairwise_annotations": [
    {
      "name": "string",
      "log_a_id": "3cf2c9d6-672e-4257-a939-4ee0262652bd",
      "log_a_score": 0,
      "log_b_id": "6507bfdd-83b6-4926-9d92-bf14a32e50fe",
      "log_b_score": 0,
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}