Structured Intake Agent
The Structured Intake Agent connects XML, JSON, and SOAP data to DCH, either from files you upload or from remote HTTP endpoints. It reads the structure of the data, flattens it into entities, and hands those to DCH.
Like every agent, it is built on the Intake Agent Core and shares the Home, Data Preview, and Data Jobs screens described there. It adds four screens of its own:
- Local Data Sources: files you upload.
- Remote Data Sources: HTTP endpoints the agent calls.
- Data Source Configurations: which entities from those sources DCH imports.
- Authentications: reusable credentials for remote sources.
A data source describes where the data comes from. A configuration describes what DCH takes from it. One data source can feed several configurations.
How structured data becomes entities
Nested XML and JSON are flattened into one entity per level of nesting, joined by two synthetic columns the agent adds:
dch__index: a row number for the entity.dch__index_<parent>: the parent row this row belongs to.
So a response with records nested inside a wrapper yields a parent entity and a child entity, linked on those columns. You will see them in the entity's property list and in DCH.
A few parsing rules are worth knowing:
- XML namespace prefixes are stripped.
<soap:Envelope>is parsed as<Envelope>. This is how SOAP responses are read: as ordinary XML, with no special handling for the envelope or body. Elements that share a local name across different namespaces collapse into the same entity. - A top-level JSON array is wrapped. A payload that begins with
[becomes an entity namedcontent. - JSON entities are named after their source. The root entity takes the uploaded file's name for a local source, and the data source's Name for a remote one. XML entities are named after their elements.
Local Data Sources
The list shows each file's Name, Format, its size under Details, and who created and last changed it. Click Add New to upload.

Choose the File Format (Xml, Json, or Soap), use Choose Files to pick up to ten files, then select Save. Files may be up to 100 MB each. Each file becomes its own data source, which takes its name from the file and cannot be renamed. A file whose name already exists is not uploaded. Save also caches the schema and preview rows.
The format you pick is overridden by the file's own content type when you upload. In practice a SOAP file always arrives as Xml. To get a source with format Soap, upload it, then reopen it with Edit and change File Format there.
Editing lets you change the format and shows the cached schema. Deleting asks you to confirm.
You cannot replace the file of a local source. To use a new version, you have to delete the source and upload the file again. Deleting a source is not blocked when configurations use it, and the confirmation does not warn you. The configurations keep its entities, with Unknown as their Data Source. Imports, Refresh Properties and Bypass cached preview then fail with an error, while Data Preview still shows the cached rows, so a preview alone does not reveal the problem. Add the entities of the new source to those configurations again.
Remote Data Sources
A remote data source is an HTTP endpoint. The list shows its Name, URL, and when it was last changed, and offers three actions: Edit, Copy, and Delete.
Copy opens the Add window pre-filled from the original, with (copy) appended to the name. It copies the request setup but not the cached schema, so you must run Test again on the copy.
The window opens with Name, Data Format, and URL above three tabs. The info button next to the URL explains the expressions you can use.
Do not rename a remote JSON source that configurations use. Its entities are named after it, so a rename changes their names too. Configurations then no longer find them, and those entities are skipped with no error in the UI.
Connection

- Authentication: Optional. Pick one of the entries from the Authentications screen.
- Timeout (seconds): Between 1 and 600. Defaults to 30 when left empty.
- Ignore untrusted SSL certificates: Only for trusted internal endpoints using self-signed certificates.
Requests

- HTTP Method:
GetorPost. - Content-Type: Defaults to match the data format, so
application/json,application/xml, ortext/xml; charset=utf-8for SOAP. You can type your own. - Request Body: Only for
Post. - Custom Headers: Any headers the endpoint needs.
Choosing Soap as the data format sets the method to Post, sets the SOAP content type, and adds an empty SOAPAction header for you. If the SOAP version in your request body disagrees with the content type, the tab warns you and suggests the fix.
Request variations
One data source can issue several requests. Each variation adds a query string, and optionally its own request body, to the base URL. Turn on Include base request to call the bare URL as well, before the variations. A variation can be switched off with its checkbox, and is then skipped.
Variations make placeholders concrete. Any ${name} in the URL, query string or body becomes a parameter of the variation, and Resolved URL Preview shows the result. For example, https://api.example.com/items/${id} gets a parameter id, which can expand into many requests:
| Parameter value | Requests |
|---|---|
1-10 | a range |
a,b,c | a list |
1-3,7,10-12 | a combination |
One variation may expand to at most 100 requests, counting all combinations of its parameters. Parameter values are URL-escaped, also in a request body.
URLs, query strings, and bodies also accept date expressions, resolved when the request runs: ${today:yyyy-MM-dd}, ${yesterday:...}, ${now:...}, ${utcnow:...}, and offsets such as ${today-3:...} or ${now+7:...}.
Every variation must return the same entities and the same shape as the base request. They are merged into one schema.
Source Entities
This tab is read-only. It shows the schema that was last saved from a test run, with its time and number of entities, and says No schema cached until you run one.
Testing and saving the schema
Test opens the Test Variations window, where you select the requests to run and press Run Selected. Each one reports how many entities it found and how long it took, and lets you inspect the parsed rows (Preview data) or the raw response (View raw response).

If every selected request succeeds and returns entities, the merged Discovered Schema appears and Save Schema becomes available. Press it to cache the schema, including up to ten preview rows per entity. For a new data source, this only takes effect when you also Save the source. If any request fails, the failure is shown with its error and raw response, and Save Schema stays hidden.
The Validate before saving checkbox, on by default, re-runs the variations when you press Save and refuses to save the data source if any of them fail.
A cached schema is not required to build a configuration: picking entities falls back to fetching the source live. But if there is one, picking entities and Refresh Properties use it rather than the source, and Preview Data stays empty without it.
Imports always read live data. If the structure of the source has changed, run Test and Save Schema again, and then refresh the entities in your configurations, so that DCH sees the new columns.
Data Source Configurations
A configuration selects entities from one or more data sources for DCH to import. The list shows Name, Slug, Enabled, the number of Entities, Batch Size, and Created.
The Enabled switch in the list does not save anything: the change is lost when you reload. To enable or disable a configuration, use Edit.
Click Add Configuration and give it a Name. The Slug is generated from the name as you type, and stops following it the moment you edit the slug yourself. A slug may contain only lowercase letters, digits, and hyphens. Job Batch Size defaults to 1000. Enabled decides whether the configuration is offered to DCH.
This also applies when you edit an existing configuration: changing its name generates a new slug, even though DCH refers to the configuration by its slug. Check Slug before you save.
Then press Add to choose entities.

Pick a Data Source, local or remote, and the agent lists the entities it offers. Select the ones you want.
Add config name as entity prefix renames the selected entities to <configuration name>_<entity> as DCH sees them. Use it when two configurations would otherwise contribute entities with the same name. The prefix uses the saved name of the configuration, so it has no effect until you have saved a new configuration once.
Each entity in the configuration can be refreshed against its source's schema, previewed, renamed, or removed. Source Entity shows its original name in the source. Saving checks that the name and slug are unique and that the slug is well formed.
A renamed or prefixed entity must still be found under its original name. This fails for XML and SOAP sources that had no cached schema when you picked the entity: the entity is skipped during imports, with no error in the UI. Run Test and Save Schema first.
You can set an Order By on an entity, but the agent does not use it to sort.
Authentications
Authentications hold credentials that remote data sources reuse. The list shows each one's Name, Type, and a summary under Details: the username, the first 20 characters of the bearer token, or the client ID and token endpoint.

Give it a Name and pick an Authentication Type:
- Basic: Username and Password.
- BearerToken: the Bearer Token, plus an optional X-API-Key. A leading
Beareris stripped for you, so pasting the whole header value is safe. - OAuth2ClientCredentials: Client ID, Client Secret, and Token Endpoint, plus an optional Scope (empty means the provider's defaults) and an optional X-API-Key. Test Connection fetches a token and reports whether it worked, without saving anything.
Deleting an authentication is not blocked when remote data sources still use it. Those sources keep a reference that no longer resolves, and their requests then go out with no authentication at all rather than failing.
Access tokens for OAuth2ClientCredentials are cached in memory. After changing a client secret or token endpoint, the old token may keep being used until it expires.
Data Preview
The Structured Intake Agent supports the shared Data Preview screen. It serves the preview rows cached with the schema. Local sources cache them when you upload. For a remote source, run Test and Save Schema, then refresh the entity or save the configuration to update its preview.