Skip to main content
POST
/
api
/
events
/
templates
Create training template
curl --request POST \
  --url https://console.neuronsearchlab.com/api/events/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "status": "draft",
  "event_types": [
    {
      "id": 123,
      "weight": 123
    }
  ],
  "thresholds": {
    "per_signal_min": 123,
    "total_min": 123
  }
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.neuronsearchlab.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Platform API key issued from Console > Platform API Keys. Format: nsl__.

Body

application/json
name
string
status
enum<string>
Available options:
draft,
published
event_types
object[]
thresholds
object

Response

Created template

The response is of type object.