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

SubcommandDescription
disableDisable an endpoint.
getInspect one endpoint.
invokeInvoke an endpoint with JSON parameters.
listList workspace endpoints.
versionsList 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> --json

Arguments

ArgumentTypeDescription
<selector>strEndpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name.

Options

OptionTypeDescription
--jsonboolPrint 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> --json

Arguments

ArgumentTypeDescription
<selector>strEndpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name.

Options

OptionTypeDescription
--jsonboolPrint 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=24

Arguments

ArgumentTypeDescription
<selector>strEndpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name.

Options

OptionTypeDescription
--jsonjsonJSON object to send as endpoint parameters.
--param, -pname=json_valueEndpoint 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 --json

Options

OptionTypeDescription
--projectstrFilter by project name.
--project-iduuidFilter by exact project ID.
--jsonboolPrint 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> --json

Arguments

ArgumentTypeDescription
<selector>strEndpoint ID, endpoint name, endpoint path, full URL path, full URL, or project/name.

Options

OptionTypeDescription
--jsonboolPrint machine-readable JSON output.

Endpoint versions record route, auth mode, response mode, target type, target ID, selected target version, enabled state, and creation time.

On this page