# The Endpoint object

## Attributes

- `name` (string)
  Name of the AI Search endpoint
  Example: `docs-endpoint`
- `creator` (string)
  Creator of the endpoint
  Example: `john@example.com`
- `creation_timestamp` (int64)
  Timestamp of endpoint creation
  Example: `1702013512061`
- `last_updated_timestamp` (int64)
  Timestamp of last update to the endpoint
  Example: `1702013512061`
- `endpoint_type` (string)
  Type of endpoint
  Possible values:
  - `STORAGE_OPTIMIZED`
  - `STANDARD`
- `last_updated_user` (string)
  User who last updated the endpoint
  Example: `john@example.com`
- `id` (string)
  Unique identifier of the endpoint
  Example: `c56bf0a9-4929-4bd4-8bd5-d82ca62f9c76`
- `endpoint_status` (object)
  Current status of the endpoint
  - `state` (string)
    Current state of the endpoint
    Possible values:
    - `PROVISIONING`
    - `ONLINE`
    - `OFFLINE`
    - `RED_STATE`
    - `YELLOW_STATE`
    - `DELETED`
    Example: `PROVISIONING`
  - `message` (string)
    Additional status message
- `num_indexes` (int32)
  Number of indexes on the endpoint
- `budget_policy_id` (string, Public Preview)
  The user-selected budget policy id for the endpoint.
- `effective_budget_policy_id` (string, Public Preview)
  The budget policy id applied to the endpoint
  Example: `8b0444ff-8b60-48b0-9d31-e391f6126e0f`
- `scaling_info` (object, GA)
  Scaling information for the endpoint
  - `state` (string, Beta)
    The current state of the scaling change request.
    Possible values:
    - `SCALING_CHANGE_UNSPECIFIED`
    - `SCALING_CHANGE_APPLIED`
    - `SCALING_CHANGE_IN_PROGRESS`
    Example: `SCALING_CHANGE_APPLIED`
  - `requested_target_qps` (int64, GA)
    The requested QPS target for the endpoint. Best-effort; the system does not
     guarantee this QPS will be achieved.
    Example: `500`

## Example

```json
{
  "name": "docs-endpoint",
  "creator": "john@example.com",
  "creation_timestamp": 1702013512061,
  "last_updated_timestamp": 1702013512061,
  "endpoint_type": "STORAGE_OPTIMIZED",
  "last_updated_user": "john@example.com",
  "id": "c56bf0a9-4929-4bd4-8bd5-d82ca62f9c76",
  "endpoint_status": {
    "state": "PROVISIONING",
    "message": "string"
  },
  "num_indexes": 0,
  "budget_policy_id": "string",
  "effective_budget_policy_id": "8b0444ff-8b60-48b0-9d31-e391f6126e0f",
  "scaling_info": {
    "state": "SCALING_CHANGE_APPLIED",
    "requested_target_qps": 500
  }
}
```


