Skip to main content
POST
/
api
/
v1
/
config
/
collections
cURL
curl --request POST \
  --url https://tenant.chronosphere.io/api/v1/config/collections \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "collection": {
    "name": "<string>",
    "team_slug": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "notification_policy_slug": "<string>",
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
collection
object

The Collection to create.

dry_run
boolean

If true, validates the specified configuration without creating the Collection. If the specified configuration is valid, the endpoint returns a partial response without the Collection. If the specified configuration is invalid, the endpoint returns an error.

Response

A successful response containing the created Collection.

collection
object