roboto.http.constants
Module Contents
API_VERSION_HEADER
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
Bearer token which is parsed as a JWT to provide additional request context for invocations
CONNECTION_CONSISTENCY_HEADER
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
Header to specify the organization that the user is acting on behalf of.
ORG_OVERRIDE_QUERY_PARAM
Query parameter to specify the organization that the user is acting on behalf of.
RESOURCE_OWNER_OVERRIDE_HEADER
Header to specify the organization that owns the resource being accessed.
RESOURCE_OWNER_OVERRIDE_QUERY_PARAM
Query parameter to specify the organization that owns the resource being accessed.
USER_OVERRIDE_HEADER
Header to specify the user that is performing the REST operation.
USER_OVERRIDE_QUERY_PARAM
“Query parameter to specify the user that is performing the REST operation.