API version: 0.3.0

---

# POST /search — Post search

The search endpoint allows end users to execute search requests. See the [search tutorial](/guide/search.md) for
details, [choosing a search step](/guide/search/choosing-a-search-step.md) for guidance on which step (or combination)
fits your use case, and [writing an Elasticsearch query](/guide/search/writing-an-elasticsearch-query.md) for a
walkthrough of the most commonly used step.

If a search step fails, the response explains which step failed and why, see
[understanding search errors](/guide/search/understanding-search-errors.md).

## Request

```bash
curl \
  -H 'Authorization: Bearer secret-token:1nc1pFdBO2QLYRMMvULgtQ' \
  -H 'Content-Type: application/json' \
  -d '{
        "debug": true,
        "steps": [
          {
            "type": "elasticsearch-query-dsl-mixin",
            "query": {
              "match": {
                "description": {
                  "query": "lily"
                }
              }
            }
          },
          {
            "type": "element-hydration"
          }
        ]
      }' \
  https://api.example.com/search
```

## Response

### 200 · OK

Elasticsearch full-text search, hydrated into a collection of elements.

#### Body

```json
{
  "type": "_SearchResultResponse",
  "results": [
    {
      "type": "Taxon",
      "id": "02IiNr0GOoKiPMLHurXARbcQUHxEJVbY9UJPL",
      "data": {
        "name": "Gloriosa",
        "path": "/Plantae/Tracheophytes/Angiosperms/Monocots/Liliales/Colchicaceae/Gloriosa",
        "scenario": "general.botanicExample",
        "link": "https://en.wikipedia.org/wiki/Gloriosa_(plant)",
        "description": "Gloriosa is a genus of 12 species in the plant family Colchicaceae, and includes the formerly recogn...",
        "createdAt": "2026-12-05T12:16:05+00:00",
        "updatedAt": "2026-12-05T12:16:05+00:00"
      },
      "metadata": {
        "score": 4.5698752
      }
    },
    {
      "type": "Plant",
      "id": "02IiNr0GOoKiPMLPDlPbKrlR4vnBQsvSBSkU5",
      "data": {
        "images": [
          {
            "description": "",
            "imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/f/fe/Flame_lily.png",
            "imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Flame_lily.png/500px-Flame_lily.png",
            "link": "https://en.wikipedia.org/wiki/File:Flame_lily.png"
          },
          {
            "description": "Gloriosa superba at Mabvuku, Harare, Zimbabwe",
            "imageLinkFull": "https://upload.wikimedia.org/wikipedia/commons/b/bc/Gloriosa_superba_1.jpg",
            "imageLinkThumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Gloriosa_superba_1.jpg/960px-Gloriosa_supe...",
            "link": "https://en.wikipedia.org/wiki/File:Gloriosa_superba_1.jpg"
          }
        ],
        "hasFile": true,
        "name": "Flame Lily",
        "scenario": "general.botanicExample",
        "scientificName": "G. superba",
        "link": "https://en.wikipedia.org/wiki/Gloriosa_superba",
        "description": "Gloriosa superba is a species of flowering plant in the family Colchicaceae. Common names include fl...",
        "createdAt": "2026-12-05T12:16:05+00:00",
        "updatedAt": "2026-12-05T12:16:05+00:00"
      },
      "file": {
        "contentLength": 90681,
        "extension": "jpg",
        "mimeType": "image/jpeg",
        "hash": {
          "sha256": "72e3e3770db795b2f04f0b5bb0be43e74df70de4faa0bf83a706bbde29e4ea0b"
        }
      },
      "metadata": {
        "score": 4.001134
      }
    },
    {
      "type": "Taxon",
      "id": "02IiNr0GOoKiPMLMTxO45AnoTbb6AIdILXae9",
      "data": {
        "name": "Lilieae",
        "path": "/Plantae/Tracheophytes/Angiosperms/Monocots/Liliales/Liliaceae/Lilioideae/Lilieae",
        "scenario": "general.botanicExample",
        "link": "https://en.wikipedia.org/wiki/Lilieae",
        "description": "The Lilieae are a monophyletic tribe of monocotyledon perennial, herbaceous mainly bulbous flowering...",
        "createdAt": "2026-12-05T12:16:01+00:00",
        "updatedAt": "2026-12-05T12:16:01+00:00"
      },
      "metadata": {
        "score": 3.7523305
      }
    },
    "... 17 more items omitted (shapes seen: type:Taxon, type:Plant) ..."
  ],
  "debug": [
    {
      "input": {
        "type": "elasticsearch-query-dsl-mixin",
        "query": {
          "match": {
            "description": {
              "query": "lily"
            }
          }
        },
        "parameters": {
          "stepResults": []
        }
      },
      "step-handler": "elasticsearch-query-dsl-mixin (App\\EventSystem\\SearchStep\\EventListener\\ElasticsearchQueryDslMixinSe...",
      "start": 1796473117.904849,
      "indices": "*",
      "combinedQuery": {
        "_source": [
          "_id"
        ],
        "from": 0,
        "size": 25,
        "query": {
          "bool": {
            "must": [
              {
                "match": {
                  "description": {
                    "query": "lily"
                  }
                }
              }
            ],
            "filter": [
              {
                "bool": {
                  "should": [
                    {
                      "terms": {
                        "_groupsWithSearchAccess.keyword": []
                      }
                    },
                    {
                      "term": {
                        "_usersWithSearchAccess.keyword": {
                          "value": "02IiNr0GOoKiPMM5A0eq9jHk2upaJezsVtWjL"
                        }
                      }
                    }
                  ],
                  "minimum_should_match": 1
                }
              }
            ]
          }
        }
      },
      "end": 1796473117.9145,
      "duration": 0.009651
    },
    {
      "input": {
        "type": "element-hydration",
        "query": null,
        "parameters": {
          "stepResults": [
            {
              "elements": [
                {
                  "id": "02IiNr0GOoKiPMLHurXARbcQUHxEJVbY9UJPL",
                  "type": "Taxon",
                  "metadata": {
                    "score": 4.5698752
                  }
                },
                {
                  "id": "02IiNr0GOoKiPMLPDlPbKrlR4vnBQsvSBSkU5",
                  "type": "Plant",
                  "metadata": {
                    "score": 4.001134
                  }
                },
                {
                  "id": "02IiNr0GOoKiPMLMTxO45AnoTbb6AIdILXae9",
                  "type": "Taxon",
                  "metadata": {
                    "score": 3.7523305
                  }
                },
                "... 17 more items omitted (shapes seen: type:Taxon, type:Plant) ..."
              ],
              "totalHits": 20,
              "maxScore": 4.5698752
            }
          ]
        }
      },
      "step-handler": "element-hydration (App\\EventSystem\\SearchStep\\EventListener\\ElementHydrationSearchStepEventListener)",
      "start": 1796473117.914852,
      "accessibleElementIds": [
        "02IiNr0GOoKiPMLHurXARbcQUHxEJVbY9UJPL",
        "02IiNr0GOoKiPMLPDlPbKrlR4vnBQsvSBSkU5",
        "02IiNr0GOoKiPMLMTxO45AnoTbb6AIdILXae9",
        "... 17 more items omitted (shapes seen: string) ..."
      ],
      "end": 1796473118.013435,
      "duration": 0.098583
    }
  ]
}
```

#### Headers

```http
Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-None-Match
Access-Control-Allow-Methods: OPTIONS, POST
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag
Allow: OPTIONS, POST
Cache-Control: no-cache, private
Preference-Applied: geometry=wkt
Vary: Prefer
X-Powered-By: Ember Nexus API
```

#### Schema

```json
{
  "type": "object",
  "required": [
    "type",
    "results"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "_SearchResultResponse"
      ]
    },
    "results": {
      "description": "The result of the last executed search step. If the last step is an `element-hydration` step, this is a plain array of hydrated elements. Otherwise, its shape depends on the last step's type (e.g. `{ elements, totalHits, maxScore }` for `elasticsearch-query-dsl-mixin`, or `{ paths }` for `cypher-path-subset`).",
      "oneOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "type",
              "id",
              "data"
            ],
            "properties": {
              "type": {
                "type": "string",
                "example": "Data"
              },
              "id": {
                "type": "string",
                "pattern": "^(?:[0-9A-Za-z]{37}|[0-9A-Fa-f]{8}-[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}-[0-9A-Fa-f]{14})$",
                "example": "02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI",
                "description": "Global unique identifier for any element: a UUIDsv2a7 (draft-davis-uuidrev-uuid-long-00) of 27 bytes, made of a 4 byte encoding block, a 6 byte millisecond timestamp and a 16 byte random part (including the version and variant markers). The canonical form is base62sort, 37 characters of 0-9, A-Z and a-z. The same 27 bytes in base16 with dashes (60 characters in the groups 8-8-4-4-4-12-14, case-insensitive) are accepted as input as well."
              },
              "data": {
                "type": "object",
                "additionalProperties": true,
                "example": {
                  "createdAt": "2025-09-27T10:39:51+00:00",
                  "updatedAt": "2025-09-27T10:39:51+00:00",
                  "name": "some name"
                }
              },
              "file": {
                "type": "object",
                "additionalProperties": true,
                "readOnly": true,
                "example": {
                  "contentLength": 63933,
                  "extension": "jpg",
                  "mimeType": "image/jpeg"
                }
              },
              "start": {
                "description": "UUID of the start node. Required if end is present.",
                "type": "string",
                "pattern": "^(?:[0-9A-Za-z]{37}|[0-9A-Fa-f]{8}-[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}-[0-9A-Fa-f]{14})$",
                "example": "02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI"
              },
              "end": {
                "description": "UUID of the end node. Required if start is present.",
                "type": "string",
                "pattern": "^(?:[0-9A-Za-z]{37}|[0-9A-Fa-f]{8}-[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}-[0-9A-Fa-f]{14})$",
                "example": "02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI"
              }
            }
          }
        },
        {
          "type": "object",
          "additionalProperties": true
        }
      ]
    },
    "debug": {
      "type": "array",
      "description": "Only present if the request body's `debug` property was set to true. Contains one entry per executed search step, with step-specific timing and query information.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}
```

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/200) · [HTTP.dev](https://http.dev/200)

### 400 · Bad Request

General issues with the user provided request, e.g. missing properties, malformed properties, failing validation logic etc.

#### Body

```json
{
  "type": "https://api.example.com/error/400/missing-property",
  "title": "Missing property",
  "status": 400,
  "instance": "urn:uuid:02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI",
  "detail": "Endpoint requires that the request contains property 'type' to be set to a valid type."
}
```

#### Headers

`Access-Control-Allow-Headers`, `Access-Control-Allow-Methods`, `Access-Control-Allow-Origin`, `Access-Control-Expose-Headers`, `Allow`, `Cache-Control`, `X-Powered-By`. Descriptions and example values are in the Response Header section below.

#### Schema

```json
{
  "oneOf": [
    {
      "type": "object",
      "description": "Problem Details object, see RFC 9457.",
      "properties": {
        "type": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "integer"
        },
        "detail": {
          "type": "string"
        },
        "instance": {
          "type": "string",
          "format": "uri",
          "description": "URN uniquely identifying the request that produced this problem, as `urn:uuid:<uuid>`."
        }
      }
    },
    {
      "$schema": "https://spec.openapis.org/oas/3.0/schema/2021-09-28#/definitions/Schema",
      "description": "Problem details of a failed search request. In addition to the usual problem properties, it explains which search step failed. See [understanding search errors](/guide/search/understanding-search-errors).",
      "allOf": [
        {
          "type": "object",
          "description": "Problem Details object, see RFC 9457.",
          "properties": {
            "type": {
              "type": "string",
              "format": "uri"
            },
            "title": {
              "type": "string"
            },
            "status": {
              "type": "integer"
            },
            "detail": {
              "type": "string"
            },
            "instance": {
              "type": "string",
              "format": "uri",
              "description": "URN uniquely identifying the request that produced this problem, as `urn:uuid:<uuid>`."
            }
          }
        },
        {
          "type": "object",
          "properties": {
            "debug": {
              "type": "array",
              "description": "Debug data of all search steps before the failed step, in the same format as the `debug` property of successful requests. Returned for failed steps independent of the `debug` request property, as long as failure explanations are enabled.",
              "items": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "failedStep": {
              "type": "object",
              "description": "Explains the search step which failed.",
              "properties": {
                "index": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Zero-based index of the failed step inside `steps`."
                },
                "type": {
                  "type": "string",
                  "description": "Type of the failed step."
                },
                "debug": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Debug data of the failed step up to the point of failure."
                },
                "source": {
                  "type": "string",
                  "description": "Technology which was diagnosed, e.g. `neo4j` or `elasticsearch`. Only set if the failure could be diagnosed."
                },
                "code": {
                  "type": "string",
                  "enum": [
                    "invalid-query",
                    "query-execution-failed"
                  ],
                  "description": "Stable code of Ember Nexus."
                },
                "diagnostics": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Allowlisted data which got passed through from the database, e.g. its error code, its message and the position inside of the query."
                }
              }
            },
            "expressionError": {
              "type": "object",
              "description": "Explains a failed expression. Only set if the failure was caused by an expression.",
              "properties": {
                "source": {
                  "type": "string",
                  "example": "expr-lang"
                },
                "code": {
                  "type": "string",
                  "enum": [
                    "invalid-query",
                    "query-execution-failed"
                  ]
                },
                "diagnostics": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Kind of error (`compile error` or `runtime error`), its message and, if available, `line` and `column`."
                }
              }
            }
          }
        }
      ]
    }
  ]
}
```

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/400) · [HTTP.dev](https://http.dev/400)

### 401 · Unauthorized

The provided token is either invalid or expired.

#### Body

```json
{
  "type": "https://api.example.com/error/401/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "instance": "urn:uuid:02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI",
  "detail": "Authorization for the request failed due to possible problems with the token (incorrect or expired), password (incorrect or changed), the user's unique identifier, or the user's status (e.g., missing, blocked, or deleted)."
}
```

#### Headers

`Access-Control-Allow-Headers`, `Access-Control-Allow-Methods`, `Access-Control-Allow-Origin`, `Access-Control-Expose-Headers`, `Allow`, `Cache-Control`, `X-Powered-By`. Descriptions and example values are in the Response Header section below.

#### Schema

Same as `Problem` — see the Response Schema section below.

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/401) · [HTTP.dev](https://http.dev/401)

### 422 · Unprocessable Content

An expression (Go Expr Lang) query exceeded its configured timeout.

#### Body

```json
{
  "type": "https://api.example.com/error/422/unprocessable-content",
  "title": "Unprocessable content",
  "status": 422,
  "instance": "urn:uuid:02IiNr0G8viOVKjLCfR4NIEdgVrLpaxVcZ7BI",
  "detail": "Query execution timed out after 100 ms."
}
```

#### Headers

`Access-Control-Allow-Headers`, `Access-Control-Allow-Methods`, `Access-Control-Allow-Origin`, `Access-Control-Expose-Headers`, `Allow`, `Cache-Control`, `X-Powered-By`. Descriptions and example values are in the Response Header section below.

#### Schema

Same as `Problem` — see the Response Schema section below.

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/422) · [HTTP.dev](https://http.dev/422)

## Request Header

### `Authorization` (optional)

Bearer token for user authentication. If omitted, the request is processed as an anonymous user; if provided, the associated user account is used.

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Authorization) · [HTTP.dev](https://http.dev/authorization) · [Authentication guide](/guide/authentication.md)

### `Prefer` (optional)

Preferences of RFC 7240. `geometry=wkt` returns geo values as WKT strings instead of GeoJSON objects, `geometry=geojson` is the default. Unknown preferences are ignored.

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Prefer) · [Response format](/reference/formats-and-languages/geojson.md#response-format)

## Request Body (required)

#### Example

```json
{
  "parameters": {
    "query": "some custom query content"
  },
  "debug": true
}
```

#### Schema

```json
{
  "type": "object",
  "required": [
    "steps"
  ],
  "properties": {
    "steps": {
      "type": "array",
      "description": "List of search steps, which should be executed sequentially.",
      "items": {
        "oneOf": [
          {
            "allOf": [
              {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Step-local parameters. Overwrites global parameters for this step."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "type",
                  "query"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "cypher-path-subset"
                    ]
                  },
                  "query": {
                    "type": "string",
                    "description": "A Cypher query string returning paths.",
                    "example": "MATCH path=((:Plant)-[:HAS_TAG]->(:Tag {name: \"blue\"})) RETURN path"
                  }
                }
              }
            ]
          },
          {
            "allOf": [
              {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Step-local parameters. Overwrites global parameters for this step."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "type",
                  "query"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "elasticsearch-query-dsl-mixin"
                    ]
                  },
                  "query": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "An Elasticsearch Query DSL object.",
                    "example": {
                      "match": {
                        "description": {
                          "query": "lily"
                        }
                      }
                    }
                  },
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Step-local parameters. In addition to arbitrary values used by expressions inside `query`, this step recognizes the following well-known keys.",
                    "properties": {
                      "nodeTypes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Restricts the search to the given node types."
                      },
                      "relationTypes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Restricts the search to the given relation types."
                      },
                      "page": {
                        "type": "integer",
                        "default": 1,
                        "description": "Page of results to return."
                      },
                      "pageSize": {
                        "type": "integer",
                        "default": 25,
                        "description": "Number of results per page."
                      },
                      "minScore": {
                        "type": "number",
                        "nullable": true,
                        "default": null,
                        "description": "If set, removes all results with a lower Elasticsearch relevance score."
                      }
                    }
                  }
                }
              }
            ]
          },
          {
            "allOf": [
              {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Step-local parameters. Overwrites global parameters for this step."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "element-hydration"
                    ]
                  },
                  "query": {
                    "not": {}
                  }
                }
              }
            ]
          },
          {
            "allOf": [
              {
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Step-local parameters. Overwrites global parameters for this step."
                  }
                }
              },
              {
                "type": "object",
                "required": [
                  "type",
                  "query",
                  "parameters"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "text-embedding"
                    ]
                  },
                  "query": {
                    "type": "string",
                    "maxLength": 8192,
                    "description": "The text which is turned into a vector, or an expression in `{{ }}` which returns it. Requires the capability `embedding.create`.",
                    "example": "a hot drink made from roasted beans"
                  },
                  "parameters": {
                    "type": "object",
                    "additionalProperties": true,
                    "required": [
                      "provider"
                    ],
                    "properties": {
                      "provider": {
                        "type": "string",
                        "description": "Name of the embedding provider of the configuration.",
                        "example": "openai"
                      }
                    }
                  }
                }
              }
            ]
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "cypher-path-subset": "#/components/schemas/CypherPathSubsetStep",
            "elasticsearch-query-dsl-mixin": "#/components/schemas/ElasticsearchQueryDslMixinStep",
            "element-hydration": "#/components/schemas/ElementHydrationStep",
            "text-embedding": "#/components/schemas/TextEmbeddingStep"
          }
        }
      }
    },
    "parameters": {
      "type": "object",
      "description": "Arbitrary data, injected as global parameters to the individual search steps during execution; useful to provide static data.",
      "additionalProperties": true,
      "example": {
        "query": "some custom query content"
      }
    },
    "debug": {
      "type": "boolean",
      "description": "If true, search response will include additional debug and meta data. Failed requests include the debug data independent of this property, unless failure explanations are disabled in the configuration.",
      "example": true
    }
  }
}
```

## Response Schema

### `Problem`

Problem Details object, see RFC 9457.

```json
{
  "type": "object",
  "description": "Problem Details object, see RFC 9457.",
  "properties": {
    "type": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "detail": {
      "type": "string"
    },
    "instance": {
      "type": "string",
      "format": "uri",
      "description": "URN uniquely identifying the request that produced this problem, as `urn:uuid:<uuid>`."
    }
  }
}
```

## Response Header

### Other Headers

#### `Access-Control-Allow-Headers` (always)

Lists the request headers which the endpoint reads and which browsers may send in cross-origin requests. Headers are listed explicitly, as the wildcard does not cover `Authorization`; resumable upload headers, for example, are only listed by upload endpoints.

Example: `Authorization, Content-Type, If-Match, If-None-Match`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Headers) · [HTTP.dev](https://http.dev/access-control-allow-headers)

#### `Access-Control-Allow-Methods` (always)

Indicates which HTTP methods are permitted for cross-origin requests, typically returned in preflight responses.

Example: `OPTIONS, POST`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Methods) · [HTTP.dev](https://http.dev/access-control-allow-methods)

#### `Access-Control-Allow-Origin` (always)

Specifies which origin may access the resource: the origin of the request (default), or `*` if `cors.allowedOrigins` is set to the wildcard. Not sent to origins which are not part of a configured list of `cors.allowedOrigins`.

Example: `*`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin) · [HTTP.dev](https://http.dev/access-control-allow-origin)

#### `Access-Control-Expose-Headers` (optional)

Lists the response headers which the endpoint can send and which browsers may access from JavaScript beyond the default restricted set. Only headers of the endpoint are listed; the header is omitted if the endpoint has none.

Example: `ETag`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Expose-Headers) · [HTTP.dev](https://http.dev/access-control-expose-headers)

#### `Allow` (always)

Lists the HTTP methods supported by the endpoint; returned alongside a `Method Not Allowed` response.

Example: `OPTIONS, POST`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Allow) · [HTTP.dev](https://http.dev/allow)

#### `Cache-Control` (always)

Directives controlling caching behavior for the response.

Example: `no-cache, private`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) · [HTTP.dev](https://http.dev/cache-control)

#### `Preference-Applied` (optional)

The preferences of the `Prefer` request header which were applied, e.g. `geometry=wkt`. Only present if the request contained a supported preference.

Example: `geometry=wkt`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Preference-Applied) · [Response format](/reference/formats-and-languages/geojson.md#response-format)

#### `Vary` (optional)

The request headers which change the response, `Prefer` for endpoints which return geo values in the preferred format.

Example: `Prefer`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Vary) · [HTTP.dev](https://http.dev/vary)

#### `X-Powered-By` (always)

Identifies the underlying API implementation.

Example: `Ember Nexus API`

[MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Powered-By) · [HTTP.dev](https://http.dev/x-powered-by)

---

Home: [Ember Nexus API docs](/index.md)

Full site map: [llms.txt](/llms.txt)

Previous: [Delete upload](/api/delete-upload.md)

Next: [Post saved search](/api/post-saved-search.md)
