v1
Graph Domains

Create a custom domain

post/v1/graph/domains

Request body

domain_idstring required

Custom id, e.g. 'acme:support_tickets:1.0.0'.

namestring required

Human-readable domain name.

descriptionstring required

What this domain models.

signal_multipliersobject nullable

Domain-level default signal weight multipliers. Applied automatically on every rerank/search request for this domain (unless the caller supplies their own signal_multipliers, which take priority). Keys are field names (e.g. 'key_claim') or Hz-strings (e.g. '70.0'). Values: 0.0 = disable band, 1.0 = unchanged, 2.0 = 2× boost.

Response

Successful Response

domain_idstring required
namestring required
descriptionstring required
signal_multipliersobject nullable

Domain-level default signal multipliers (see GraphDomainCreate).

builtinboolean

True for built-in domains shipped with Papr (read-only).

created_atstring nullable
owner_user_idstring nullable
owner_workspace_idstring nullable

Workspace that owns this domain. Domains are scoped to workspace when set.

owner_organization_idstring nullable

Organization that owns this domain.

owner_namespace_idstring nullable

Namespace this domain belongs to, if any.

Changes

Changed in 6 of the 37 revisions of this API.3199

    • added the new optional request property catalog_config

      new-optional-request-property

    • added the optional property catalog to the response with the 201 status

      response-optional-property-added

    • added the optional property catalog_buffer to the response with the 201 status

      response-optional-property-added

    • added the optional property catalog_config to the response with the 201 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property catalog_config

      request-property-removed

    • removed the optional property catalog from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_buffer from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_config from the response with the 201 status

      response-optional-property-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property catalog_config

      new-optional-request-property

    • added the optional property catalog to the response with the 201 status

      response-optional-property-added

    • added the optional property catalog_buffer to the response with the 201 status

      response-optional-property-added

    • added the optional property catalog_config to the response with the 201 status

      response-optional-property-added

    • removed the request property catalog_config

      request-property-removed

    • removed the optional property catalog from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_buffer from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_config from the response with the 201 status

      response-optional-property-removed

  • 56af15e4d864311See the full diff
    • the catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/ request property type/format changed from object/ to /

      request-property-type-changed

    • the catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/ response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    • the catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/ response's property type/format changed from object/ to / for status 201

      response-property-type-changed

    • removed the request property catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/enabled

      request-property-removed

    • removed the request property catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/refresh_every_n

      request-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/domain_distribution from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/entity_clusters from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/last_refreshed from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/last_updated from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/relationship_patterns from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/signal_value_counts from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog/anyOf[subschema #1: DomainCatalog -> DomainCatalog]/total_documents from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/enabled from the response with the 201 status

      response-optional-property-removed

    • removed the optional property catalog_config/anyOf[subschema #1: DomainCatalogConfig -> DomainCatalogConfig]/refresh_every_n from the response with the 201 status

      response-optional-property-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog