Workspace
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
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
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