Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.api_version

Module Contents

RobotoApiVersion

class roboto.api_version.RobotoApiVersion#View Source

Bases: roboto.compat.StrEnum

Enumeration of supported Roboto API versions.

This enum defines the available API versions for the Roboto platform. Each version represents a specific date-based API version that may include breaking changes, new features, or deprecations compared to previous versions.

API versions follow the YYYY-MM-DD format and are used to ensure backward compatibility while allowing the platform to evolve. Clients should specify the API version they were designed for to ensure consistent behavior.

RobotoApiVersion.is_latest()

is_latest()#View Source

Check if this API version is the latest available version.

Returns

bool

True if this version matches the latest API version, False otherwise.

RobotoApiVersion.latest()

static latest()#View Source

Get the newest API version this build of the SDK knows about.

Requests carry this version unless the caller names an older one.

Returns

The most recent member of this enum.

Attributes

RobotoApiVersion.v2025_01_01

v2025_01_01 = '2025-01-01' #

RobotoApiVersion.v2025_07_14

v2025_07_14 = '2025-07-14' #

RobotoApiVersion.v2026_01_02

v2026_01_02 = '2026-01-02' #

Release date for v0.35.0 of the Roboto Python SDK

RobotoApiVersion.v2026_02_02

v2026_02_02 = '2026-02-02' #

Content mode introduced for query APIs.

RobotoApiVersion.v2026_02_11

v2026_02_11 = '2026-02-11' #

path_in_schema is now a required field on AddMessagePathRequest

RobotoApiVersion.v2026_03_13

v2026_03_13 = '2026-03-13' #

Query endpoints are now eventually consistent when using v2026_03_13 or later. Clients on older API versions maintain strong consistency for backward compatibility.

RobotoApiVersion.v2026_05_20

v2026_05_20 = '2026-05-20' #

AgentSession and AI Chat are renamed to AgentThread across the SDK and REST API: chat_id / session_id become thread_id on the wire, /v1/ai/chats becomes /v1/ai/threads, and agent invoke becomes launch (POST /v1/ai/agents/{id}/launch; the previous developer-only …/invoke URL was removed outright). Clients on older API versions continue to receive session_id in response bodies and can keep calling the legacy /v1/ai/chats paths, which are soft-deprecated aliases on the same handlers.

RobotoApiVersion.v2026_07_05

v2026_07_05 = '2026-07-05' #

PUT /v1/files/upload/<id>/progress responds with {uri, file_id} pairs instead of a bare file-id list, so upload clients can tell which created file belongs to which uploaded path. Clients on older API versions continue to receive the bare id list.

RobotoApiVersion.v2026_08_10

v2026_08_10 = '2026-08-10' #

GET /v1/datasets/tags, GET /v1/events/tags, and GET /v1/files/tags respond with a paginated {items, next_token} object (with optional search/limit/page_token query parameters) instead of a bare string list, so tag autocomplete scales past the unique-tag cap. Clients on older API versions continue to receive the bare list.

RobotoApiVersion.v2026_08_27

v2026_08_27 = '2026-08-27' #

/v1/triggers speaks the v2 trigger shape (events/once_per/targets from roboto.domain.triggers) instead of the legacy causes/for_each/action-column shape, and rejects a caller-supplied service_user_id. Clients on older API versions keep the legacy shape: their creates and updates are translated onto v2 triggers, responses are projected back, and triggers with no legacy representation (multiple targets, non-action targets, new event types) are filtered from lists and 404 on direct reads.

RobotoApiVersion.v2026_09_30

v2026_09_30 = '2026-09-30' #

Agent thread messages can carry client_context content blocks: what the user was viewing when they sent the message, stored on the message itself. Clients on older API versions receive threads with those blocks removed, since their AgentContent union cannot parse them.

RobotoApiVersion.v2026_10_02

v2026_10_02 = '2026-10-02' #

A file record can be a link: fs_type "link" and a roboto:// uri pinning one version of another file. Clients on older API versions, whose FSType has only file and directory, never receive one: links are dropped from file listings, and reading one directly by ID or path reports it as not found.

RobotoApiVersion.v2026_10_05

v2026_10_05 = '2026-10-05' #

POST /v2/topics/id/<topic_id>/read-plan states the bounds each partition’s rows are selected in on a per-partition window, instead of the extent it returned before. Clients on older API versions continue to receive extent, set on every partition to the plan’s own window; such a client selects rows by the plan’s window alone. Two kinds of read are refused with HTTP 400 and a message to upgrade rather than served that way: a read scoped to a Session that holds a file over only part of the requested time span, and a read covering a file that packs several partitions’ data. Either would otherwise return rows belonging to another Session, or to another partition packed into the same file.

Adding files to a Session, removing them, and publishing metrics answer with one element per entry the request named, in the order it named them, each holding the entry’s result or the error that refused it. An entry the platform refuses leaves the others in place: an add decides every refusal before writing anything and adds the rest together, and a remove removes together every file the Session holds and reports the rest as not held. A failure the platform did not anticipate, such as a timeout, adds or removes none of them. An add naming a file that does not exist is refused whole, before any entry is applied. A file entry states the window the Session holds the file over in the file’s own timestamps, on min_file_timestamp_ns and max_file_timestamp_ns, and a call names at least one file. Listing a Session’s files reports each file’s window in Unix-epoch nanoseconds on min_wall_clock_timestamp_ns and max_wall_clock_timestamp_ns.

Clients on older API versions keep the earlier contract for these four calls. Listing a Session’s files reports the same window on range_min_timestamp_ns and range_max_timestamp_ns. A file entry carries the file’s id, an optional data_range, and a window in Unix-epoch nanoseconds on range_min_timestamp_ns and range_max_timestamp_ns. Adds and removes accept a call naming no files and answer with the Session’s refreshed record. An add stands or falls whole: when the platform refuses a file, it answers with the error for the first refused file and adds none of them, and a file named twice is added over its last entry. A remove stands or falls whole too, and skips a file the Session does not hold. Metric publication answers with a succeeded list and a failed list. succeeded holds one record per metric and Session, carrying the last value written when a call published the same pair more than once; each entry in failed is named by the metric name the caller submitted.

RobotoApiVersion.v2026_10_06

v2026_10_06 = '2026-10-06' #

A saved View’s filter rows (SavedFilters) can carry or_null, and a boolean EQUALS row can name both values. Clients on older API versions, whose filter rows forbid unknown fields and allow a boolean exactly one value, never receive a View they cannot parse: a boolean EQUALS over both values reaches them as the IS_NOT_NULL it means, a View with a row using or_null is dropped from View listings and reported as not found when read by ID, and updating such a View is refused with HTTP 400 and a message to upgrade.

RobotoApiVersion.v2026_10_22

v2026_10_22 = '2026-10-22' #

Event search (Events) also returns events created on a session (EventRecord, IDs evt_*), beside dataset events (EventRecord, IDs ev_*). It returns them only in organizations that have session events enabled, and only to a caller who may view the organization’s sessions. Clients on older API versions receive dataset events only. They also never receive the session_event.created sample, triggers subscribed to that event, or the dispatches it produced, which their PlatformEventType cannot parse.

RobotoApiVersion.v2026_11_02

v2026_11_02 = '2026-11-02' #

POST /v2/topics/id/<topic_id>/read-plan includes in its plan a partition whose stored representations fail the coverage checks. A partition fails them when one of its representations names a field outside its schema, or when it owns a slice of a shared file and a projected field that one of its representations holds is held by none readable at the slice’s row positions. The plan gives such a partition scan tasks over the representations that can serve the read, or no scan tasks when none can. An SDK release that sends this version issues one UnreadableTopicPartitionsWarning naming every partition with no scan tasks, and raises RobotoReadPlanExecutionException when a partition’s scan tasks leave out a projected field. Requests at older API versions keep the coverage checks: a read in which any partition fails them is refused with HTTP 400 and a message that names up to 20 failing partitions and why each fails, and asks the caller to upgrade.

Was this page helpful?