Gabby natural-language tool selection API (smart selection and task operations).
Gabby tool selection (smart)
Natural-language tool selection backed by Gabby workflow. The backend starts the upstream workflow in streaming mode to avoid long blocking timeouts. Returns 200 when the workflow finishes within the wait window, or 202 with task_id and workflow_run_id when it is still running. Use workflow_run_id with get_gabby_task_status to retrieve the final result. Use task_id only for cancellation.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Gabby tool selection (smart) › Request Body
querylanguagelimitmodeUse smart for OpenWebUI tool calls. smart returns a deferred workflow handle quickly for long-running requests.
idempotency_keyGabby tool selection (smart) › Responses
Gabby tool selection result.
Get Gabby workflow result/status
Retrieve a Gabby workflow result. Pass the workflow_run_id returned by gabby_smart as the path value. The path parameter is named task_id for backward compatibility, but workflow_run_id is preferred for result retrieval.
path Parameters
task_idPrefer passing workflow_run_id for result/status retrieval. Legacy task_id naming is kept for compatibility.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get Gabby workflow result/status › Responses
Task completed.
Cancel Gabby task
Cancel an in-flight upstream task. This endpoint requires task_id, not workflow_run_id.
path Parameters
task_idtask_id returned by gabby_smart. Do not pass workflow_run_id here.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Cancel Gabby task › Responses
Cancel requested.
status