Skip to content

API reference

Get agent network

workspace.GetAgentNetworkReadAPI key

Read the workspace's policy for external network access, its allowed domains and whether the caller can change it.

POST/v1/operations/workspace.GetAgentNetwork
On this page

Access & visibility

Allow workspace.GetAgentNetwork on your API key.

Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.

Set up authentication · Choose permissions

Request

No parameters. Send an empty JSON object ({}).

Response

Returns 200 OK with a JSON body.

policystringRequired

Workspace policy governing external network access.

allowed_domainsarray of stringRequired

Custom domains.

updated_atnumber or nullRequired

Set at.

workspace_domainstring or nullRequired

Org domain.

service_domainsarray of stringRequired

Brigg domains.

can_managebooleanRequired

Whether the acting member can change this configuration.

Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false,
  "examples": [
    {}
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "policy": {
      "type": "string",
      "description": "Workspace policy governing external network access."
    },
    "allowed_domains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom domains."
    },
    "updated_at": {
      "type": [
        "number",
        "null"
      ],
      "description": "Set at."
    },
    "workspace_domain": {
      "type": [
        "string",
        "null"
      ],
      "description": "Org domain."
    },
    "service_domains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Brigg domains."
    },
    "can_manage": {
      "type": "boolean",
      "description": "Whether the acting member can change this configuration."
    }
  },
  "required": [
    "policy",
    "allowed_domains",
    "updated_at",
    "workspace_domain",
    "service_domains",
    "can_manage"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "policy": "unrestricted",
      "allowed_domains": [],
      "updated_at": null,
      "workspace_domain": "example.com",
      "service_domains": [],
      "can_manage": false
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.