POST
/
manage
/
admin
/
connector
Create Connector From Model
curl --request POST \
  --url https://cloud.onyx.app/api/manage/admin/connector \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "source": "ingestion_api",
  "input_type": "load_state",
  "connector_specific_config": {},
  "refresh_freq": 123,
  "prune_freq": 123,
  "indexing_start": "2023-11-07T05:31:56Z",
  "access_type": "public",
  "groups": [
    123
  ]
}'
{
  "id": 123,
  "credential": {
    "credential_json": {},
    "admin_public": true,
    "source": "ingestion_api",
    "name": "<string>",
    "curator_public": false,
    "groups": [
      123
    ],
    "is_user_file": false,
    "id": 123,
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_email": "<string>",
    "time_created": "2023-11-07T05:31:56Z",
    "time_updated": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.