POST
/
collections
Create a new collection
curl --request POST \
  --url https://{FUSION HOST}/api/collections \
  --header 'Content-Type: application/json' \
  --data '{
  "createdAt": "2023-11-07T05:31:56Z",
  "searchClusterId": "<string>",
  "commitWithin": 123,
  "features": {},
  "compositeIdSpec": {
    "routeKey1Field": "<string>",
    "routeKey1Bits": 123,
    "routeKey2Field": "<string>",
    "routeKey2Bits": 123
  },
  "solrParams": {
    "name": "<string>",
    "numShards": 123,
    "replicationFactor": 123,
    "collection.configName": "<string>"
  },
  "modifiedAt": "2023-11-07T05:31:56Z",
  "type": "DATA",
  "relatedCollectionId": "<string>",
  "metadata": {}
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "searchClusterId": "<string>",
  "commitWithin": 123,
  "features": {},
  "compositeIdSpec": {
    "routeKey1Field": "<string>",
    "routeKey1Bits": 123,
    "routeKey2Field": "<string>",
    "routeKey2Bits": 123
  },
  "solrParams": {
    "name": "<string>",
    "numShards": 123,
    "replicationFactor": 123,
    "collection.configName": "<string>"
  },
  "modifiedAt": "2023-11-07T05:31:56Z",
  "type": "DATA",
  "relatedCollectionId": "<string>",
  "metadata": {}
}

Query Parameters

pipelines
boolean
default:true

A boolean to indicate if pipelines should also be created. This has been deprecated in favor of 'relatedObjects'.

Body

application/json

JSON-formatted configuration values.

createdAt
string<date-time>
searchClusterId
string
commitWithin
integer
features
object
compositeIdSpec
object
solrParams
object
modifiedAt
string<date-time>
type
enum<string>
Available options:
DATA,
LOGS,
METRICS,
SIGNALS,
SIGNALS_AGGREGATION,
SEARCHLOGS,
SYNONYMS,
RECOMMENDATIONS,
HISTORY,
BLOBS,
MESSAGES,
TAXONOMY,
CRAWL_DB,
JOB_HISTORY,
ARCHIVING,
AUTOCOMPLETE_DOCUMENTS,
QUERY_REWRITE,
USER_PREFS,
JOB_REPORTS,
ACL,
NULL
metadata
object

Response

200 - application/json

successful operation

id
string
createdAt
string<date-time>
searchClusterId
string
commitWithin
integer
features
object
compositeIdSpec
object
solrParams
object
modifiedAt
string<date-time>
type
enum<string>
Available options:
DATA,
LOGS,
METRICS,
SIGNALS,
SIGNALS_AGGREGATION,
SEARCHLOGS,
SYNONYMS,
RECOMMENDATIONS,
HISTORY,
BLOBS,
MESSAGES,
TAXONOMY,
CRAWL_DB,
JOB_HISTORY,
ARCHIVING,
AUTOCOMPLETE_DOCUMENTS,
QUERY_REWRITE,
USER_PREFS,
JOB_REPORTS,
ACL,
NULL
metadata
object