rebase endpoint
List, inspect, invoke, and disable Rebase endpoints.
Synopsis
rebase endpoint disable <selector>
rebase endpoint get <selector>
rebase endpoint invoke <selector> --json '{"zone": "SE3"}'
rebase endpoint list
rebase endpoint versions <selector>Subcommands
| Subcommand | Description |
|---|---|
disable | Disable an endpoint. |
get | Inspect one endpoint. |
invoke | Invoke an endpoint with JSON parameters. |
list | List workspace endpoints. |
versions | List endpoint versions. |
Endpoint selectors can be endpoint IDs, endpoint names, endpoint paths, full URL paths, full URLs, or project/name. If a selector matches more than one endpoint, use the exact endpoint ID.
disable
Disable an endpoint.
Synopsis
rebase endpoint disable <selector>
rebase endpoint disable <selector> --jsonArguments
| Argument | Type | Description |
|---|---|---|
<selector> | str | Endpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name. |
Options
| Option | Type | Description |
|---|---|---|
--json | bool | Print machine-readable JSON output. |
Disabling an endpoint prevents invocation. It does not delete the endpoint or its version history.
get
Inspect one endpoint.
Synopsis
rebase endpoint get <selector>
rebase endpoint get <selector> --jsonArguments
| Argument | Type | Description |
|---|---|---|
<selector> | str | Endpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name. |
Options
| Option | Type | Description |
|---|---|---|
--json | bool | Print machine-readable JSON output. |
If a selector matches more than one endpoint, use the exact endpoint ID.
invoke
Invoke an endpoint with JSON parameters.
Synopsis
rebase endpoint invoke <selector>
rebase endpoint invoke <selector> --json '{"zone": "SE3"}'
rebase endpoint invoke <selector> --param zone='"SE3"' --param horizon_hours=24Arguments
| Argument | Type | Description |
|---|---|---|
<selector> | str | Endpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name. |
Options
| Option | Type | Description |
|---|---|---|
--json | json | JSON object to send as endpoint parameters. |
--param, -p | name=json_value | Endpoint parameter. Values are parsed as JSON when possible. Repeat for multiple parameters. |
The command prints the invoke response as JSON:
{
"run_id": "00000000-0000-0000-0000-000000000000",
"status": "succeeded",
"result": {"zone": "SE3"},
"error": null
}Default auth="api_key" endpoints require an API key with endpoints:execute. For CLI invocation, set REBASE_API_KEY=rb_... or declare the endpoint with auth="workspace" when signed-in workspace users should call it.
list
List workspace endpoints.
Synopsis
rebase endpoint list
rebase endpoint list --project forecasting
rebase endpoint list --project-id <uuid>
rebase endpoint list --jsonOptions
| Option | Type | Description |
|---|---|---|
--project | str | Filter by project name. |
--project-id | uuid | Filter by exact project ID. |
--json | bool | Print machine-readable JSON output. |
Use either --project or --project-id, not both.
Output
The table output includes project, endpoint name, method, path, auth mode, response mode, target, enabled state, and URL.
versions
List endpoint versions.
Synopsis
rebase endpoint versions <selector>
rebase endpoint versions <selector> --jsonArguments
| Argument | Type | Description |
|---|---|---|
<selector> | str | Endpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name. |
Options
| Option | Type | Description |
|---|---|---|
--json | bool | Print machine-readable JSON output. |
Endpoint versions record route, auth mode, response mode, target type, target ID, selected target version, enabled state, and creation time.

