Tenant Setup
コールドスタート解消(Section 69)。owner のみ・サインアップ直後に1回。
POST
/tenants/setupHeader parameters
authorizationstring | anyX-Api-Keystring | anyRequest body
requiredapplication/jsonpurposestringrequiredindustrystringdefault: "default"
key_questionsstring[]default: []
Responses
200Successful Response
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredRequest
curl -X POST "/tenants/setup" \
-H "Content-Type: application/json" \
-d '{
"purpose": "string",
"industry": "default",
"key_questions": []
}'const response = await fetch("/tenants/setup", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"purpose": "string",
"industry": "default",
"key_questions": []
})
});import requests
response = requests.post(
"/tenants/setup",
headers={
"Content-Type": "application/json"
},
json={
"purpose": "string",
"industry": "default",
"key_questions": []
},
)Response
"string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}