cURL
curl --request GET \ --url https://prod.oneloop.ai/api/v1/workspace/{id} \ --header 'Authorization: Bearer <token>'
{ "workspace": { "id": "<string>", "name": "<string>", "teamId": "<string>", "defaultKeyPrefix": "<string>", "defaultAllowedIPs": [ "<string>" ], "defaultRateLimitPerSecond": 1, "defaultExpiration": 1, "createdAt": "<string>", "updatedAt": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The workspace id.
Workspace
The response is of type object.
object