Authorizations
Body
application/json
curl --request POST \
--url https://prod.oneloop.ai/api/v1/workspace \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'{
"workspace": {
"id": "<string>",
"name": "<string>",
"teamId": "<string>",
"defaultKeyPrefix": "<string>",
"defaultAllowedIPs": [
"<string>"
],
"defaultRateLimitPerSecond": 1,
"defaultExpiration": 1,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}curl --request POST \
--url https://prod.oneloop.ai/api/v1/workspace \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'{
"workspace": {
"id": "<string>",
"name": "<string>",
"teamId": "<string>",
"defaultKeyPrefix": "<string>",
"defaultAllowedIPs": [
"<string>"
],
"defaultRateLimitPerSecond": 1,
"defaultExpiration": 1,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}Show child attributes