Substructure · JSON-LD Context

Substructure Context

JSON-LD context defining the semantic vocabulary for Substructure from Substructure.

46 Classes 64 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/
substructure: https://substructure.ai/schema#

Classes

GetResponse GetApiAdminSessionsResponse GetApiAdminSessionsSessionidResponse PostApiAdminSessionsSessionidAgUiConnectRequest PostApiAdminSessionsSessionidAgUiConnectResponse PostApiAdminSessionsSessionidCancelResponse PostApiAdminSessionsSessionidDeliveriesReaderResumeResponse GetApiAdminSessionsSessionidEventsResponse GetApiAdminSessionsSessionidEventsStreamResponse PostApiChannelsAgUiAgentsAgentidConnectRequest PostApiChannelsAgUiAgentsAgentidConnectResponse PostApiChannelsAgUiAgentsAgentidRunRequest PostApiClientSessionsInputRequest PostApiClientSessionsInputResponse GetApiClientSessionsSessionidResponse PostApiClientSessionsSessionidCancelResponse PostApiClientSessionsSessionidInterruptRequest PostApiClientSessionsSessionidInterruptResponse PostApiMachineClientTokensRequest PostApiMachineClientTokensResponse PostApiMachineSessionsSubmitRequest PostApiMachineSessionsSubmitResponse PostApiMachineSessionsSessionidCallsSettleRequest PostApiMachineSessionsSessionidCallsSettleResponse PostApiMachineSessionsSessionidCancelResponse GetApiMachineSessionsSessionidEventsStreamResponse PostApiMachineWorkersSubmitRequest PostApiMachineWorkersSubmitResponse GetApiV1OrgsResponse GetApiV1OrgsOrgProjectsResponse PostApiV1OrgsOrgProjectsRequest PostApiV1OrgsOrgProjectsResponse GetApiV1ProjectsProjectResponse PatchApiV1ProjectsProjectRequest PatchApiV1ProjectsProjectResponse GetApiV1ProjectsProjectAgentsResponse GetApiV1ProjectsProjectAgentsAgentResponse GetApiV1ProjectsProjectApiKeysResponse PostApiV1ProjectsProjectApiKeysRequest PostApiV1ProjectsProjectApiKeysResponse GetApiV1ProjectsProjectLlmResponse PutApiV1ProjectsProjectLlmBlockKeyRequest GetApiV1ProjectsProjectSecretsResponse GetApiV1ProjectsProjectSecretsPathResponse PostApiV1ProjectsProjectSecretsPathRotateResponse PostApiV1ProjectsProjectSessionsSessionidCancelResponse

Properties

Property Type Container
items list
next_cursor string
seq integer
first_event_at string
last_event_at string
state
threadId string
runId string
messages string
tools string
context string
resume string
event string
data string
ok boolean
resumed boolean
events list
stream string
session_id string
input
turn_id string
queued boolean
agent_id string
status string
interrupts list
message_tree
reason string
payload
interrupt_id string
identity
ttl_seconds integer
token string
expires_at integer
queue string
metadata
type string
id string
result string
error string
retryable string
code string
response string
decision_id string
actions string
agent string
name string
role string
organizationId string
project
createdAt string
balanceUsd string
sessionCount integer
config
workerUrl string
key_id string
label string
created_at string
last_used_at string
api_key string
baseUrl string
keyBound boolean
key string
path string
signingSecret string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://substructure.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "substructure": "https://substructure.ai/schema#",
    "GetResponse": "substructure:GetResponse",
    "items": {
      "@id": "substructure:items",
      "@container": "@list"
    },
    "next_cursor": {
      "@id": "substructure:next_cursor",
      "@type": "xsd:string"
    },
    "GetApiAdminSessionsResponse": "substructure:GetApiAdminSessionsResponse",
    "GetApiAdminSessionsSessionidResponse": "substructure:GetApiAdminSessionsSessionidResponse",
    "seq": {
      "@id": "substructure:seq",
      "@type": "xsd:integer"
    },
    "first_event_at": {
      "@id": "substructure:first_event_at",
      "@type": "xsd:string"
    },
    "last_event_at": {
      "@id": "substructure:last_event_at",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "substructure:state"
    },
    "PostApiAdminSessionsSessionidAgUiConnectRequest": "substructure:PostApiAdminSessionsSessionidAgUiConnectRequest",
    "threadId": {
      "@id": "substructure:threadId",
      "@type": "xsd:string"
    },
    "runId": {
      "@id": "substructure:runId",
      "@type": "xsd:string"
    },
    "messages": {
      "@id": "substructure:messages",
      "@type": "xsd:string"
    },
    "tools": {
      "@id": "substructure:tools",
      "@type": "xsd:string"
    },
    "context": {
      "@id": "substructure:context",
      "@type": "xsd:string"
    },
    "resume": {
      "@id": "substructure:resume",
      "@type": "xsd:string"
    },
    "PostApiAdminSessionsSessionidAgUiConnectResponse": "substructure:PostApiAdminSessionsSessionidAgUiConnectResponse",
    "event": {
      "@id": "substructure:event",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "substructure:data",
      "@type": "xsd:string"
    },
    "PostApiAdminSessionsSessionidCancelResponse": "substructure:PostApiAdminSessionsSessionidCancelResponse",
    "ok": {
      "@id": "substructure:ok",
      "@type": "xsd:boolean"
    },
    "PostApiAdminSessionsSessionidDeliveriesReaderResumeResponse": "substructure:PostApiAdminSessionsSessionidDeliveriesReaderResumeResponse",
    "resumed": {
      "@id": "substructure:resumed",
      "@type": "xsd:boolean"
    },
    "GetApiAdminSessionsSessionidEventsResponse": "substructure:GetApiAdminSessionsSessionidEventsResponse",
    "events": {
      "@id": "substructure:events",
      "@container": "@list"
    },
    "GetApiAdminSessionsSessionidEventsStreamResponse": "substructure:GetApiAdminSessionsSessionidEventsStreamResponse",
    "stream": {
      "@id": "substructure:stream",
      "@type": "xsd:string"
    },
    "PostApiChannelsAgUiAgentsAgentidConnectRequest": "substructure:PostApiChannelsAgUiAgentsAgentidConnectRequest",
    "PostApiChannelsAgUiAgentsAgentidConnectResponse": "substructure:PostApiChannelsAgUiAgentsAgentidConnectResponse",
    "PostApiChannelsAgUiAgentsAgentidRunRequest": "substructure:PostApiChannelsAgUiAgentsAgentidRunRequest",
    "PostApiClientSessionsInputRequest": "substructure:PostApiClientSessionsInputRequest",
    "session_id": {
      "@id": "substructure:session_id",
      "@type": "xsd:string"
    },
    "input": {
      "@id": "substructure:input"
    },
    "PostApiClientSessionsInputResponse": "substructure:PostApiClientSessionsInputResponse",
    "turn_id": {
      "@id": "substructure:turn_id",
      "@type": "xsd:string"
    },
    "queued": {
      "@id": "substructure:queued",
      "@type": "xsd:boolean"
    },
    "GetApiClientSessionsSessionidResponse": "substructure:GetApiClientSessionsSessionidResponse",
    "agent_id": {
      "@id": "substructure:agent_id",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "substructure:status",
      "@type": "xsd:string"
    },
    "interrupts": {
      "@id": "substructure:interrupts",
      "@container": "@list"
    },
    "message_tree": {
      "@id": "substructure:message_tree"
    },
    "PostApiClientSessionsSessionidCancelResponse": "substructure:PostApiClientSessionsSessionidCancelResponse",
    "PostApiClientSessionsSessionidInterruptRequest": "substructure:PostApiClientSessionsSessionidInterruptRequest",
    "reason": {
      "@id": "substructure:reason",
      "@type": "xsd:string"
    },
    "payload": {
      "@id": "substructure:payload"
    },
    "PostApiClientSessionsSessionidInterruptResponse": "substructure:PostApiClientSessionsSessionidInterruptResponse",
    "interrupt_id": {
      "@id": "substructure:interrupt_id",
      "@type": "xsd:string"
    },
    "PostApiMachineClientTokensRequest": "substructure:PostApiMachineClientTokensRequest",
    "identity": {
      "@id": "substructure:identity"
    },
    "ttl_seconds": {
      "@id": "substructure:ttl_seconds",
      "@type": "xsd:integer"
    },
    "PostApiMachineClientTokensResponse": "substructure:PostApiMachineClientTokensResponse",
    "token": {
      "@id": "substructure:token",
      "@type": "xsd:string"
    },
    "expires_at": {
      "@id": "substructure:expires_at",
      "@type": "xsd:integer"
    },
    "PostApiMachineSessionsSubmitRequest": "substructure:PostApiMachineSessionsSubmitRequest",
    "queue": {
      "@id": "substructure:queue",
      "@type": "xsd:string"
    },
    "metadata": {
      "@id": "substructure:metadata"
    },
    "PostApiMachineSessionsSubmitResponse": "substructure:PostApiMachineSessionsSubmitResponse",
    "PostApiMachineSessionsSessionidCallsSettleRequest": "substructure:PostApiMachineSessionsSessionidCallsSettleRequest",
    "type": {
      "@id": "substructure:type",
      "@type": "xsd:string"
    },
    "id": {
      "@id": "substructure:id",
      "@type": "xsd:string"
    },
    "result": {
      "@id": "substructure:result",
      "@type": "xsd:string"
    },
    "error": {
      "@id": "substructure:error",
      "@type": "xsd:string"
    },
    "retryable": {
      "@id": "substructure:retryable",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "substructure:code",
      "@type": "xsd:string"
    },
    "response": {
      "@id": "substructure:response",
      "@type": "xsd:string"
    },
    "PostApiMachineSessionsSessionidCallsSettleResponse": "substructure:PostApiMachineSessionsSessionidCallsSettleResponse",
    "PostApiMachineSessionsSessionidCancelResponse": "substructure:PostApiMachineSessionsSessionidCancelResponse",
    "GetApiMachineSessionsSessionidEventsStreamResponse": "substructure:GetApiMachineSessionsSessionidEventsStreamResponse",
    "PostApiMachineWorkersSubmitRequest": "substructure:PostApiMachineWorkersSubmitRequest",
    "decision_id": {
      "@id": "substructure:decision_id",
      "@type": "xsd:string"
    },
    "actions": {
      "@id": "substructure:actions",
      "@type": "xsd:string"
    },
    "agent": {
      "@id": "substructure:agent",
      "@type": "xsd:string"
    },
    "PostApiMachineWorkersSubmitResponse": "substructure:PostApiMachineWorkersSubmitResponse",
    "GetApiV1OrgsResponse": "substructure:GetApiV1OrgsResponse",
    "name": {
      "@id": "substructure:name",
      "@type": "xsd:string"
    },
    "role": {
      "@id": "substructure:role",
      "@type": "xsd:string"
    },
    "GetApiV1OrgsOrgProjectsResponse": "substructure:GetApiV1OrgsOrgProjectsResponse",
    "organizationId": {
      "@id": "substructure:organizationId",
      "@type": "xsd:string"
    },
    "PostApiV1OrgsOrgProjectsRequest": "substructure:PostApiV1OrgsOrgProjectsRequest",
    "PostApiV1OrgsOrgProjectsResponse": "substructure:PostApiV1OrgsOrgProjectsResponse",
    "project": {
      "@id": "substructure:project"
    },
    "GetApiV1ProjectsProjectResponse": "substructure:GetApiV1ProjectsProjectResponse",
    "createdAt": {
      "@id": "substructure:createdAt",
      "@type": "xsd:string"
    },
    "balanceUsd": {
      "@id": "substructure:balanceUsd",
      "@type": "xsd:string"
    },
    "sessionCount": {
      "@id": "substructure:sessionCount",
      "@type": "xsd:integer"
    },
    "PatchApiV1ProjectsProjectRequest": "substructure:PatchApiV1ProjectsProjectRequest",
    "PatchApiV1ProjectsProjectResponse": "substructure:PatchApiV1ProjectsProjectResponse",
    "GetApiV1ProjectsProjectAgentsResponse": "substructure:GetApiV1ProjectsProjectAgentsResponse",
    "config": {
      "@id": "substructure:config"
    },
    "workerUrl": {
      "@id": "substructure:workerUrl",
      "@type": "xsd:string"
    },
    "GetApiV1ProjectsProjectAgentsAgentResponse": "substructure:GetApiV1ProjectsProjectAgentsAgentResponse",
    "GetApiV1ProjectsProjectApiKeysResponse": "substructure:GetApiV1ProjectsProjectApiKeysResponse",
    "key_id": {
      "@id": "substructure:key_id",
      "@type": "xsd:string"
    },
    "label": {
      "@id": "substructure:label",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "substructure:created_at",
      "@type": "xsd:string"
    },
    "last_used_at": {
      "@id": "substructure:last_used_at",
      "@type": "xsd:string"
    },
    "PostApiV1ProjectsProjectApiKeysRequest": "substructure:PostApiV1ProjectsProjectApiKeysRequest",
    "PostApiV1ProjectsProjectApiKeysResponse": "substructure:PostApiV1ProjectsProjectApiKeysResponse",
    "api_key": {
      "@id": "substructure:api_key",
      "@type": "xsd:string"
    },
    "GetApiV1ProjectsProjectLlmResponse": "substructure:GetApiV1ProjectsProjectLlmResponse",
    "baseUrl": {
      "@id": "substructure:baseUrl",
      "@type": "xsd:string"
    },
    "keyBound": {
      "@id": "substructure:keyBound",
      "@type": "xsd:boolean"
    },
    "PutApiV1ProjectsProjectLlmBlockKeyRequest": "substructure:PutApiV1ProjectsProjectLlmBlockKeyRequest",
    "key": {
      "@id": "substructure:key",
      "@type": "xsd:string"
    },
    "GetApiV1ProjectsProjectSecretsResponse": "substructure:GetApiV1ProjectsProjectSecretsResponse",
    "path": {
      "@id": "substructure:path",
      "@type": "xsd:string"
    },
    "GetApiV1ProjectsProjectSecretsPathResponse": "substructure:GetApiV1ProjectsProjectSecretsPathResponse",
    "signingSecret": {
      "@id": "substructure:signingSecret",
      "@type": "xsd:string"
    },
    "PostApiV1ProjectsProjectSecretsPathRotateResponse": "substructure:PostApiV1ProjectsProjectSecretsPathRotateResponse",
    "PostApiV1ProjectsProjectSessionsSessionidCancelResponse": "substructure:PostApiV1ProjectsProjectSessionsSessionidCancelResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "Substructure API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Substructure'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-10-19) from openapi/_ae-authored/substructure-openapi-generated.yml.",
  "dcterms:created": "2026-10-19",
  "dcterms:source": [
    "openapi/_ae-authored/substructure-openapi-generated.yml"
  ]
}