---
sidebar:
  label: roboto.experimental.ingest
  order: 0
title: roboto.experimental.ingest
---
Declarations of the topic data an uploaded file carries, which Roboto registers without opening the file.

A declaration states each topic's name, its [`Schema`](/docs/reference/python-sdk/roboto/experimental/ingest#roboto.experimental.ingest.Schema), the timeline sources its data carries with their bounds, and the files a read of the topic opens. Pass [`TopicDeclaration`](/docs/reference/python-sdk/roboto/experimental/ingest#roboto.experimental.ingest.TopicDeclaration) objects to a [`SessionFile`](/docs/reference/python-sdk/roboto/experimental/sessions#roboto.experimental.sessions.SessionFile) to declare a file's topics as part of a session, [`FileTopicDeclaration`](/docs/reference/python-sdk/roboto/experimental/ingest#roboto.experimental.ingest.FileTopicDeclaration) to [`declare_topics()`](/docs/reference/python-sdk/roboto/domain/files#roboto.domain.files.File.declare_topics) to declare them without naming a session, and [`TopicRepresentations`](/docs/reference/python-sdk/roboto/experimental/ingest#roboto.experimental.ingest.TopicRepresentations) to [`set_representations()`](/docs/reference/python-sdk/roboto/domain/files#roboto.domain.files.File.set_representations) to replace the files a read of a topic opens.

## Submodules

- [roboto.experimental.ingest.operations](/docs/reference/python-sdk/roboto/experimental/ingest/operations)
- [roboto.experimental.ingest.schema](/docs/reference/python-sdk/roboto/experimental/ingest/schema)

## Package Contents

- [DeclaredTimelineSource](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.DeclaredTimelineSource) (data): Timeline source of any kind, with the bounds it spans in one file.

- [Field](/docs/reference/python-sdk/roboto/experimental/ingest/schema#roboto.experimental.ingest.schema.Field) (class): Field of a topic schema, as a caller declares it: one named value in each of the topic's messages.

- [FileTopicDeclaration](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.FileTopicDeclaration) (class): Topic whose data a file carries, declared on the file itself rather than inside a session.

- [MAX_FILES_AND_TOPICS_PER_REQUEST](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.MAX_FILES_AND_TOPICS_PER_REQUEST) (data): `MAX_FILES_AND_TOPICS_PER_REQUEST = 500`. Maximum number of files and topics one request may name, counting each file entry and each topic declaration.

- [MESSAGE_ENVELOPE_TIMELINE_SOURCES](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.MESSAGE_ENVELOPE_TIMELINE_SOURCES) (data): `MESSAGE_ENVELOPE_TIMELINE_SOURCES: dict[str, tuple[roboto.domain.topics.record.TimelineSourceKind, str]]`. Kind and name Roboto stores each message-envelope timeline source under, keyed by its declared `kind`.

- [McapLogTimeSource](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.McapLogTimeSource) (class): Timeline source whose timestamps are MCAP's log time: when the recorder wrote each record to the file.

- [McapPublishTimeSource](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.McapPublishTimeSource) (class): Timeline source whose timestamps are MCAP's publish time: when each message was published on the bus.

- [Mp4PresentationTimeSource](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.Mp4PresentationTimeSource) (class): Timeline source whose timestamps are presentation time: when each frame is shown, from the start of the media.

- [RepresentationDeclaration](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.RepresentationDeclaration) (class): One representation of a topic's data: a file a read of the topic can open, and how that file holds the data.

- [Schema](/docs/reference/python-sdk/roboto/experimental/ingest/schema#roboto.experimental.ingest.schema.Schema) (class): Topic schema, as a caller declares it: the fields that make up a topic's messages.

- [SchemaFieldSource](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.SchemaFieldSource) (class): Timeline source whose timestamps are a field of the topic's own data, such as a `timestamp` field.

- [TopicDeclaration](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.TopicDeclaration) (class): Topic whose data a file carries, as a session's file entry declares it.

- [TopicRepresentations](/docs/reference/python-sdk/roboto/experimental/ingest/operations#roboto.experimental.ingest.operations.TopicRepresentations) (class): Complete set of representations one topic's data on a file is read from.
