Workspace

Get available Workspaces.

get

Retrieves a list of all available Workspaces accessible to the user, along with all associated Targets within each Workspace.

Authorizations
Responses
200
OK
application/json
get
GET /api/workspace HTTP/1.1
Host: 
X-Api-Key: YOUR_API_KEY
Accept: */*
[
  {
    "defaultWorkerPoolId": null,
    "description": "This is an example workspace used for testing purposes.",
    "guardrails": null,
    "id": 5,
    "name": "Example Workspace",
    "targets": [
      {
        "id": 1,
        "integrationType": "AZURE_OPENAI",
        "name": "Example Target",
        "scanId": 123
      }
    ],
    "userCount": 10
  }
]

Last updated