Plane docs
ApiSchemas

InlineHookAuth

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

Used by agents.create, agents.promote, agents.update, agents.upsert, agents.versions

Referenced from InlineHook, McpToolConfig

JSON Schema

{
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "none"
          ]
        }
      },
      "required": [
        "type"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "bearer"
          ]
        },
        "secret": {
          "$ref": "#/components/schemas/ProviderName"
        }
      },
      "required": [
        "type",
        "secret"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "header"
          ]
        },
        "header": {
          "type": "string",
          "minLength": 1
        },
        "secret": {
          "$ref": "#/components/schemas/ProviderName"
        }
      },
      "required": [
        "type",
        "header",
        "secret"
      ],
      "additionalProperties": false
    }
  ]
}

On this page