Levain LabsLevain Labs
API ReferenceAuthentication

Get Workspace

Get workspace details for the authenticated user.

GET
/api/v1/auth/workspace

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?|

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/auth/workspace"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "created_at": "2019-08-24T14:15:22Z"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}