Skip to main content
PATCH
https://your-rootprint-host
/
api
/
indexes
/
{indexId}
Update index display configuration
curl --request PATCH \
  --url https://your-rootprint-host/api/indexes/{indexId} \
  --header 'Content-Type: application/json' \
  --cookie better-auth.session_token= \
  --data '
{
  "displayName": "<string>",
  "levelField": "<string>",
  "messageField": "<string>",
  "tracebackField": "<string>",
  "contextFields": [
    "<string>"
  ]
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "statusCode": 123,
    "requestId": "<string>",
    "details": [
      {
        "path": "<string>",
        "message": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

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

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Path Parameters

indexId
string
required

Quickwit index ID.

Minimum string length: 1

Body

application/json
displayName
string | null
Maximum string length: 128
visibility
enum<string>
Available options:
hidden,
admin,
all
levelField
string
Minimum string length: 1
messageField
string
Minimum string length: 1
tracebackField
string | null
Minimum string length: 1
contextFields
string[] | null

Response

Configuration updated.