Agent

Create a prospective (future-triggered) intention

T374. "Remember to remember" -- delivered into the agent_boot PUSH slot when the trigger fires.

post/api/agent/intentions

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/agent/intentions
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

agentstring

Omit to fire for any agent's boot in this tenant.

trigger_type'event' | 'condition' | 'time' required
trigger_specobject required
payload_context_idinteger required
reasonstring
expires_atstring date-time

Response

Created intention.

idinteger
tenantIdinteger
agentIdinteger nullable

Null = fires for any agent's boot in this tenant.

triggerType'event' | 'condition' | 'time'
triggerSpecobject
payloadContextIdinteger
reasonstring nullable
createdByinteger nullable
status'active' | 'fired' | 'delivered' | 'expired' | 'cancelled'
createdAtstring date-time
firedAtstring date-time nullable
deliveredAtstring date-time nullable
expiresAtstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.