Skip to main content
PATCH
/
v1
/
admin
/
organizations
/
{orgId}
/
context
/
{contextId}
Update a context entry for an organization (admin)
curl --request PATCH \
  --url http://localhost:3333/v1/admin/organizations/{orgId}/context/{contextId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "question": "How do we handle user authentication in our application?",
  "answer": "We use a hybrid authentication system supporting both API keys and session-based authentication. API keys are used for programmatic access while sessions are used for web interface interactions.",
  "tags": [
    "authentication",
    "security",
    "api",
    "sessions"
  ]
}
'

Path Parameters

orgId
string
required
contextId
string
required

Body

application/json
question
string

The question or topic this context entry addresses

Example:

"How do we handle user authentication in our application?"

answer
string

The answer or detailed explanation for the question

Example:

"We use a hybrid authentication system supporting both API keys and session-based authentication. API keys are used for programmatic access while sessions are used for web interface interactions."

tags
string[]

Tags to categorize and help search this context entry

Example:
[
"authentication",
"security",
"api",
"sessions"
]

Response

200 - undefined