Agents Platform

List Environments

Changed on

List the workspace environments, including 'production'.

get/v1/convai/environments

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/convai/environments
  • Auth
    none declared

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

Example response

{
  "environments": [
    {
      "name": "production",
      "updated_at_unix_secs": 1714000000
    },
    {
      "created_by_user_id": "user_7k2m9x",
      "name": "staging",
      "updated_at_unix_secs": 1714003600
    }
  ]
}

Changes