workspace_get
Consultar workspace, capacidades e identidade atual.
REST · POST /api/v1/operations/workspace_get · MCP · workspace_get
Permissão necessária · read. Esta operação consulta dados.
Exemplo de entrada
{}
O REST retorna a saída abaixo diretamente. No MCP leia structuredContent.result. Consulte o contrato atual em /api/v1/openapi.json.
Em 401 confira a validade da credencial. Em 403 confira papel, escopos e contas. Em 409 releia o registro antes de tentar novamente.
JSON Schema · Entrada
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
JSON Schema · Saída
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"timezone": {
"type": "string"
},
"integration_scopes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"integration_accounts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"managed": {
"type": "boolean"
},
"role": {
"type": "string"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"accounts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"platforms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"platform": {
"type": "string"
},
"configured": {
"type": "boolean"
},
"ready": {
"type": "boolean"
},
"callbackAllowed": {
"type": "boolean"
},
"callback": {
"type": "string"
}
},
"required": [
"platform",
"configured",
"ready",
"callbackAllowed",
"callback"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"name",
"timezone",
"managed",
"role",
"scopes",
"accounts",
"platforms"
],
"additionalProperties": {}
}