InboundTrigger
AgentPrism.Abstractions.dllAn inbound trigger definition: an external event that starts a queued run.
public sealed record InboundTrigger : IEquatable<InboundTrigger>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A trigger is identified on the wire by TenantId +
Name (POST /api/triggers/{tenantId}/{name}). The
caller authenticates with an HMAC signature over the request body, the
same WebhookSigner contract the outbound webhooks use, in
the reverse direction.
SigningSecretConfigurationName is the configuration
KEY’S NAME, never the secret’s value. The value is resolved from
IConfiguration at request time and is never written to a database
or a file.
Constructors
Section titled “Constructors”InboundTrigger()
Section titled “ InboundTrigger()”public InboundTrigger()Properties
Section titled “Properties”CreatedAt
Section titled “ CreatedAt”The creation time (UTC).
public required DateTimeOffset CreatedAt { get; init; }Property Value
Section titled “Property Value”Enabled
Section titled “ Enabled”Whether the trigger accepts requests. A disabled trigger rejects every request.
public bool Enabled { get; init; }Property Value
Section titled “Property Value”The trigger identifier.
public Guid Id { get; init; }Property Value
Section titled “Property Value”The trigger name, unique within the tenant.
public required string Name { get; init; }Property Value
Section titled “Property Value”PayloadMode
Section titled “ PayloadMode”How the request body becomes the run’s message.
public InboundTriggerPayloadMode PayloadMode { get; init; }Property Value
Section titled “Property Value”PayloadPath
Section titled “ PayloadPath”The dotted path used when InboundTrigger.PayloadMode is InboundTriggerPayloadMode.Path; otherwise null.
public string? PayloadPath { get; init; }Property Value
Section titled “Property Value”SigningSecretConfigurationName
Section titled “ SigningSecretConfigurationName”The configuration KEY NAME of the signing secret. Never the value itself.
public required string SigningSecretConfigurationName { get; init; }Property Value
Section titled “Property Value”TargetKind
Section titled “ TargetKind”The kind of target the trigger starts.
public required InboundTriggerTargetKind TargetKind { get; init; }Property Value
Section titled “Property Value”TargetName
Section titled “ TargetName”The agent or workflow name to run.
public required string TargetName { get; init; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”The tenant the trigger belongs to.
public required string TenantId { get; init; }Property Value
Section titled “Property Value”UpdatedAt
Section titled “ UpdatedAt”The last-updated time (UTC).
public required DateTimeOffset UpdatedAt { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(InboundTrigger?)
Section titled “ Equals(InboundTrigger?)”public bool Equals(InboundTrigger? other)Parameters
Section titled “Parameters”other InboundTrigger?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(InboundTrigger?, InboundTrigger?)
Section titled “ operator ==(InboundTrigger?, InboundTrigger?)”public static bool operator ==(InboundTrigger? left, InboundTrigger? right)Parameters
Section titled “Parameters”left InboundTrigger?
right InboundTrigger?
Returns
Section titled “Returns”operator !=(InboundTrigger?, InboundTrigger?)
Section titled “ operator !=(InboundTrigger?, InboundTrigger?)”public static bool operator !=(InboundTrigger? left, InboundTrigger? right)Parameters
Section titled “Parameters”left InboundTrigger?
right InboundTrigger?