Plane docs
ApiSchemas

ModelRequestStartedEvent

One shape from the contract, as it appears on the wire.

Used by sessions.annotate, sessions.events, sessions.send

JSON Schema

{
  "type": "object",
  "properties": {
    "seq": {
      "$ref": "#/components/schemas/EventSeq"
    },
    "sessionId": {
      "$ref": "#/components/schemas/SessionId"
    },
    "at": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "model.request.started"
      ]
    },
    "requestId": {
      "$ref": "#/components/schemas/RequestId"
    },
    "model": {
      "type": "string",
      "minLength": 1
    },
    "provider": {
      "type": "string",
      "minLength": 1
    },
    "attempt": {
      "type": "integer",
      "minimum": 1
    },
    "reasoning": {
      "$ref": "#/components/schemas/ReasoningLevel"
    },
    "retryOf": {
      "$ref": "#/components/schemas/RequestId"
    },
    "consumedUpTo": {
      "$ref": "#/components/schemas/EventSeq"
    }
  },
  "required": [
    "seq",
    "sessionId",
    "at",
    "type",
    "requestId",
    "model"
  ],
  "additionalProperties": false
}

On this page