Document Type Introspection API?

Is there an API available (published or unpublished) to introspect documents defined in the Integration Server?

Using a document type name I need to determine the structure of the document including field names and types.

Thanks,
Fred

Hi Fred,

Did you find something for this? I am looking for the same.