{
  "info": {
    "_postman_id": "5327a3d3-6f7b-4f00-b9a2-3e4589e3d770",
    "name": "elastic.io Platform REST Agents Logs API",
    "description": "The elastic.io Platform REST API v2 provides programmatic access to the elastic.io iPaaS platform. It allows you to manage integration flows, workspaces, contracts, credentials, components, recipes, users, and other platform resources. The API follows the JSON:API specification and uses Bearer token authentication.\n\nContact Support:\n Name: elastic.io",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:34:16.000Z",
    "updatedAt": "2026-07-28T01:34:16.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5327a3d3-6f7b-4f00-b9a2-3e4589e3d770"
  },
  "item": [
    {
      "name": "logs",
      "item": [
        {
          "name": "Elastic.io List execution logs",
          "id": "320893b9-3148-468f-bc3b-fc5958c33683",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/logs?page[size]=20&page[number]=1&filter[workspace_id]=<string>&filter[flow_id]=<string>&filter[from]=<dateTime>&filter[to]=<dateTime>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "logs"
              ],
              "query": [
                {
                  "description": "Number of items per page",
                  "key": "page[size]",
                  "value": "20"
                },
                {
                  "description": "Page number to retrieve",
                  "key": "page[number]",
                  "value": "1"
                },
                {
                  "description": "Filter by workspace ID",
                  "key": "filter[workspace_id]",
                  "value": "<string>"
                },
                {
                  "description": "Filter by flow ID",
                  "key": "filter[flow_id]",
                  "value": "<string>"
                },
                {
                  "description": "Filter logs from this timestamp",
                  "key": "filter[from]",
                  "value": "<dateTime>"
                },
                {
                  "description": "Filter logs to this timestamp",
                  "key": "filter[to]",
                  "value": "<dateTime>"
                }
              ]
            },
            "description": "Retrieve execution logs for flows."
          },
          "response": [
            {
              "id": "4556b3e0-2142-4e2f-a7e0-c4dac195e1c7",
              "name": "Successful response",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/logs?page[size]=20&page[number]=1&filter[workspace_id]=<string>&filter[flow_id]=<string>&filter[from]=<dateTime>&filter[to]=<dateTime>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "logs"
                  ],
                  "query": [
                    {
                      "description": "Number of items per page",
                      "key": "page[size]",
                      "value": "20"
                    },
                    {
                      "description": "Page number to retrieve",
                      "key": "page[number]",
                      "value": "1"
                    },
                    {
                      "description": "Filter by workspace ID",
                      "key": "filter[workspace_id]",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter by flow ID",
                      "key": "filter[flow_id]",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter logs from this timestamp",
                      "key": "filter[from]",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "Filter logs to this timestamp",
                      "key": "filter[to]",
                      "value": "<dateTime>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"data\": [\n    {\n      \"id\": \"<string>\",\n      \"type\": \"log\",\n      \"attributes\": {\n        \"level\": \"<string>\",\n        \"message\": \"<string>\",\n        \"created_at\": \"<dateTime>\"\n      }\n    },\n    {\n      \"id\": \"<string>\",\n      \"type\": \"log\",\n      \"attributes\": {\n        \"level\": \"<string>\",\n        \"message\": \"<string>\",\n        \"created_at\": \"<dateTime>\"\n      }\n    }\n  ],\n  \"meta\": {\n    \"page\": \"<integer>\",\n    \"per_page\": \"<integer>\",\n    \"total\": \"<integer>\",\n    \"total_pages\": \"<integer>\"\n  },\n  \"links\": {\n    \"self\": \"<uri>\",\n    \"first\": \"<uri>\",\n    \"prev\": \"<uri>\",\n    \"next\": \"<uri>\",\n    \"last\": \"<uri>\"\n  }\n}",
              "createdAt": "2026-07-28T01:34:17.000Z",
              "updatedAt": "2026-07-28T01:34:17.000Z",
              "uid": "35240-4556b3e0-2142-4e2f-a7e0-c4dac195e1c7"
            },
            {
              "id": "48d84080-56af-41a7-a656-e2566219f1de",
              "name": "Authentication required or token is invalid",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/logs?page[size]=20&page[number]=1&filter[workspace_id]=<string>&filter[flow_id]=<string>&filter[from]=<dateTime>&filter[to]=<dateTime>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "logs"
                  ],
                  "query": [
                    {
                      "description": "Number of items per page",
                      "key": "page[size]",
                      "value": "20"
                    },
                    {
                      "description": "Page number to retrieve",
                      "key": "page[number]",
                      "value": "1"
                    },
                    {
                      "description": "Filter by workspace ID",
                      "key": "filter[workspace_id]",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter by flow ID",
                      "key": "filter[flow_id]",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter logs from this timestamp",
                      "key": "filter[from]",
                      "value": "<dateTime>"
                    },
                    {
                      "description": "Filter logs to this timestamp",
                      "key": "filter[to]",
                      "value": "<dateTime>"
                    }
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"errors\": [\n    {\n      \"status\": \"<integer>\",\n      \"title\": \"<string>\",\n      \"detail\": \"<string>\"\n    },\n    {\n      \"status\": \"<integer>\",\n      \"title\": \"<string>\",\n      \"detail\": \"<string>\"\n    }\n  ]\n}",
              "createdAt": "2026-07-28T01:34:17.000Z",
              "updatedAt": "2026-07-28T01:34:17.000Z",
              "uid": "35240-48d84080-56af-41a7-a656-e2566219f1de"
            }
          ],
          "createdAt": "2026-07-28T01:34:17.000Z",
          "updatedAt": "2026-07-28T01:34:17.000Z",
          "uid": "35240-320893b9-3148-468f-bc3b-fc5958c33683"
        }
      ],
      "id": "3c3d34a3-20be-4528-aeda-36aae333253b",
      "createdAt": "2026-07-28T01:34:17.000Z",
      "updatedAt": "2026-07-28T01:34:17.000Z",
      "uid": "35240-3c3d34a3-20be-4528-aeda-36aae333253b"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.elastic.io/v2"
    }
  ]
}