StremAI · JSON-LD Context
Stremai Com Context
JSON-LD context defining the semantic vocabulary for Stremai Com from StremAI.
43 Classes
172 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
stremai:
https://stremai.com/schema#
Classes
AgentInsightsResponse
AgentStepResponse
AgentTraceDetailResponse
AgentTraceResponse
ApiKeyResponse
AuthResponse
ChatCompletionRequest
ChatMessage
CreateApiKeyRequest
CreateApiKeyResponse
CreateInviteRequest
CreateModelVersionRequest
CreateTenantRequest
CreateTenantResponse
DailyRevenue
DailySaving
EligibleClusterResponse
FunctionDef
HTTPValidationError
InviteResponse
LoginRequest
MicroModelResponse
ModelInfo
ModelSavings
ModelVersionResponse
ModelsListResponse
OptimizationBreakdown
PlatformStatsResponse
RequestLogResponse
ResponseFormat
RevenueResponse
RevenueScenario
SavingsBreakdownResponse
SignupRequest
StatsResponse
TenantRevenue
TenantStatsResponse
ToolDef
TrainingJobResponse
TriggerTrainingRequest
ValidationError
WaitlistEntryResponse
WaitlistRequest
Properties
| Property | Type | Container |
|---|---|---|
| total_traces | integer | |
| completed_count | integer | |
| failed_count | integer | |
| avg_steps | decimal | |
| avg_eval_score | ||
| avg_latency_ms | decimal | |
| avg_cost_usd | decimal | |
| failure_step_distribution | ||
| id | string | |
| step_number | integer | |
| step_type | string | |
| model_used | ||
| tool_name | ||
| tool_success | ||
| input_summary | ||
| output_summary | ||
| latency_ms | integer | |
| cost_usd | decimal | |
| tokens_used | integer | |
| status | string | |
| failure_reason | ||
| quality_score | ||
| created_at | string | |
| session_id | string | |
| task_hint | ||
| total_steps | integer | |
| completed_steps | integer | |
| failed_step | ||
| total_latency_ms | integer | |
| total_cost_usd | decimal | |
| total_tokens | integer | |
| eval_score | ||
| finalized_at | ||
| steps | list | |
| eval_details | ||
| key_prefix | string | |
| name | string | |
| is_active | boolean | |
| last_used_at | ||
| access_token | string | |
| token_type | string | |
| tenant_id | string | |
| string | ||
| api_key | ||
| model | string | |
| messages | list | |
| temperature | ||
| top_p | ||
| n | ||
| stream | ||
| stop | ||
| max_tokens | ||
| presence_penalty | ||
| frequency_penalty | ||
| logit_bias | ||
| user | ||
| tools | ||
| tool_choice | ||
| response_format | ||
| seed | ||
| role | string | |
| content | ||
| tool_calls | ||
| tool_call_id | ||
| key | string | |
| message | string | |
| max_uses | integer | |
| gateway_model_id | string | |
| provider_model_id | string | |
| provider | string | |
| notes | ||
| company | ||
| date | string | |
| platform_fee_usd | decimal | |
| request_count | integer | |
| savings_usd | decimal | |
| category | string | |
| total_requests | integer | |
| training_data_count | integer | |
| monthly_cost_usd | decimal | |
| estimated_savings_usd | decimal | |
| payback_days | ||
| primary_model_used | ||
| is_trainable | boolean | |
| auto_train_eligible | boolean | |
| description | ||
| parameters | ||
| detail | list | |
| code | string | |
| times_used | integer | |
| password | string | |
| task_cluster_id | string | |
| cluster_name | ||
| version | integer | |
| base_model | string | |
| adapter_type | string | |
| training_examples | integer | |
| training_cost_usd | decimal | |
| training_duration_seconds | ||
| accuracy | ||
| teacher_model | ||
| traffic_percent | decimal | |
| rollout_stage | ||
| total_requests_served | integer | |
| total_savings_generated_usd | decimal | |
| payback_achieved | boolean | |
| updated_at | string | |
| object | string | |
| created | integer | |
| owned_by | string | |
| request_model | string | |
| total_savings_usd | decimal | |
| avg_savings_per_request | decimal | |
| sample_count | integer | |
| avg_quality_score | ||
| quality_pass_rate | ||
| latency_p50_ms | ||
| latency_p99_ms | ||
| evaluated_at | ||
| promoted_at | ||
| data | list | |
| optimization_type | string | |
| total_tenants | integer | |
| total_revenue_usd | decimal | |
| total_platform_fees_usd | decimal | |
| active_micro_models | integer | |
| waitlist_count | integer | |
| routed_model | string | |
| was_optimized | boolean | |
| used_micro_model | boolean | |
| prompt_tokens | integer | |
| completion_tokens | integer | |
| original_cost_usd | decimal | |
| charged_cost_usd | decimal | |
| type | string | |
| total_potential_fees_usd | decimal | |
| daily_revenue | list | |
| revenue_by_tenant | list | |
| scenarios | list | |
| share_percent | decimal | |
| projected_monthly_revenue | decimal | |
| savings_rate | decimal | |
| daily_savings | list | |
| by_optimization_type | list | |
| top_models_saved_on | list | |
| invite_code | string | |
| savings_percent | decimal | |
| requests_today | integer | |
| cost_today | decimal | |
| savings_today | decimal | |
| tier | string | |
| platform_revenue_usd | decimal | |
| optimization_enabled | boolean | |
| function | reference | |
| micro_model_id | ||
| error_message | ||
| lora_rank | integer | |
| epochs | integer | |
| learning_rate | decimal | |
| train_examples | integer | |
| eval_examples | integer | |
| external_job_id | ||
| weights_path | ||
| training_loss | ||
| eval_loss | ||
| started_at | ||
| completed_at | ||
| cluster_id | string | |
| loc | list | |
| msg | string | |
| use_case | ||
| invited | boolean |
JSON-LD Document
{
"@context": {
"@vocab": "https://stremai.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"stremai": "https://stremai.com/schema#",
"AgentInsightsResponse": "stremai:AgentInsightsResponse",
"total_traces": {
"@id": "stremai:total_traces",
"@type": "xsd:integer"
},
"completed_count": {
"@id": "stremai:completed_count",
"@type": "xsd:integer"
},
"failed_count": {
"@id": "stremai:failed_count",
"@type": "xsd:integer"
},
"avg_steps": {
"@id": "stremai:avg_steps",
"@type": "xsd:decimal"
},
"avg_eval_score": {
"@id": "stremai:avg_eval_score"
},
"avg_latency_ms": {
"@id": "stremai:avg_latency_ms",
"@type": "xsd:decimal"
},
"avg_cost_usd": {
"@id": "stremai:avg_cost_usd",
"@type": "xsd:decimal"
},
"failure_step_distribution": {
"@id": "stremai:failure_step_distribution"
},
"AgentStepResponse": "stremai:AgentStepResponse",
"id": {
"@id": "stremai:id",
"@type": "xsd:string"
},
"step_number": {
"@id": "stremai:step_number",
"@type": "xsd:integer"
},
"step_type": {
"@id": "stremai:step_type",
"@type": "xsd:string"
},
"model_used": {
"@id": "stremai:model_used"
},
"tool_name": {
"@id": "stremai:tool_name"
},
"tool_success": {
"@id": "stremai:tool_success"
},
"input_summary": {
"@id": "stremai:input_summary"
},
"output_summary": {
"@id": "stremai:output_summary"
},
"latency_ms": {
"@id": "stremai:latency_ms",
"@type": "xsd:integer"
},
"cost_usd": {
"@id": "stremai:cost_usd",
"@type": "xsd:decimal"
},
"tokens_used": {
"@id": "stremai:tokens_used",
"@type": "xsd:integer"
},
"status": {
"@id": "stremai:status",
"@type": "xsd:string"
},
"failure_reason": {
"@id": "stremai:failure_reason"
},
"quality_score": {
"@id": "stremai:quality_score"
},
"created_at": {
"@id": "stremai:created_at",
"@type": "xsd:string"
},
"AgentTraceDetailResponse": "stremai:AgentTraceDetailResponse",
"session_id": {
"@id": "stremai:session_id",
"@type": "xsd:string"
},
"task_hint": {
"@id": "stremai:task_hint"
},
"total_steps": {
"@id": "stremai:total_steps",
"@type": "xsd:integer"
},
"completed_steps": {
"@id": "stremai:completed_steps",
"@type": "xsd:integer"
},
"failed_step": {
"@id": "stremai:failed_step"
},
"total_latency_ms": {
"@id": "stremai:total_latency_ms",
"@type": "xsd:integer"
},
"total_cost_usd": {
"@id": "stremai:total_cost_usd",
"@type": "xsd:decimal"
},
"total_tokens": {
"@id": "stremai:total_tokens",
"@type": "xsd:integer"
},
"eval_score": {
"@id": "stremai:eval_score"
},
"finalized_at": {
"@id": "stremai:finalized_at"
},
"steps": {
"@id": "stremai:steps",
"@container": "@list"
},
"eval_details": {
"@id": "stremai:eval_details"
},
"AgentTraceResponse": "stremai:AgentTraceResponse",
"ApiKeyResponse": "stremai:ApiKeyResponse",
"key_prefix": {
"@id": "stremai:key_prefix",
"@type": "xsd:string"
},
"name": {
"@id": "stremai:name",
"@type": "xsd:string"
},
"is_active": {
"@id": "stremai:is_active",
"@type": "xsd:boolean"
},
"last_used_at": {
"@id": "stremai:last_used_at"
},
"AuthResponse": "stremai:AuthResponse",
"access_token": {
"@id": "stremai:access_token",
"@type": "xsd:string"
},
"token_type": {
"@id": "stremai:token_type",
"@type": "xsd:string"
},
"tenant_id": {
"@id": "stremai:tenant_id",
"@type": "xsd:string"
},
"email": {
"@id": "stremai:email",
"@type": "xsd:string"
},
"api_key": {
"@id": "stremai:api_key"
},
"ChatCompletionRequest": "stremai:ChatCompletionRequest",
"model": {
"@id": "stremai:model",
"@type": "xsd:string"
},
"messages": {
"@id": "stremai:messages",
"@container": "@list"
},
"temperature": {
"@id": "stremai:temperature"
},
"top_p": {
"@id": "stremai:top_p"
},
"n": {
"@id": "stremai:n"
},
"stream": {
"@id": "stremai:stream"
},
"stop": {
"@id": "stremai:stop"
},
"max_tokens": {
"@id": "stremai:max_tokens"
},
"presence_penalty": {
"@id": "stremai:presence_penalty"
},
"frequency_penalty": {
"@id": "stremai:frequency_penalty"
},
"logit_bias": {
"@id": "stremai:logit_bias"
},
"user": {
"@id": "stremai:user"
},
"tools": {
"@id": "stremai:tools"
},
"tool_choice": {
"@id": "stremai:tool_choice"
},
"response_format": {
"@id": "stremai:response_format"
},
"seed": {
"@id": "stremai:seed"
},
"ChatMessage": "stremai:ChatMessage",
"role": {
"@id": "stremai:role",
"@type": "xsd:string"
},
"content": {
"@id": "stremai:content"
},
"tool_calls": {
"@id": "stremai:tool_calls"
},
"tool_call_id": {
"@id": "stremai:tool_call_id"
},
"CreateApiKeyRequest": "stremai:CreateApiKeyRequest",
"CreateApiKeyResponse": "stremai:CreateApiKeyResponse",
"key": {
"@id": "stremai:key",
"@type": "xsd:string"
},
"message": {
"@id": "stremai:message",
"@type": "xsd:string"
},
"CreateInviteRequest": "stremai:CreateInviteRequest",
"max_uses": {
"@id": "stremai:max_uses",
"@type": "xsd:integer"
},
"CreateModelVersionRequest": "stremai:CreateModelVersionRequest",
"gateway_model_id": {
"@id": "stremai:gateway_model_id",
"@type": "xsd:string"
},
"provider_model_id": {
"@id": "stremai:provider_model_id",
"@type": "xsd:string"
},
"provider": {
"@id": "stremai:provider",
"@type": "xsd:string"
},
"notes": {
"@id": "stremai:notes"
},
"CreateTenantRequest": "stremai:CreateTenantRequest",
"company": {
"@id": "stremai:company"
},
"CreateTenantResponse": "stremai:CreateTenantResponse",
"DailyRevenue": "stremai:DailyRevenue",
"date": {
"@id": "stremai:date",
"@type": "xsd:string"
},
"platform_fee_usd": {
"@id": "stremai:platform_fee_usd",
"@type": "xsd:decimal"
},
"request_count": {
"@id": "stremai:request_count",
"@type": "xsd:integer"
},
"DailySaving": "stremai:DailySaving",
"savings_usd": {
"@id": "stremai:savings_usd",
"@type": "xsd:decimal"
},
"EligibleClusterResponse": "stremai:EligibleClusterResponse",
"category": {
"@id": "stremai:category",
"@type": "xsd:string"
},
"total_requests": {
"@id": "stremai:total_requests",
"@type": "xsd:integer"
},
"training_data_count": {
"@id": "stremai:training_data_count",
"@type": "xsd:integer"
},
"monthly_cost_usd": {
"@id": "stremai:monthly_cost_usd",
"@type": "xsd:decimal"
},
"estimated_savings_usd": {
"@id": "stremai:estimated_savings_usd",
"@type": "xsd:decimal"
},
"payback_days": {
"@id": "stremai:payback_days"
},
"primary_model_used": {
"@id": "stremai:primary_model_used"
},
"is_trainable": {
"@id": "stremai:is_trainable",
"@type": "xsd:boolean"
},
"auto_train_eligible": {
"@id": "stremai:auto_train_eligible",
"@type": "xsd:boolean"
},
"FunctionDef": "stremai:FunctionDef",
"description": {
"@id": "stremai:description"
},
"parameters": {
"@id": "stremai:parameters"
},
"HTTPValidationError": "stremai:HTTPValidationError",
"detail": {
"@id": "stremai:detail",
"@container": "@list"
},
"InviteResponse": "stremai:InviteResponse",
"code": {
"@id": "stremai:code",
"@type": "xsd:string"
},
"times_used": {
"@id": "stremai:times_used",
"@type": "xsd:integer"
},
"LoginRequest": "stremai:LoginRequest",
"password": {
"@id": "stremai:password",
"@type": "xsd:string"
},
"MicroModelResponse": "stremai:MicroModelResponse",
"task_cluster_id": {
"@id": "stremai:task_cluster_id",
"@type": "xsd:string"
},
"cluster_name": {
"@id": "stremai:cluster_name"
},
"version": {
"@id": "stremai:version",
"@type": "xsd:integer"
},
"base_model": {
"@id": "stremai:base_model",
"@type": "xsd:string"
},
"adapter_type": {
"@id": "stremai:adapter_type",
"@type": "xsd:string"
},
"training_examples": {
"@id": "stremai:training_examples",
"@type": "xsd:integer"
},
"training_cost_usd": {
"@id": "stremai:training_cost_usd",
"@type": "xsd:decimal"
},
"training_duration_seconds": {
"@id": "stremai:training_duration_seconds"
},
"accuracy": {
"@id": "stremai:accuracy"
},
"teacher_model": {
"@id": "stremai:teacher_model"
},
"traffic_percent": {
"@id": "stremai:traffic_percent",
"@type": "xsd:decimal"
},
"rollout_stage": {
"@id": "stremai:rollout_stage"
},
"total_requests_served": {
"@id": "stremai:total_requests_served",
"@type": "xsd:integer"
},
"total_savings_generated_usd": {
"@id": "stremai:total_savings_generated_usd",
"@type": "xsd:decimal"
},
"payback_achieved": {
"@id": "stremai:payback_achieved",
"@type": "xsd:boolean"
},
"updated_at": {
"@id": "stremai:updated_at",
"@type": "xsd:string"
},
"ModelInfo": "stremai:ModelInfo",
"object": {
"@id": "stremai:object",
"@type": "xsd:string"
},
"created": {
"@id": "stremai:created",
"@type": "xsd:integer"
},
"owned_by": {
"@id": "stremai:owned_by",
"@type": "xsd:string"
},
"ModelSavings": "stremai:ModelSavings",
"request_model": {
"@id": "stremai:request_model",
"@type": "xsd:string"
},
"total_savings_usd": {
"@id": "stremai:total_savings_usd",
"@type": "xsd:decimal"
},
"avg_savings_per_request": {
"@id": "stremai:avg_savings_per_request",
"@type": "xsd:decimal"
},
"ModelVersionResponse": "stremai:ModelVersionResponse",
"sample_count": {
"@id": "stremai:sample_count",
"@type": "xsd:integer"
},
"avg_quality_score": {
"@id": "stremai:avg_quality_score"
},
"quality_pass_rate": {
"@id": "stremai:quality_pass_rate"
},
"latency_p50_ms": {
"@id": "stremai:latency_p50_ms"
},
"latency_p99_ms": {
"@id": "stremai:latency_p99_ms"
},
"evaluated_at": {
"@id": "stremai:evaluated_at"
},
"promoted_at": {
"@id": "stremai:promoted_at"
},
"ModelsListResponse": "stremai:ModelsListResponse",
"data": {
"@id": "stremai:data",
"@container": "@list"
},
"OptimizationBreakdown": "stremai:OptimizationBreakdown",
"optimization_type": {
"@id": "stremai:optimization_type",
"@type": "xsd:string"
},
"PlatformStatsResponse": "stremai:PlatformStatsResponse",
"total_tenants": {
"@id": "stremai:total_tenants",
"@type": "xsd:integer"
},
"total_revenue_usd": {
"@id": "stremai:total_revenue_usd",
"@type": "xsd:decimal"
},
"total_platform_fees_usd": {
"@id": "stremai:total_platform_fees_usd",
"@type": "xsd:decimal"
},
"active_micro_models": {
"@id": "stremai:active_micro_models",
"@type": "xsd:integer"
},
"waitlist_count": {
"@id": "stremai:waitlist_count",
"@type": "xsd:integer"
},
"RequestLogResponse": "stremai:RequestLogResponse",
"routed_model": {
"@id": "stremai:routed_model",
"@type": "xsd:string"
},
"was_optimized": {
"@id": "stremai:was_optimized",
"@type": "xsd:boolean"
},
"used_micro_model": {
"@id": "stremai:used_micro_model",
"@type": "xsd:boolean"
},
"prompt_tokens": {
"@id": "stremai:prompt_tokens",
"@type": "xsd:integer"
},
"completion_tokens": {
"@id": "stremai:completion_tokens",
"@type": "xsd:integer"
},
"original_cost_usd": {
"@id": "stremai:original_cost_usd",
"@type": "xsd:decimal"
},
"charged_cost_usd": {
"@id": "stremai:charged_cost_usd",
"@type": "xsd:decimal"
},
"ResponseFormat": "stremai:ResponseFormat",
"type": {
"@id": "stremai:type",
"@type": "xsd:string"
},
"RevenueResponse": "stremai:RevenueResponse",
"total_potential_fees_usd": {
"@id": "stremai:total_potential_fees_usd",
"@type": "xsd:decimal"
},
"daily_revenue": {
"@id": "stremai:daily_revenue",
"@container": "@list"
},
"revenue_by_tenant": {
"@id": "stremai:revenue_by_tenant",
"@container": "@list"
},
"scenarios": {
"@id": "stremai:scenarios",
"@container": "@list"
},
"RevenueScenario": "stremai:RevenueScenario",
"share_percent": {
"@id": "stremai:share_percent",
"@type": "xsd:decimal"
},
"projected_monthly_revenue": {
"@id": "stremai:projected_monthly_revenue",
"@type": "xsd:decimal"
},
"SavingsBreakdownResponse": "stremai:SavingsBreakdownResponse",
"savings_rate": {
"@id": "stremai:savings_rate",
"@type": "xsd:decimal"
},
"daily_savings": {
"@id": "stremai:daily_savings",
"@container": "@list"
},
"by_optimization_type": {
"@id": "stremai:by_optimization_type",
"@container": "@list"
},
"top_models_saved_on": {
"@id": "stremai:top_models_saved_on",
"@container": "@list"
},
"SignupRequest": "stremai:SignupRequest",
"invite_code": {
"@id": "stremai:invite_code",
"@type": "xsd:string"
},
"StatsResponse": "stremai:StatsResponse",
"savings_percent": {
"@id": "stremai:savings_percent",
"@type": "xsd:decimal"
},
"requests_today": {
"@id": "stremai:requests_today",
"@type": "xsd:integer"
},
"cost_today": {
"@id": "stremai:cost_today",
"@type": "xsd:decimal"
},
"savings_today": {
"@id": "stremai:savings_today",
"@type": "xsd:decimal"
},
"tier": {
"@id": "stremai:tier",
"@type": "xsd:string"
},
"TenantRevenue": "stremai:TenantRevenue",
"platform_revenue_usd": {
"@id": "stremai:platform_revenue_usd",
"@type": "xsd:decimal"
},
"TenantStatsResponse": "stremai:TenantStatsResponse",
"optimization_enabled": {
"@id": "stremai:optimization_enabled",
"@type": "xsd:boolean"
},
"ToolDef": "stremai:ToolDef",
"function": {
"@id": "stremai:function",
"@type": "@id"
},
"TrainingJobResponse": "stremai:TrainingJobResponse",
"micro_model_id": {
"@id": "stremai:micro_model_id"
},
"error_message": {
"@id": "stremai:error_message"
},
"lora_rank": {
"@id": "stremai:lora_rank",
"@type": "xsd:integer"
},
"epochs": {
"@id": "stremai:epochs",
"@type": "xsd:integer"
},
"learning_rate": {
"@id": "stremai:learning_rate",
"@type": "xsd:decimal"
},
"train_examples": {
"@id": "stremai:train_examples",
"@type": "xsd:integer"
},
"eval_examples": {
"@id": "stremai:eval_examples",
"@type": "xsd:integer"
},
"external_job_id": {
"@id": "stremai:external_job_id"
},
"weights_path": {
"@id": "stremai:weights_path"
},
"training_loss": {
"@id": "stremai:training_loss"
},
"eval_loss": {
"@id": "stremai:eval_loss"
},
"started_at": {
"@id": "stremai:started_at"
},
"completed_at": {
"@id": "stremai:completed_at"
},
"TriggerTrainingRequest": "stremai:TriggerTrainingRequest",
"cluster_id": {
"@id": "stremai:cluster_id",
"@type": "xsd:string"
},
"ValidationError": "stremai:ValidationError",
"loc": {
"@id": "stremai:loc",
"@container": "@list"
},
"msg": {
"@id": "stremai:msg",
"@type": "xsd:string"
},
"WaitlistEntryResponse": "stremai:WaitlistEntryResponse",
"use_case": {
"@id": "stremai:use_case"
},
"invited": {
"@id": "stremai:invited",
"@type": "xsd:boolean"
},
"WaitlistRequest": "stremai:WaitlistRequest"
},
"@type": "schema:Dataset",
"schema:name": "StremAI API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects StremAI's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-26) from openapi/stremai-com-openapi.json.",
"dcterms:created": "2026-11-26",
"dcterms:source": [
"openapi/stremai-com-openapi.json"
]
}