Skip to main content
POST
/
v1
/
config
/
ingestion
/
exclusions
Create Exclusion Rule
curl --request POST \
  --url https://api.mezmo.com/v1/config/ingestion/exclusions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "hosts": [
    "<string>"
  ],
  "apps": [
    "<string>"
  ],
  "active": false,
  "indexonly": true,
  "query": "<string>"
}
'
{
  "title": "<string>",
  "hosts": [
    "<string>"
  ],
  "apps": [
    "<string>"
  ],
  "active": false,
  "indexonly": true,
  "query": "<string>",
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://mezmo-9a59581a-mintlify-926f893d.mintlify.app/llms.txt

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

Authorizations

Authorization
string
header
required

This key is used for all apis with the exception of ingest. You can obtain it following these instructions and placing the key in the header of your call in the format of Authorization: Token {accesstoken} For example:

curl -H 'Authorization: Token <ACCESS TOKEN>'

Body

application/json

Request parameters

title
string
required
Minimum string length: 1
hosts
string[]

Comma-separated list of hosts.

apps
string[]

Comma-separated list of applications.

active
boolean
default:false
indexonly
boolean
default:true
query
string

Search query.

Response

OK

title
string
required
Minimum string length: 1
hosts
string[]

Comma-separated list of hosts.

apps
string[]

Comma-separated list of applications.

active
boolean
default:false
indexonly
boolean
default:true
query
string

Search query.

id
string
read-only
Minimum string length: 1