---
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#L50-L50)

Header naming the API version a request is made against, as a date such as `2026-03-13`.

Without it, or with a version Roboto does not recognize, the request uses 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#L44-L44)

Header naming a Roboto bearer token sent alongside a request's own credentials.

Roboto does not authenticate a request by this header. No SDK method reads it.

### 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#L56-L56)

Header naming whether a query or listing must include the most recent changes.

`strongly_consistent` includes every change already made. `eventually_consistent` can miss a change made a moment before, so retry when a recent change is not yet visible. An endpoint that honors the header rejects any other value with `RobotoInvalidRequestException`.

Without the header, a request on an API version before `2026-03-13` reads strongly consistently, and a request on a later version reads eventually consistently. Only some endpoints that query or list data honor the header, such as `POST /v1/datasets/query` and `POST /v1/files/query`; every other endpoint ignores it. No SDK method reads it.

### 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#L19-L19)

Header naming the organization a request acts in.

Required when the caller belongs to more than one organization; otherwise Roboto uses the caller's only organization.

### 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#L25-L25)

Query parameter that does the same as `ORG_OVERRIDE_HEADER`, read when the header is absent.

No SDK method reads it.

### 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 naming the organization that owns the resource a request reads or changes.

Without it, Roboto uses the organization the request acts in (`ORG_OVERRIDE_HEADER`).

### 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#L13-L13)

Query parameter that does the same as `RESOURCE_OWNER_OVERRIDE_HEADER`, read when the header is absent.

No SDK method reads it.

### 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#L31-L31)

Header naming the user a request acts on behalf of, by user ID, which for a person is their email address.

Only Roboto's own system user may name a user other than itself; Roboto refuses the request when any other caller does.

### 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#L38-L38)

Query parameter that does the same as `USER_OVERRIDE_HEADER`, read when the header is absent.

No SDK method reads it.
