Hello all, I'm using the Airbyte API to create con...
# ask-community-for-troubleshooting
l
Hello all, I'm using the Airbyte API to create connections and I would like to use basic normalization for BigQuery destination. However I can't find which operation_id I need to give to perform this normalization. From what I'm seeing, I should send something like this in the request ?
"operations": [{"workspace_id": "f9d8801a-7ac7-40fc-8e9a-1dd497ca4d82", "operation_id": "007220dd-022f-461d-aa70-53a61e7f90fd", "name": "Normalization", "operator_configuration": {"operator_type": "normalization", "normalization": {"option": "basic"}}}]
u
Hi Lucas, could you please tell me which endpoint you're using?
l
Hello, I'm using the endpoint
*POST* /v1/connections/create
from this documentation.
u
Thanks! Let me look into this, I'm not seeing any clear documentation so want to make sure I give you the correct info!
👍 1
i
No updates here?!
l
No unfortunately
l
Still no updates ?
l
Nope and I don't think we'll get one
m
I’m having the same problem, can’t set basic normalization via API when using Airbyte in Kubernetes
I found the solution! You can use the
/api/v1/operations/create
endpoint to create an operation
Copy code
{
  "name": "Normalization",
  "workspaceId": "your-workspace-id",
  "operatorConfiguration": {
    "operatorType": "normalization",
    "normalization": {
      "option": "basic"
    }
  }
}
Then when creating your connection in the
/api/v1/connections/create
endpoint you just have to pass another property
Copy code
"operationIds":["id-of-the-operation-you-just-created"]
@Lucas Gonthier @Louis Monier @Ismail Tigrek