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

roboto.http.constants

Module Contents

API_VERSION_HEADER

roboto.http.constants.API_VERSION_HEADER = 'X-Roboto-Api-Version'#View Source

Which expected rolling API version this request is being made against. If no value is provided, requests will be made against the latest API version.

BEARER_TOKEN_HEADER

roboto.http.constants.BEARER_TOKEN_HEADER = 'X-Roboto-Bearer-Token'#View Source

Bearer token which is parsed as a JWT to provide additional request context for invocations

CONNECTION_CONSISTENCY_HEADER

roboto.http.constants.CONNECTION_CONSISTENCY_HEADER = 'X-Roboto-Connection-Consistency'#View Source

Header to control database read consistency for query/search endpoints.

Set to ‘strongly_consistent’ to force strongly consistent reads, or ‘eventually_consistent’ to force eventually consistent reads. Omission defaults to the API version’s default.

Only applies to query and search endpoints (e.g., /v1/query/*, /v1/datasets/query, /v1/files/query). Has no effect on other endpoints.

For API versions >= 2026-03-13, query endpoints default to eventually consistent reads. For older API versions, they default to strongly consistent reads for backward compatibility.

ORG_OVERRIDE_HEADER

roboto.http.constants.ORG_OVERRIDE_HEADER = 'X-Roboto-Org-Id'#View Source

Header to specify the organization that the user is acting on behalf of.

ORG_OVERRIDE_QUERY_PARAM

roboto.http.constants.ORG_OVERRIDE_QUERY_PARAM = 'robotoOrgId'#View Source

Query parameter to specify the organization that the user is acting on behalf of.

RESOURCE_OWNER_OVERRIDE_HEADER

roboto.http.constants.RESOURCE_OWNER_OVERRIDE_HEADER = 'X-Roboto-Resource-Owner-Id'#View Source

Header to specify the organization that owns the resource being accessed.

RESOURCE_OWNER_OVERRIDE_QUERY_PARAM

roboto.http.constants.RESOURCE_OWNER_OVERRIDE_QUERY_PARAM = 'robotoResourceOwnerId'#View Source

Query parameter to specify the organization that owns the resource being accessed.

USER_OVERRIDE_HEADER

roboto.http.constants.USER_OVERRIDE_HEADER = 'X-Roboto-User-Id'#View Source

Header to specify the user that is performing the REST operation.

USER_OVERRIDE_QUERY_PARAM

roboto.http.constants.USER_OVERRIDE_QUERY_PARAM = 'robotoUserId'#View Source

“Query parameter to specify the user that is performing the REST operation.

Was this page helpful?