GET
/
api
/
v1
/
workspace
curl --request GET \
  --url https://prod.oneloop.ai/api/v1/workspace \
  --header 'Authorization: Bearer <token>'
{
  "workspaces": [
    {
      "id": "<string>",
      "name": "<string>",
      "teamId": "<string>",
      "defaultKeyPrefix": "<string>",
      "defaultAllowedIPs": [
        "<string>"
      ],
      "defaultRateLimitPerSecond": 1,
      "defaultExpiration": 1,
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json
Workspace
workspaces
object[]
required