---
sidebar:
  label: roboto.http.constants
  order: 0
title: roboto.http.constants
---
## Module Contents

### API_VERSION_HEADER

```python
roboto.http.constants.API_VERSION_HEADER = 'X-Roboto-Api-Version'
```

`from roboto.http.constants import API_VERSION_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L28-L28)

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

```python
roboto.http.constants.BEARER_TOKEN_HEADER = 'X-Roboto-Bearer-Token'
```

`from roboto.http import BEARER_TOKEN_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L25-L25)

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

### CONNECTION_CONSISTENCY_HEADER

```python
roboto.http.constants.CONNECTION_CONSISTENCY_HEADER = 'X-Roboto-Connection-Consistency'
```

`from roboto.http import CONNECTION_CONSISTENCY_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L32-L32)

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

```python
roboto.http.constants.ORG_OVERRIDE_HEADER = 'X-Roboto-Org-Id'
```

`from roboto.http import ORG_OVERRIDE_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L13-L13)

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

### ORG_OVERRIDE_QUERY_PARAM

```python
roboto.http.constants.ORG_OVERRIDE_QUERY_PARAM = 'robotoOrgId'
```

`from roboto.http import ORG_OVERRIDE_QUERY_PARAM`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L16-L16)

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

### RESOURCE_OWNER_OVERRIDE_HEADER

```python
roboto.http.constants.RESOURCE_OWNER_OVERRIDE_HEADER = 'X-Roboto-Resource-Owner-Id'
```

`from roboto.http import RESOURCE_OWNER_OVERRIDE_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L7-L7)

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

### RESOURCE_OWNER_OVERRIDE_QUERY_PARAM

```python
roboto.http.constants.RESOURCE_OWNER_OVERRIDE_QUERY_PARAM = 'robotoResourceOwnerId'
```

`from roboto.http import RESOURCE_OWNER_OVERRIDE_QUERY_PARAM`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L10-L10)

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

### USER_OVERRIDE_HEADER

```python
roboto.http.constants.USER_OVERRIDE_HEADER = 'X-Roboto-User-Id'
```

`from roboto.http import USER_OVERRIDE_HEADER`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L19-L19)

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

### USER_OVERRIDE_QUERY_PARAM

```python
roboto.http.constants.USER_OVERRIDE_QUERY_PARAM = 'robotoUserId'
```

`from roboto.http import USER_OVERRIDE_QUERY_PARAM`

[Source](https://github.com/roboto-ai/roboto-python-sdk/blob/main/src/roboto/http/constants.py#L22-L22)

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