POST
/
call
/
upsert_batch
Call Start Batch
curl --request POST \
  --url https://trace.wandb.ai/call/upsert_batch \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "batch": [
    {
      "mode": "start",
      "req": {
        "start": {
          "project_id": "<string>",
          "id": "<string>",
          "op_name": "<string>",
          "display_name": "<string>",
          "trace_id": "<string>",
          "parent_id": "<string>",
          "thread_id": "<string>",
          "turn_id": "<string>",
          "started_at": "2023-11-07T05:31:56Z",
          "attributes": {},
          "inputs": {},
          "wb_user_id": "<string>",
          "wb_run_id": "<string>",
          "wb_run_step": 123
        }
      }
    }
  ]
}'
{
  "res": [
    {
      "id": "<string>",
      "trace_id": "<string>"
    }
  ]
}

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
Batch · array
required

Response

Successful Response

res
Res · array
required