meetings.coaching_settings_set
Salvar zonas-alvo e pesos da nota da avaliação de reunião. Admin. Grava targets (por métrica {min?, max?}; objeto vazio = sem limite; métrica omitida volta ao padrão) e stageWeights (peso >= 0 por etapa; zero desliga a etapa e pelo menos uma precisa ser maior que zero). Exige a chave de plano messages.livechat-meetings. Mínimo maior que o máximo responde invalid_input. Quem não é dono/administrador recebe forbidden. Depende de uma migration; sem ela responde migration_pendente.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/meetings.coaching_settings_set(corpo JSON) - Quem pode chamar: administrador da conta
- Escopo da chave:
crm:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
meetings_coaching_settings_set - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdmeetings.coaching_settings_set)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
targets | object | sim | |
stageWeights | object[] | sim |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"targets": {
"type": "object",
"properties": {
"wordsPerMinute": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"fillerRatio": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"longestMonologueSeconds": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"nonInclusiveCount": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"questionsAsked": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"speakingPercent": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"activeListeningScore": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
},
"sentimentScore": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
}
}
}
},
"stageWeights": {
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"rapport",
"situation",
"problem",
"implication",
"needPayoff",
"transition",
"presentation",
"commitment"
]
},
"weight": {
"type": "number",
"minimum": 0
}
},
"required": [
"key",
"weight"
]
}
}
},
"required": [
"targets",
"stageWeights"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/meetings.coaching_settings_set \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"targets":{"wordsPerMinute":{"min":120,"max":185},"fillerRatio":{"max":0.05}},"stageWeights":[{"key":"rapport","weight":10},{"key":"situation","weight":15}]}'CLI:
node cli/atomiks.mjs meetings.coaching_settings_set --json '{"targets":{"wordsPerMinute":{"min":120,"max":185},"fillerRatio":{"max":0.05}},"stageWeights":[{"key":"rapport","weight":10},{"key":"situation","weight":15}]}'MCP: ferramenta meetings_coaching_settings_set com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"targets": {
"type": "object",
"properties": {
"wordsPerMinute": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"fillerRatio": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"longestMonologueSeconds": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"nonInclusiveCount": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"questionsAsked": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"speakingPercent": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"activeListeningScore": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
},
"sentimentScore": {
"type": "object",
"properties": {
"min": {
"type": "number"
},
"max": {
"type": "number"
}
},
"additionalProperties": false
}
},
"required": [
"wordsPerMinute",
"fillerRatio",
"longestMonologueSeconds",
"nonInclusiveCount",
"questionsAsked",
"speakingPercent",
"activeListeningScore",
"sentimentScore"
],
"additionalProperties": false
},
"methodology": {
"type": "object",
"properties": {
"stages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"enum": [
"rapport",
"situation",
"problem",
"implication",
"needPayoff",
"transition",
"presentation",
"commitment"
]
},
"weight": {
"type": "number"
},
"defaultWeight": {
"type": "number"
}
},
"required": [
"key",
"weight",
"defaultWeight"
],
"additionalProperties": false
}
}
},
"required": [
"stages"
],
"additionalProperties": false
}
},
"required": [
"targets",
"methodology"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).