Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Environments

List all Environments

get
Responses
200

OK

application/json
get/api/v1/environments
GET /api/v1/environments HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
200

OK

{
  "data": [
    {
      "agentGroups": [
        {
          "internalName": null,
          "agents": [
            "text"
          ],
          "environment": {
            "id": 1,
            "displayName": null
          },
          "agentDetails": [
            {
              "url": null,
              "httpPorts": [
                "text"
              ],
              "httpsPorts": [
                "text"
              ],
              "id": 1,
              "name": null,
              "isGateway": true,
              "isCloudAgent": true
            }
          ],
          "agentRegistrationMode": "SelfHosted",
          "id": 1,
          "displayName": null
        }
      ],
      "internalName": null,
      "id": 1,
      "displayName": null
    }
  ]
}

Get single Environment

get
Path parameters
environmentIdinteger · int64Required

Environment Identifier

Pattern: ^-?(?:0|[1-9]\d*)$
Responses
200

OK

application/json
get/api/v1/environments/{environmentId}
GET /api/v1/environments/{environmentId} HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
{
  "data": null
}

List Agent Groups for Environment

get
Path parameters
environmentIdinteger · int64Required

Environment Identifier

Pattern: ^-?(?:0|[1-9]\d*)$
Responses
200

OK

application/json
get/api/v1/environments/{environmentId}/agent-groups
GET /api/v1/environments/{environmentId}/agent-groups HTTP/1.1
Host: example.v64.frendsapp.com/
Accept: */*
{
  "data": [
    {
      "internalName": null,
      "agents": [
        "text"
      ],
      "environment": {
        "id": 1,
        "displayName": null
      },
      "agentDetails": [
        {
          "url": null,
          "httpPorts": [
            "text"
          ],
          "httpsPorts": [
            "text"
          ],
          "id": 1,
          "name": null,
          "isGateway": true,
          "isCloudAgent": true
        }
      ],
      "agentRegistrationMode": "SelfHosted",
      "id": 1,
      "displayName": null
    }
  ]
}

Last updated

Was this helpful?