Skip to main content
POST
Create or replace a catalog

Authorizations

Authorization
string
header
required

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Body

application/json
iconTag
string
required

Tag of the icon shown for the catalog

Example:

"cortex"

isDraft
boolean
required

Whether the catalog is a draft

name
string
required

Name of the catalog

slug
string
required

Unique identifier for the catalog

Example:

"my-catalog"

description
string

Optional description of the catalog

filter
object

Filter that selects the entities in the catalog, for FILTER catalogs

relationshipTypeTag
string

Tag of the relationship type the catalog is built from, for a RELATIONSHIP_TYPE catalog

type
enum<string>

What the catalog is built from. Optional: inferred as FILTER when filter is set and RELATIONSHIP_TYPE when relationshipTypeTag is set. Must be set explicitly to DOMAIN for a domain catalog

Available options:
FILTER,
RELATIONSHIP_TYPE,
DOMAIN

Response

Successfully created or replaced the catalog

dateCreated
string<date-time>
required

Time the catalog was created

dateUpdated
string<date-time>
required

Time the catalog was last updated

iconTag
string
required

Tag of the icon shown for the catalog

Example:

"cortex"

isCortexManaged
boolean
required

Whether the catalog is managed by Cortex. Cortex-managed catalogs cannot be modified or deleted

isDraft
boolean
required

Whether the catalog is a draft

name
string
required

Name of the catalog

slug
string
required

Unique identifier for the catalog

Example:

"my-catalog"

type
enum<string>
required

What the catalog is built from. Optional: inferred as FILTER when filter is set and RELATIONSHIP_TYPE when relationshipTypeTag is set. Must be set explicitly to DOMAIN for a domain catalog

Available options:
FILTER,
RELATIONSHIP_TYPE,
DOMAIN
description
string

Optional description of the catalog

filter
object

Filter that selects the entities in the catalog, for FILTER catalogs

relationshipTypeTag
string

Tag of the relationship type the catalog is built from, for RELATIONSHIP_TYPE catalogs

Last modified on September 29, 2026