Xeonr Developer Docs

Global Search

POST
/xeonr.auth.private.v1.SearchService/Search

Organisation-scoped search across applications, clients, users, service accounts, scopes, roles, and identity providers. Results are ordered by relevance and grouped by type for display.

Requires organisation administrator privileges.

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

query?string

The search term. Matched case- and accent-insensitively against the display fields of each entity type.

Length1 <= length <= 128
limitPerType?integer

Maximum results returned per entity type. 0 selects the server default; the server clamps to a sane maximum.

Formatint32
Range0 <= value
applicationId?string|null

Optional application context. When set, app-scoped results (scopes, roles, service accounts, clients) are restricted to this application.

Lengthlength <= 64
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.SearchService/Search" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "results": [
    {
      "type": "SEARCH_RESULT_TYPE_UNSPECIFIED",
      "id": "app_prod_myapp",
      "title": "Production API",
      "subtitle": "prod-api",
      "applicationId": "app_prod_myapp"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}