Trajectory · Schema

CreateResponseResult

CompanyArtificial IntelligenceContinual LearningEnterprisePlatform

Properties

Name Type Description
id string
object string
created_at number
status string
model string
output array
usage object
incomplete_details object
instructions object
metadata object
parallel_tool_calls object
previous_response_id object
tool_choice object
tools object
View JSON Schema on GitHub

JSON Schema

trajectory-create-response-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trajectory/json-schema/trajectory-create-response-result-schema.json",
  "title": "CreateResponseResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trajectory-inference-api-openapi.yml#/components/schemas/CreateResponseResult",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "object": {
      "type": "string",
      "title": "Object"
    },
    "created_at": {
      "type": "number",
      "title": "Created At"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "model": {
      "type": "string",
      "title": "Model"
    },
    "output": {
      "items": {
        "anyOf": [
          {
            "$ref": "#/$defs/ResponseOutputMessage"
          },
          {
            "$ref": "#/$defs/ResponseFunctionToolCall"
          },
          {
            "$ref": "#/$defs/ResponseReasoningItem"
          }
        ]
      },
      "type": "array",
      "title": "Output"
    },
    "usage": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResponseUsage"
        },
        {
          "type": "null"
        }
      ]
    },
    "incomplete_details": {
      "anyOf": [
        {
          "$ref": "#/$defs/ResponseIncompleteDetails"
        },
        {
          "type": "null"
        }
      ]
    },
    "instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Instructions"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    },
    "parallel_tool_calls": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parallel Tool Calls"
    },
    "previous_response_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Response Id"
    },
    "tool_choice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tool Choice"
    },
    "tools": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ResponseFunctionTool"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tools"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "id",
    "object",
    "created_at",
    "status",
    "model",
    "output"
  ],
  "$defs": {
    "ResponseContainerFileCitation": {
      "properties": {
        "container_id": {
          "type": "string",
          "title": "Container Id"
        },
        "end_index": {
          "type": "integer",
          "title": "End Index"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "start_index": {
          "type": "integer",
          "title": "Start Index"
        },
        "type": {
          "type": "string",
          "const": "container_file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "container_id",
        "end_index",
        "file_id",
        "filename",
        "start_index",
        "type"
      ],
      "title": "ResponseContainerFileCitation"
    },
    "ResponseFileCitation": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "filename": {
          "type": "string",
          "title": "Filename"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_citation",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "filename",
        "index",
        "type"
      ],
      "title": "ResponseFileCitation"
    },
    "ResponseFilePath": {
      "properties": {
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "index": {
          "type": "integer",
          "title": "Index"
        },
        "type": {
          "type": "string",
          "const": "file_path",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "file_id",
        "index",
        "type"
      ],
      "title": "ResponseFilePath"
    },
    "ResponseFunctionTool": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "function",
          "title": "Type"
        },
        "parameters": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Parameters"
        },
        "strict": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Strict"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "name",
        "type"
      ],
      "title": "ResponseFunctionTool"
    },
    "ResponseFunctionToolCall": {
      "properties": {
        "arguments": {
          "type": "string",
          "title": "Arguments"
        },
        "call_id": {
          "type": "string",
          "title": "Call Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "type": {
          "type": "string",
          "const": "function_call",
          "title": "Type"
        },
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "status": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "in_progress",
                "completed",
                "incomplete"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "arguments",
        "call_id",
        "name",
        "type"
      ],
      "title": "ResponseFunctionToolCall"
    },
    "ResponseIncompleteDetails": {
      "properties": {
        "reason": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "max_output_tokens",
                "content_filter"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "ResponseIncompleteDetails"
    },
    "ResponseInputTokensDetails": {
      "properties": {
        "cached_tokens": {
          "type": "integer",
          "title": "Cached Tokens"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "cached_tokens"
      ],
      "title": "ResponseInputTokensDetails"
    },
    "ResponseOutputLogprob": {
      "properties": {
        "token": {
          "type": "string",
          "title": "Token"
        },
        "bytes": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Bytes"
        },
        "logprob": {
          "type": "number",
          "title": "Logprob"
        },
        "top_logprobs": {
          "items": {
            "$ref": "#/$defs/ResponseOutputLogprobTopLogprob"
          },
          "type": "array",
          "title": "Top Logprobs"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "token",
        "bytes",
        "logprob",
        "top_logprobs"
      ],
      "title": "ResponseOutputLogprob"
    },
    "ResponseOutputLogprobTopLogprob": {
      "properties": {
        "token": {
          "type": "string",
          "title": "Token"
        },
        "bytes": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Bytes"
        },
        "logprob": {
          "type": "number",
          "title": "Logprob"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "token",
        "bytes",
        "logprob"
      ],
      "title": "ResponseOutputLogprobTopLogprob"
    },
    "ResponseOutputMessage": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "content": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/ResponseOutputText"
              },
              {
                "$ref": "#/$defs/ResponseOutputRefusal"
              }
            ]
          },
          "type": "array",
          "title": "Content"
        },
        "role": {
          "type": "string",
          "const": "assistant",
          "title": "Role"
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "completed",
            "incomplete"
          ],
          "title": "Status"
        },
        "type": {
          "type": "string",
          "const": "message",
          "title": "Type"
        },
        "phase": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "commentary",
                "final_answer"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Phase"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "content",
        "role",
        "status",
        "type"
      ],
      "title": "ResponseOutputMessage"
    },
    "ResponseOutputRefusal": {
      "properties": {
        "refusal": {
          "type": "string",
          "title": "Refusal"
        },
        "type": {
          "type": "string",
          "const": "refusal",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "refusal",
        "type"
      ],
      "title": "ResponseOutputRefusal"
    },
    "ResponseOutputText": {
      "properties": {
        "annotations": {
          "items": {
            "anyOf": [
              {
                "$ref": "#/$defs/ResponseFileCitation"
              },
              {
                "$ref": "#/$defs/ResponseUrlCitation"
              },
              {
                "$ref": "#/$defs/ResponseContainerFileCitation"
              },
              {
                "$ref": "#/$defs/ResponseFilePath"
              }
            ]
          },
          "type": "array",
          "title": "Annotations"
        },
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "output_text",
          "title": "Type"
        },
        "logprobs": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/ResponseOutputLogprob"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Logprobs"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "annotations",
        "text",
        "type"
      ],
      "title": "ResponseOutputText"
    },
    "ResponseOutputTokensDetails": {
      "properties": {
        "reasoning_tokens": {
          "type": "integer",
          "title": "Reasoning Tokens"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "reasoning_tokens"
      ],
      "title": "ResponseOutputTokensDetails"
    },
    "ResponseReasoningItem": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "summary": {
          "items": {
            "$ref": "#/$defs/ResponseReasoningSummary"
          },
          "type": "array",
          "title": "Summary"
        },
        "type": {
          "type": "string",
          "const": "reasoning",
          "title": "Type"
        },
        "content": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/ResponseReasoningText"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Content"
        },
        "encrypted_content": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Encrypted Content"
        },
        "status": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "in_progress",
                "completed",
                "incomplete"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "id",
        "summary",
        "type"
      ],
      "title": "ResponseReasoningItem"
    },
    "ResponseReasoningSummary": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "summary_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ResponseReasoningSummary"
    },
    "ResponseReasoningText": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "type": {
          "type": "string",
          "const": "reasoning_text",
          "title": "Type"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "text",
        "type"
      ],
      "title": "ResponseReasoningText"
    },
    "ResponseUrlCitation": {
      "properties": {
        "end_index": {
          "type": "integer",
          "title": "End Index"
        },
        "start_index": {
          "type": "integer",
          "title": "Start Index"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "type": {
          "type": "string",
          "const": "url_citation",
          "title": "Type"
        },
        "url": {
          "type": "string",
          "title": "Url"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "end_index",
        "start_index",
        "title",
        "type",
        "url"
      ],
      "title": "ResponseUrlCitation"
    },
    "ResponseUsage": {
      "properties": {
        "input_tokens": {
          "type": "integer",
          "title": "Input Tokens"
        },
        "input_tokens_details": {
          "$ref": "#/$defs/ResponseInputTokensDetails"
        },
        "output_tokens": {
          "type": "integer",
          "title": "Output Tokens"
        },
        "output_tokens_details": {
          "$ref": "#/$defs/ResponseOutputTokensDetails"
        },
        "total_tokens": {
          "type": "integer",
          "title": "Total Tokens"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "input_tokens",
        "input_tokens_details",
        "output_tokens",
        "output_tokens_details",
        "total_tokens"
      ],
      "title": "ResponseUsage"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/trajectory-create-response-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.