Deployments
Create a deployment
Start monitoring an agent.
How it works
Pass an agent’s id from List assets as asset_id. You get a 201 with the new deployment.
If the agent is already monitored, you get its deployment back with a 200, and if it was paused, monitoring starts again. Either way, sending the same request twice is safe.
Request body
application/json
- asset_idstringrequired
The agent to monitor, from List assets.
- namestringup to 255 characters
A name for the deployment. Defaults to the agent’s name. Must be unique in your account.
- descriptionstring
A short note about what the agent does.
Response
Monitoring has started.
- idstringrequired
The deployment’s ID. Other endpoints call this
deployment_id. - namestringrequired
Its name.
- descriptionstringrequired
A short note about the agent.
- statusstringrequired
activewhile Ollive is monitoring it,pausedwhen monitoring is paused.activepaused - asset_idstringrequired
The agent it monitors. Empty if none.
- integration_idstringrequired
The integration that agent belongs to. Empty if none.
- integration_typestringrequired
The platform type, such as
RETELL. Empty if none. - pack_countintegerrequired
How many rule packs it is checked against.
- created_atstring (date-time)required
When monitoring started.
- updated_atstring (date-time)required
When it was last changed.
The agent was already monitored. Its deployment is returned, and resumed if it was paused.
- idstringrequired
The deployment’s ID. Other endpoints call this
deployment_id. - namestringrequired
Its name.
- descriptionstringrequired
A short note about the agent.
- statusstringrequired
activewhile Ollive is monitoring it,pausedwhen monitoring is paused.activepaused - asset_idstringrequired
The agent it monitors. Empty if none.
- integration_idstringrequired
The integration that agent belongs to. Empty if none.
- integration_typestringrequired
The platform type, such as
RETELL. Empty if none. - pack_countintegerrequired
How many rule packs it is checked against.
- created_atstring (date-time)required
When monitoring started.
- updated_atstring (date-time)required
When it was last changed.
Something in the request is wrong. code and param tell you what.
Returns an error, for example with the code invalid_request.
The API key is missing, wrong, revoked or expired.
Returns an error, for example with the code authentication_failed.
We couldn’t find that item in your account.
Returns an error, for example with the code not_found.
That name is already in use in your account.
Returns an error, for example with the code duplicate_name.