Analyze any text input—messages, journal entries, surveys, essays, chat logs—and generate:
mutation CreateAnalysis {
createAnalysis(input: {
user: string,
text: string,
context: string,
model: "gemini" | "gpt-5"
}) {
id
context
created_at
model
response
score
text
updated_at
user
}
}
query GetAnalysis {
getAnalysis(id: string) {
id
context
created_at
model
response
score
text
updated_at
user
}
}
query ListAnalyses {
listAnalyses(
created_to: String
created_from: String
score: Int
page_token: String
page_size: Int
user: String
model: String
) {
next_page_token
analyses {
id
context
created_at
model
response
score
text
updated_at
user
}
}
}
Allow human moderators or clinicians to provide structured feedback to improve the model for their specific tenant.
Examples of feedback:
Provides a framework for tenant-specific adaptation, ensuring the model reflects the needs and context of each organization’s population.This endpoint is the foundation of per-tenant customization, gradually shaping the model to align with that organization’s cultural, linguistic, or demographic patterns.
mutation CreateFeedback {
createFeedback(
input: {
model: String
build: String
input: String!
feedback: String!
analyze: String!
scale: String!
_id: ID!
}
) {
id
analyze
created_at
feedback
model
response
score
text
updated_at
user
}
}
query ListFeedbacks {
listFeedbacks(analyze: String!, page_size: Int, page_token: String) {
next_page_token
feedbacks {
id
analyze
created_at
feedback
model
response
score
text
updated_at
user
}
}
}
Enable organizations to define their own risk scale based on their internal protocols or compliance requirements.
Examples:
mutation CreateRiskCategory {
createRiskCategory(input: { label: String!, scale: Int!, description: String! }) {
id
label
scale
description
}
}
query ListRiskCategories { ListRiskCategories(label: String, scale: Int, id: ID) { next_page_token riskCategories { id label scale description } } }