All URIs are relative to https://dashboard.quantcdn.io, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| cancelOrchestration() | POST /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/cancel | Cancel Durable Orchestration |
| createOrchestration() | POST /api/v3/organizations/{organisation}/ai/orchestrations | Create Durable Orchestration |
| deleteOrchestration() | DELETE /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Delete Durable Orchestration |
| getOrchestration() | GET /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId} | Get Durable Orchestration |
| listOrchestrationBatches() | GET /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/batches | List Orchestration Batches |
| listOrchestrations() | GET /api/v3/organizations/{organisation}/ai/orchestrations | List Durable Orchestrations |
| pauseOrchestration() | POST /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/pause | Pause Durable Orchestration |
| resumeOrchestration() | POST /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/resume | Resume Durable Orchestration |
| startOrchestration() | POST /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/start | Start Durable Orchestration |
cancelOrchestration($organisation, $orchestration_id): objectCancel Durable Orchestration
Cancel an orchestration permanently. Cannot be resumed. Any in-progress items will complete, but no new processing starts.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
try {
$result = $apiInstance->cancelOrchestration($organisation, $orchestration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->cancelOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
object
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createOrchestration($organisation, $create_orchestration_request): objectCreate Durable Orchestration
Create a new durable orchestration for batch processing. * * Input Sources: * - static: Process a fixed list of items * - task_query: Process tasks matching a query * - generator: AI generates items from a prompt * * Stop Conditions: * - all_complete: Stop when all items processed * - max_iterations: Stop after N iterations * - condition: AI evaluates a prompt to decide * - manual: Run until manually stopped * * Auto-start: * By default, the orchestration starts immediately. Set autoStart: false to create in pending state.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$create_orchestration_request = new \QuantClient\Model\CreateOrchestrationRequest(); // \QuantClient\Model\CreateOrchestrationRequest
try {
$result = $apiInstance->createOrchestration($organisation, $create_orchestration_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->createOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| create_orchestration_request | \QuantClient\Model\CreateOrchestrationRequest |
object
- Content-Type:
application/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteOrchestration($organisation, $orchestration_id)Delete Durable Orchestration
Delete an orchestration. Can only delete orchestrations in completed, failed, or cancelled status.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
try {
$apiInstance->deleteOrchestration($organisation, $orchestration_id);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->deleteOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOrchestration($organisation, $orchestration_id): objectGet Durable Orchestration
Get orchestration details including status and progress. * * Progress Tracking: * - total: Total items to process * - completed: Successfully processed * - failed: Failed processing * - pending: Awaiting processing
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = orch_1704067200_abc123xyz; // string | Orchestration identifier
try {
$result = $apiInstance->getOrchestration($organisation, $orchestration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->getOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
object
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listOrchestrationBatches($organisation, $orchestration_id, $limit, $cursor): \QuantClient\Model\ListOrchestrationBatches200ResponseList Orchestration Batches
Get history of batches processed by this orchestration. Returns paginated batch records with status and item counts.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
$limit = 20; // int | Maximum number of batches to return
$cursor = 'cursor_example'; // string | Pagination cursor from previous response
try {
$result = $apiInstance->listOrchestrationBatches($organisation, $orchestration_id, $limit, $cursor);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->listOrchestrationBatches: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier | |
| limit | int | Maximum number of batches to return | [optional] [default to 20] |
| cursor | string | Pagination cursor from previous response | [optional] |
\QuantClient\Model\ListOrchestrationBatches200Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listOrchestrations($organisation, $status, $limit, $cursor): \QuantClient\Model\ListOrchestrations200ResponseList Durable Orchestrations
List durable orchestrations for an organization with optional filtering. * * Note: This is different from /tools/orchestrations which handles async tool execution * polling. These durable orchestrations are for long-running batch processing loops. * * Filter Options: * - status: Filter by orchestration status * - limit: Max results (default 20, max 100) * - cursor: Pagination cursor
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$status = 'status_example'; // string | Filter by orchestration status
$limit = 20; // int | Maximum number of results
$cursor = 'cursor_example'; // string | Pagination cursor from previous response
try {
$result = $apiInstance->listOrchestrations($organisation, $status, $limit, $cursor);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->listOrchestrations: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| status | string | Filter by orchestration status | [optional] |
| limit | int | Maximum number of results | [optional] [default to 20] |
| cursor | string | Pagination cursor from previous response | [optional] |
\QuantClient\Model\ListOrchestrations200Response
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
pauseOrchestration($organisation, $orchestration_id): objectPause Durable Orchestration
Pause a running orchestration. The current batch will complete, but no new batches will start. Can be resumed later.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
try {
$result = $apiInstance->pauseOrchestration($organisation, $orchestration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->pauseOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
object
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
resumeOrchestration($organisation, $orchestration_id): objectResume Durable Orchestration
Resume a paused orchestration. Processing continues from where it left off.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
try {
$result = $apiInstance->resumeOrchestration($organisation, $orchestration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->resumeOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
object
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
startOrchestration($organisation, $orchestration_id): objectStart Durable Orchestration
Start a pending orchestration. Only works on orchestrations created with autoStart: false.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: BearerAuth
$config = QuantClient\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new QuantClient\Api\AIOrchestrationsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$organisation = 'organisation_example'; // string | The organisation machine name
$orchestration_id = 'orchestration_id_example'; // string | Orchestration identifier
try {
$result = $apiInstance->startOrchestration($organisation, $orchestration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AIOrchestrationsApi->startOrchestration: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| organisation | string | The organisation machine name | |
| orchestration_id | string | Orchestration identifier |
object
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]