v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-15367117899.6 KB
Context

Create a new context entry

Creates a new context entry for the authenticated organization. All required fields must be provided.

post/v1/context

Request body

questionstring required

The question or topic this context entry addresses

answerstring required

The answer or detailed explanation for the question

tagsstring[]

Tags to categorize and help search this context entry

Example request

{
  "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"
  ]
}

Response

Context entry created successfully

idstring
organizationIdstring
questionstring
answerstring
tagsstring[]
createdAtstring date-time
updatedAtstring date-time
authType'api-key' | 'session'