sending Graph Node
Root Set Name: sendings
Fields
category | StringValue |
createdAt | DateTimeOffsetValue |
data | DynamicFieldsValue |
dynamic | DynamicFieldsValue |
errorMessage | StringValue |
lastModified | DateTimeOffsetValue The last time this node was updated. Note that this timestamp does not guarantee any actual changes to the node, but it's guaranteed to update if there are actual changes. |
processedAt | DateTimeOffsetValue |
recipient | StringValue |
retryCount | IntValue |
sendingId | UuidValue |
sentAt | DateTimeOffsetValue |
status | ClrEnumValue`1 |
transport | ClrEnumValue`1 |
Edges
| Name | Type | Cardinality |
|---|
Query Sending records through the Graph API to monitor email delivery status, track failures, and analyze communication patterns.
INFO
New to Sendings? See the Sendings resource documentation for an overview of what Sendings are, how they work, and how to create them.
TIP
For a complete field reference, use the Graph metadata endpoint: GET /resources/graph/meta and look for the sending node type.
Common Query Patterns
Monitor Recent Activity
Track recently sent emails across your system:
What this does: Returns the 50 most recent sendings from October 29th onwards, ordered by creation time.
Find Failed Deliveries
Identify emails that failed to deliver:
What this does: Returns all bounced emails with their error messages and retry counts.
Query by Category
Filter sendings by their category (e.g., password resets, order confirmations):
What this does: Returns the 100 most recently sent order confirmation emails.
Monitor Pending Queue
Check the current queue depth to monitor system health:
What this does: Returns two counts: pending emails in queue and successfully sent emails today.
Integration with Custom Fields
Sending records include a dynamic field that stores custom data passed when creating the sending. You can define custom Graph fields to query this data:
Define a Custom Field
uri: /resources/registry/graph/sending/fields/orderId
spec:
value:
type: text
source: dynamic->'orderId'Query Using Custom Field
What this does: Finds all emails sent related to a specific order.
Working with Status Values
The status field tracks the lifecycle of each sending:
pending: Queued, waiting to be processedsent: Successfully delivered to mail serverbounced: Delivery failed after retries exhaustedcancelled: Cancelled before processing (via REST API)
The cancelledAt field stores the timestamp when a sending was cancelled. Only pending sendings can be cancelled using the DELETE /resources/sendings/{id} REST endpoint.
Example: Monitoring delivery rates
Transport Types
The transport field indicates the communication channel:
email: Email delivery (currently supported)sms: SMS delivery (future)push: Push notification (future)
Currently, only email transport is implemented.
Authorization
Required Permissions:
graph/sending:query # Query sendings
graph/sending:field # Access individual fieldsINFO
See Access Control for more on permission patterns.
Cancelled Sendings
Query cancelled sendings to track cancellation activity:
What this does: Returns the 20 most recently cancelled sendings.
Related Resources
- Sendings Resource - Overview of the Sending resource and REST API
- Sending Emails Guide - Complete guide to sending emails
- resources.sendEmail() Function - Filtrera function for sending emails
- Graph API Overview - Learn more about querying with Graph