Logs endpoints allow you to review log metadata, including relevant timestamps and statuses, or the actual payload. You must be assigned to the appropriate role to view or search log payloads.
You can retrieve a list of log metadata, search for specific data within log payloads, or retrieve a specific log payload for review.
Search payloads
Retrieve a list of log payloads based on the criteria you specify with query parameters.
Usually, the list is qualified by a specific time range, like if you want to see what kind of traffic has happened within the last 3 hours. If retrieving a large list of logs, we recommend setting a date range with updatedAfter and updatedBefore to improve query performance and ensure you retrieve an accurate dataset.
Only users assigned to support or engineer roles can search or view log payloads. Learn about roles.
cURL request example
Request Body Schema
- dataModelstring
Specifies that the logs to search are those with messages using the designated data model.
- serviceRegionstring
This field is required if your environment is configured with multiple regions.
Possible Values:AWS_USA_EAST_1
,AWS_CAN_CENTRAL
,GCP_USA_CENTRAL_1
- dateModestring
Indicates the type of log traffic to search (e.g.,
backfill
orrealtime
).Backfill traffic is typically historical data that populates your system prior to go-live with your connection. Real-time traffic is normal traffic that happens between you and your connection after go-live. By default, log searches only query your database for real-time traffic unless you set this parameter to
backfill
. Leaving this parameter blank maintains default behavior.Possible Values:realtime
,backfill
- eventTypestring
Specifies that the logs to search are those with messages using the designated event type.
- createdAfterstring
Used with
createdBefore
to set a date range for the logs to search, which we recommend if you plan to export large amounts of log metadata. This parameter designates that the creation date for the logs to search should be equal to or greater than the date and time in this format (YYYY-MM-DDThh:mm:ss.sssZ).Format: date-time - createdBeforestring
Used with
createdAfter
to set a date range for the logs to search, which we recommend if you plan to export large amounts of log metadata. This parameter designates that the creation date for the logs to search should be less than or equal to the date and time in this format (YYYY-MM-DDThh:mm:ss.sssZ).Format: date-time - sourceIdstring
Specifies that the logs to search are those with messages originating from the system with this unique identifier.
Format: uuid - destinationIdstring
Specifies that the logs to search are those with messages sent to the endpoint with this unique identifier.
Format: uuid - typestring
Specifies that the logs to search are those with the indicated type (
send
,receive
,request
,respond
, orunknown
).Possible Values:send
,receive
,request
,respond
,unknown
- statusstring
Specifies that the logs to search are those with the indicated status (i.e.,
succeeded
,failed
,filtered
, orpending
).Possible Values:succeeded
,failed
,filtered
,pending
- searchTermsArray of object
Contains any keywords you want to use to search log content by. You can include one term per search.
- valuestring
Contains the value that you're searching for in the log metadata.
- categorystring
Specifies that the logs to search are those with the indicated category. By default, if you indicate
null
, it means that the logs to search are those explicitly with no category.Possible Values:patient
,provider
,visit
,record
,metadata
,null
Describes the format of a request to perform a log search.
- metaobject
Contains the metadata information for the returned results, including version and pagination information.
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- pageobject
Contains the pagination data for the returned results.
- currentPageinteger
Displays the current page number of returned results you're viewing.
- pageTypestring
Displays the type of pagination supported for the returned results. Currently, we only support the
offset
type, which determines the page number by taking the page size and offsetting the number of records from the start. - pageSizeinteger
Displays the number of results included in each page.
- linksobject
Contains the related pagination links for the returned results.
- selfstring
Links to the current page of results.
- nextstring
Links to the next page of results.
- firststring
Links to the first page of results.
- payloadobject
Contains the payload returned for
Search Logs
.- resultsobject
Indicates the beginning of the payload results returned for
Search Logs
, which includes the match categories for each result.- idstring
Displays the unique identifier for the specific log, which you can use for reference or for a
Get log
search.Format: uuid - createdAtstring
Displays the date and time that the log was originally created in ISO 8601 format, which is associated with the date and time that the related data exchange took place.
- updatedAtstring
Displays the date and time that the log was last updated in ISO 8601 format.
- dataModelstring
Indicates which data model was used in the data exchange that triggered the creation of the log.
This is the same as the
Meta.DataModel
field in our data models (https://developer.redoxengine.com/data-models/). - eventTypestring
Indicates which event type was used in the data exchange that triggered the creation of the log.
This is the same as the
Meta.EventType
field in our data models (https://developer.redoxengine.com/data-models/). - statusstring
Indicates the current status of the log [i.e.,
succeeded
,failed
,filtered
,pending
].Possible Values:succeeded
,failed
,filtered
,pending
- typestring
Indicates the type of data exchange that initiated the log (i.e.,
send
,receive
,request
,respond
,unknown
.Possible Values:send
,receive
,request
,respond
,unknown
- sourceobject
Contains the details for the system that initiated the message associated with the log.
- idstring
Displays the unique identifier for the system that initiated the message.
Format: uuid - namestring
Displays the name of the system that initiated the message.
- organizationobject
Contains the details about the Redox organization associated with this log.
- idinteger
Identifies the specific Redox organization that you're operating in or on behalf of.
- namestring
Displays the human readable name of the Redox organization.
- destinationobject
Contains the details for the intended endpoint of the message.
- idstring
Displays the unique identifier of the system containing the endpoint that the message was directed to.
Format: uuid - namestring
Displays the name of the endpoint that the message was directed to.
- organizationobject
Contains the details about the Redox organization associated with this log.
- idinteger
Identifies the specific Redox organization that you're operating in or on behalf of.
- namestring
Displays the human readable name of the Redox organization.
- matchCategoriesArray of string
Identifies the category that the matched search term belongs to (e.g.,
patient
,provider
,visit
,record
,metadata
,null
)
Contains the payload and metadata returned for Search Logs
.