Skip to main content
POST
create entity

Authorizations

Authorization
string
header
required

Authentication

Body

application/json
name
string
required

Name of the detector schema

Minimum string length: 1
version
string
required

Version of the detector schema

Minimum string length: 1
Example:

"0.0.1"

description
string
required

Description of the detector schema

Minimum string length: 1
Example:

"Detector schema description example"

schema
object
required

Json Schema value of the detector schema

Example:
status
enum<string>

Status of the entity. Default: 'ACTIVE'

Available options:
ACTIVE,
DISABLED,
DELETED
title
string

Title of the detector schema, shown to UI user

author
string

Author for the detector schema

icon
string

Icon for the detector schema

tags
string[]

Detector schema tags. Example SECURITY, COMPLIANCE

networkTags
string[]

Detector schema tags, list of groups or networks that are allowed for this schema. Can include ChainGroup (network group, eg: 'evm') or ChainUid (network eg: 'ethereum'). Empty = any network

faq
object[]

FAQ of the detector schema

uiSchema
object

UI Schema value of the detector schema

Example:

Response

200 - application/json

OK

id
integer<int64>

Unique identifier of the entity

Example:

1

createdAt
integer<int64>

Time when entity was created

updatedAt
integer<int64>

Time when entity was updated

status
enum<string>

Status of the entity. Default: 'ACTIVE'

Available options:
ACTIVE,
DISABLED,
DELETED
title
string

Title of the detector schema, shown to UI user

name
string

Name of the detector schema

version
string

Version of the detector schema

Example:

"0.0.1"

description
string

Description of the detector schema

Example:

"Detector schema description example"

author
string

Author for the detector schema

icon
string

Icon for the detector schema

tags
string[]

Detector schema tags. Example SECURITY, COMPLIANCE

networkTags
string[]

Detector schema tags, list of groups or networks that are allowed for this schema. Can include ChainGroup (network group, eg: 'evm') or ChainUid (network eg: 'ethereum'). Empty = any network

faq
object[]

FAQ of the detector schema

schema
object

Json Schema value of the detector schema

Example:
uiSchema
object

UI Schema value of the detector schema

Example: