Skip to main content
POST

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json

Context entry data

question
string
required

The question or topic this context entry addresses

Example:

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

answer
string
required

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:

Response

Context entry created successfully

id
string
organizationId
string
question
string
answer
string
tags
string[]
createdAt
string<date-time>
updatedAt
string<date-time>
authType
enum<string>
Available options:
api-key,
session