isAsync parameter.
The API response includes the tool ID and the tool deployment status. After receiving the response, use the dockStatusId to call the Get Dock Status API and verify the tool deployment status.
| Method | POST |
|---|---|
| Endpoint | https://{host}/api/public/tools/:{toolId}/deploy |
| Content Type | application/json |
| Authorization | X-api-key - The API key used for authentication. |
Path Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| host | The environment URL. For example, https://agent-platform.domain.ai/ | String | Required |
| toolId | The unique identifier of the tool being deployed. | String | Required |
Sample Request
Body Parameters
| PARAMETER | DESCRIPTION | TYPE | REQUIRED/OPTIONAL |
|---|---|---|---|
| isAsync | Indicates if the deployment is asynchronous (true) or synchronous (false). | Boolean | Required |
Sample Response
Response Parameters
| PARAMETER | DESCRIPTION | TYPE |
|---|---|---|
| dockStatusId | The unique identifier for tracking the tool deployment. | String |
| toolId | The unique identifier of the tool being deployed. | String |
| jobType | The type of job being performed (TOOLS). | String |
| action | The action being performed (DEPLOY). | String |
| status | The deployment status (SUCCESS, IN_PROGRESS, or FAILED). | String |