curl --location --request PUT 'https://api.thinkeo.io/v1/blocks/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"data": {
"kind": "ai",
"model": null,
"systemPrompt": null,
"topP": null,
"temperature": null,
"presencePenalty": null,
"frequencyPenalty": null,
"maxTokensOutput": null,
"reason": null,
"responseFormat": {
"json": {
"name": "string",
"schema": {}
}
},
"fileAttribute": null
}
}'
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"kind": "ai",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"data": {
"kind": "ai",
"model": null,
"systemPrompt": null,
"topP": null,
"temperature": null,
"presencePenalty": null,
"frequencyPenalty": null,
"maxTokensOutput": null,
"reason": null,
"responseFormat": {
"json": {
"name": "string",
"schema": {}
}
},
"fileAttribute": null
},
"children": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"assignments": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"attributeId": "4373db18-af63-40d4-ad40-80a2c734bfcf",
"value": "string"
}
],
"attributes": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}