Deployments

Create a deployment

Start monitoring an agent.

POSThttps://api.ollive.ai/api/deployments/create/v1
v1

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.

Authorization

  • Authorizationheaderrequired

    Your API key, after the word Bearer, like this: Bearer sk-…. Create a key.

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

    active while Ollive is monitoring it, paused when 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.

← List deploymentsSend sessions →