OpenSocialDocumentação

audit_list

Consultar trilha de ações do workspace.

REST · POST /api/v1/operations/audit_list · MCP · audit_list

Permissão necessária · admin. 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": {
    "limit": {
      "default": 100,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}

JSON Schema · Saída

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "operation": {
        "type": "string"
      },
      "user_id": {
        "type": "string"
      },
      "grant_id": {
        "type": [
          "string",
          "null"
        ]
      },
      "subject": {
        "type": [
          "string",
          "null"
        ]
      },
      "created_at": {
        "type": "string"
      }
    },
    "required": [
      "operation",
      "user_id",
      "grant_id",
      "subject",
      "created_at"
    ],
    "additionalProperties": {}
  }
}