POST
/
api
/
v1
/
sources
/
add
/
bigquery
/
curl --request POST \
  --url https://api.camelai.com/api/v1/sources/add/bigquery/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "bigquery",
  "service_account_key": {
    "type": "service_account",
    "project_id": "my-project",
    "private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
    "client_email": "[email protected]"
  }
}'
{
  "id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Serializer for Google BigQuery connection configuration.

Response

200
application/json

The response is of type object.