ScaledThought · JSON-LD Context

Scaledthought Com Context

JSON-LD context defining the semantic vocabulary for Scaledthought Com from ScaledThought.

23 Classes 79 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
scaledthought: https://scaledthought.com/schema#

Classes

Error AnthropicError CreateAccountInput CreateKeyInput DeleteAccountInput UpdateAccountInput SetOwnerEmailInput UpdateKeyInput RotateKeyInput UsageQuery TopupInput AutoReloadSetupInput DashboardLinkInput DeviceCodeInput DeviceTokenInput UpdateAutoReloadInput BillingStatus TopupCreated Topup TransactionsPage CreateWebhookInput CreateBatchInput UsageEvent

Properties

Property Type Container
error
type
request_id string
region string
name string
email string
source string
ad_click string
env string
scopes list
daily_budget_usd decimal
rpm_limit integer
tpm_limit integer
expires_in string
expires_at dateTime
child boolean
lives_in string
confirm string
ad_measurement boolean
grace string
days integer
group_by string
amount_usd decimal
auto_reload
threshold_usd decimal
monthly_limit_usd decimal
page string
client_label string
origin string
device_code string
connect_code string
enabled boolean
balance_usd decimal
pending_topups list
recent_transactions list
topup_id string
kind string
approval_url string
instructions string
terms_version string
terms_url string
refund_policy_url string
status string
created_at string
completed_at string
failure_code string
object string
data list
next_cursor string
url reference
events list
input_file_id string
endpoint string
completion_window string
metadata
key_id string
account_id string
model string
routed_from string
prompt_tokens integer
cached_tokens integer
completion_tokens integer
cost_micros integer
estimated boolean
ttft_ms
duration_ms integer
upstream_kind
upstream_provider
upstream_replica_id
modality
audio_input_ms
audio_output_ms
input_characters
video_seconds
video_resolution
app
tool_calls
tool_calls_invalid
drain_cut boolean

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://scaledthought.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "scaledthought": "https://scaledthought.com/schema#",
    "Error": "scaledthought:Error",
    "error": {
      "@id": "scaledthought:error"
    },
    "AnthropicError": "scaledthought:AnthropicError",
    "type": {
      "@id": "scaledthought:type"
    },
    "request_id": {
      "@id": "scaledthought:request_id",
      "@type": "xsd:string"
    },
    "CreateAccountInput": "scaledthought:CreateAccountInput",
    "region": {
      "@id": "scaledthought:region",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "scaledthought:name",
      "@type": "xsd:string"
    },
    "email": {
      "@id": "scaledthought:email",
      "@type": "xsd:string"
    },
    "source": {
      "@id": "scaledthought:source",
      "@type": "xsd:string"
    },
    "ad_click": {
      "@id": "scaledthought:ad_click",
      "@type": "xsd:string"
    },
    "CreateKeyInput": "scaledthought:CreateKeyInput",
    "env": {
      "@id": "scaledthought:env",
      "@type": "xsd:string"
    },
    "scopes": {
      "@id": "scaledthought:scopes",
      "@container": "@list"
    },
    "daily_budget_usd": {
      "@id": "scaledthought:daily_budget_usd",
      "@type": "xsd:decimal"
    },
    "rpm_limit": {
      "@id": "scaledthought:rpm_limit",
      "@type": "xsd:integer"
    },
    "tpm_limit": {
      "@id": "scaledthought:tpm_limit",
      "@type": "xsd:integer"
    },
    "expires_in": {
      "@id": "scaledthought:expires_in",
      "@type": "xsd:string"
    },
    "expires_at": {
      "@id": "scaledthought:expires_at",
      "@type": "xsd:dateTime"
    },
    "child": {
      "@id": "scaledthought:child",
      "@type": "xsd:boolean"
    },
    "lives_in": {
      "@id": "scaledthought:lives_in",
      "@type": "xsd:string"
    },
    "DeleteAccountInput": "scaledthought:DeleteAccountInput",
    "confirm": {
      "@id": "scaledthought:confirm",
      "@type": "xsd:string"
    },
    "UpdateAccountInput": "scaledthought:UpdateAccountInput",
    "ad_measurement": {
      "@id": "scaledthought:ad_measurement",
      "@type": "xsd:boolean"
    },
    "SetOwnerEmailInput": "scaledthought:SetOwnerEmailInput",
    "UpdateKeyInput": "scaledthought:UpdateKeyInput",
    "RotateKeyInput": "scaledthought:RotateKeyInput",
    "grace": {
      "@id": "scaledthought:grace",
      "@type": "xsd:string"
    },
    "UsageQuery": "scaledthought:UsageQuery",
    "days": {
      "@id": "scaledthought:days",
      "@type": "xsd:integer"
    },
    "group_by": {
      "@id": "scaledthought:group_by",
      "@type": "xsd:string"
    },
    "TopupInput": "scaledthought:TopupInput",
    "amount_usd": {
      "@id": "scaledthought:amount_usd",
      "@type": "xsd:decimal"
    },
    "auto_reload": {
      "@id": "scaledthought:auto_reload"
    },
    "AutoReloadSetupInput": "scaledthought:AutoReloadSetupInput",
    "threshold_usd": {
      "@id": "scaledthought:threshold_usd",
      "@type": "xsd:decimal"
    },
    "monthly_limit_usd": {
      "@id": "scaledthought:monthly_limit_usd",
      "@type": "xsd:decimal"
    },
    "DashboardLinkInput": "scaledthought:DashboardLinkInput",
    "page": {
      "@id": "scaledthought:page",
      "@type": "xsd:string"
    },
    "DeviceCodeInput": "scaledthought:DeviceCodeInput",
    "client_label": {
      "@id": "scaledthought:client_label",
      "@type": "xsd:string"
    },
    "origin": {
      "@id": "scaledthought:origin",
      "@type": "xsd:string"
    },
    "DeviceTokenInput": "scaledthought:DeviceTokenInput",
    "device_code": {
      "@id": "scaledthought:device_code",
      "@type": "xsd:string"
    },
    "connect_code": {
      "@id": "scaledthought:connect_code",
      "@type": "xsd:string"
    },
    "UpdateAutoReloadInput": "scaledthought:UpdateAutoReloadInput",
    "enabled": {
      "@id": "scaledthought:enabled",
      "@type": "xsd:boolean"
    },
    "BillingStatus": "scaledthought:BillingStatus",
    "balance_usd": {
      "@id": "scaledthought:balance_usd",
      "@type": "xsd:decimal"
    },
    "pending_topups": {
      "@id": "scaledthought:pending_topups",
      "@container": "@list"
    },
    "recent_transactions": {
      "@id": "scaledthought:recent_transactions",
      "@container": "@list"
    },
    "TopupCreated": "scaledthought:TopupCreated",
    "topup_id": {
      "@id": "scaledthought:topup_id",
      "@type": "xsd:string"
    },
    "kind": {
      "@id": "scaledthought:kind",
      "@type": "xsd:string"
    },
    "approval_url": {
      "@id": "scaledthought:approval_url",
      "@type": "xsd:string"
    },
    "instructions": {
      "@id": "scaledthought:instructions",
      "@type": "xsd:string"
    },
    "terms_version": {
      "@id": "scaledthought:terms_version",
      "@type": "xsd:string"
    },
    "terms_url": {
      "@id": "scaledthought:terms_url",
      "@type": "xsd:string"
    },
    "refund_policy_url": {
      "@id": "scaledthought:refund_policy_url",
      "@type": "xsd:string"
    },
    "Topup": "scaledthought:Topup",
    "status": {
      "@id": "scaledthought:status",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "scaledthought:created_at",
      "@type": "xsd:string"
    },
    "completed_at": {
      "@id": "scaledthought:completed_at",
      "@type": "xsd:string"
    },
    "failure_code": {
      "@id": "scaledthought:failure_code",
      "@type": "xsd:string"
    },
    "TransactionsPage": "scaledthought:TransactionsPage",
    "object": {
      "@id": "scaledthought:object",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "scaledthought:data",
      "@container": "@list"
    },
    "next_cursor": {
      "@id": "scaledthought:next_cursor",
      "@type": "xsd:string"
    },
    "CreateWebhookInput": "scaledthought:CreateWebhookInput",
    "url": {
      "@id": "scaledthought:url",
      "@type": "@id"
    },
    "events": {
      "@id": "scaledthought:events",
      "@container": "@list"
    },
    "CreateBatchInput": "scaledthought:CreateBatchInput",
    "input_file_id": {
      "@id": "scaledthought:input_file_id",
      "@type": "xsd:string"
    },
    "endpoint": {
      "@id": "scaledthought:endpoint",
      "@type": "xsd:string"
    },
    "completion_window": {
      "@id": "scaledthought:completion_window",
      "@type": "xsd:string"
    },
    "metadata": {
      "@id": "scaledthought:metadata"
    },
    "UsageEvent": "scaledthought:UsageEvent",
    "key_id": {
      "@id": "scaledthought:key_id",
      "@type": "xsd:string"
    },
    "account_id": {
      "@id": "scaledthought:account_id",
      "@type": "xsd:string"
    },
    "model": {
      "@id": "scaledthought:model",
      "@type": "xsd:string"
    },
    "routed_from": {
      "@id": "scaledthought:routed_from",
      "@type": "xsd:string"
    },
    "prompt_tokens": {
      "@id": "scaledthought:prompt_tokens",
      "@type": "xsd:integer"
    },
    "cached_tokens": {
      "@id": "scaledthought:cached_tokens",
      "@type": "xsd:integer"
    },
    "completion_tokens": {
      "@id": "scaledthought:completion_tokens",
      "@type": "xsd:integer"
    },
    "cost_micros": {
      "@id": "scaledthought:cost_micros",
      "@type": "xsd:integer"
    },
    "estimated": {
      "@id": "scaledthought:estimated",
      "@type": "xsd:boolean"
    },
    "ttft_ms": {
      "@id": "scaledthought:ttft_ms"
    },
    "duration_ms": {
      "@id": "scaledthought:duration_ms",
      "@type": "xsd:integer"
    },
    "upstream_kind": {
      "@id": "scaledthought:upstream_kind"
    },
    "upstream_provider": {
      "@id": "scaledthought:upstream_provider"
    },
    "upstream_replica_id": {
      "@id": "scaledthought:upstream_replica_id"
    },
    "modality": {
      "@id": "scaledthought:modality"
    },
    "audio_input_ms": {
      "@id": "scaledthought:audio_input_ms"
    },
    "audio_output_ms": {
      "@id": "scaledthought:audio_output_ms"
    },
    "input_characters": {
      "@id": "scaledthought:input_characters"
    },
    "video_seconds": {
      "@id": "scaledthought:video_seconds"
    },
    "video_resolution": {
      "@id": "scaledthought:video_resolution"
    },
    "app": {
      "@id": "scaledthought:app"
    },
    "tool_calls": {
      "@id": "scaledthought:tool_calls"
    },
    "tool_calls_invalid": {
      "@id": "scaledthought:tool_calls_invalid"
    },
    "drain_cut": {
      "@id": "scaledthought:drain_cut",
      "@type": "xsd:boolean"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "ScaledThought API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects ScaledThought'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-23) from openapi/scaledthought-com-openapi.json.",
  "dcterms:created": "2026-11-23",
  "dcterms:source": [
    "openapi/scaledthought-com-openapi.json"
  ]
}