Plane docs
ApiSchemas

AgentNotPromotableEncoded

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

Used by agents.promote

JSON Schema

{
  "type": "object",
  "properties": {
    "_tag": {
      "type": "string",
      "enum": [
        "AgentNotPromotable"
      ]
    },
    "agentId": {
      "$ref": "#/components/schemas/AgentId"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "no_slug"
          ]
        }
      ]
    }
  },
  "required": [
    "_tag",
    "agentId",
    "reason"
  ],
  "additionalProperties": false
}

On this page