objectiveai-sdk 2.0.8

ObjectiveAI SDK, definitions, and utilities
Documentation
{
  "title": "functions.executions.response.unary.FunctionExecutionTask",
  "description": "A complete function execution response (non-streaming).",
  "type": "object",
  "properties": {
    "created": {
      "description": "Unix timestamp when the execution was created.",
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "error": {
      "description": "Error details if the execution failed.",
      "anyOf": [
        {
          "$ref": "error.ResponseError"
        },
        {
          "type": "null"
        }
      ]
    },
    "function": {
      "description": "The function used (if remote).",
      "anyOf": [
        {
          "$ref": "RemotePath"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "description": "Unique identifier for this execution.",
      "type": "string"
    },
    "index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "object": {
      "description": "Object type identifier.",
      "$ref": "functions.executions.response.unary.Object"
    },
    "output": {
      "description": "The final output (scalar or vector score).",
      "$ref": "functions.executions.response.Output"
    },
    "profile": {
      "description": "The profile used (if remote).",
      "anyOf": [
        {
          "$ref": "RemotePath"
        },
        {
          "type": "null"
        }
      ]
    },
    "reasoning": {
      "description": "Reasoning summary if reasoning was enabled.",
      "anyOf": [
        {
          "$ref": "functions.executions.response.unary.ReasoningSummary"
        },
        {
          "type": "null"
        }
      ]
    },
    "retry_token": {
      "description": "Token for retrying this execution with cached votes.",
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "split_index": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 18446744073709551615
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "swiss_pool_index": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 18446744073709551615
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "swiss_round": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 18446744073709551615
        },
        {
          "type": "null"
        }
      ],
      "omitempty": true
    },
    "task_index": {
      "type": "integer",
      "minimum": 0,
      "maximum": 18446744073709551615
    },
    "task_path": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 18446744073709551615
      }
    },
    "tasks": {
      "description": "Results from each task in the function.",
      "type": "array",
      "items": {
        "$ref": "functions.executions.response.unary.Task"
      }
    },
    "tasks_errors": {
      "description": "Whether any tasks encountered errors.",
      "type": "boolean"
    },
    "usage": {
      "description": "Aggregated token and cost usage.",
      "$ref": "agent.completions.response.Usage"
    }
  }
}