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"
]
}
'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"
]
}
'The question or topic this context entry addresses
"How do we handle user authentication in our application?"
The answer or detailed explanation for the question
"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 to categorize and help search this context entry
[
"authentication",
"security",
"api",
"sessions"
]Was this page helpful?