Skip to content

Table: federation_outbox

This table references:

ColumnTypeNullableNotes
iduuidnoDefault gen_random_uuid()
activity_iduuidnoReferences activities(id)
peer_iduuidnoReferences federation_peers(id)
target_user_urltextyes
statustextnoDefault 'queued'::text
attemptssmallintnoDefault 0
next_attempt_attimestampnoDefault now()
last_attempt_attimestampyes
last_errortextnoDefault ''::text
sent_attimestampyes
delivered_with_key_idtextyes
created_attimestampnoDefault now()
updated_attimestampnoDefault now()
was_encryptedbooleannoDefault false
sensitivitytextyes
refused_reasontextyes
  • CONSTRAINT federation_outbox_status_check CHECK ((status = ANY (ARRAY['queued'::text, 'sent'::text, 'failed'::text, 'cancelled'::text, 'refused'::text])))
CREATE TABLE public.federation_outbox (
id uuid DEFAULT gen_random_uuid() NOT NULL,
activity_id uuid NOT NULL,
peer_id uuid NOT NULL,
target_user_url text,
status text DEFAULT 'queued'::text NOT NULL,
attempts smallint DEFAULT 0 NOT NULL,
next_attempt_at timestamp with time zone DEFAULT now() NOT NULL,
last_attempt_at timestamp with time zone,
last_error text DEFAULT ''::text NOT NULL,
sent_at timestamp with time zone,
delivered_with_key_id text,
created_at timestamp with time zone DEFAULT now() NOT NULL,
updated_at timestamp with time zone DEFAULT now() NOT NULL,
was_encrypted boolean DEFAULT false NOT NULL,
sensitivity text,
refused_reason text,
CONSTRAINT federation_outbox_status_check CHECK ((status = ANY (ARRAY['queued'::text, 'sent'::text, 'failed'::text, 'cancelled'::text, 'refused'::text])))
);

Please see the schema overview for context. This document was last regenerated on 2026-07-26T08:25:29.520Z.