---
updatedAt: 2026-06-08T03:35:06.000Z
agentTools:
  projectIndex: https://developer.moloco.cloud/llms.txt
---

# Read log status.

Read the most recent log status. It will also show URLs containing log contents.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Moloco Ads Campaign Management API",
    "description": "Moloco Ads Campaign Management API provides functionalities for Moloco Ads Campaigns.",
    "version": "1.11",
    "contact": {
      "name": "Moloco Inc.",
      "url": "https://www.moloco.com"
    }
  },
  "paths": {
    "/cm/v1/logs/{log_id}/status": {
      "get": {
        "summary": "Read log status.",
        "description": "Read the most recent log status. It will also show URLs containing log contents.",
        "operationId": "DspApi_ReadLogStatus",
        "responses": {
          "200": {
            "description": "Successfully read log status.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/messagesReadLogStatusResponse"
                }
              }
            }
          },
          "default": {
            "description": "An unexpected error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/googlerpcStatus"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "log_id",
            "description": "Log ID to read the status.",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "tags": [
          "Log"
        ]
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "servers": [
    {
      "url": "https://api.moloco.cloud"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "dspLogStatus": {
        "type": "string",
        "enum": [
          "UNKNOWN_LOG_STATUS",
          "ACCEPTED",
          "READY",
          "FAILED"
        ],
        "default": "UNKNOWN_LOG_STATUS",
        "description": "Status enumerates the status of log.\n\n - ACCEPTED: Successfully initiated the log generation request.\n - READY: Successfully generated the log. It's ready to download from the location.\n - FAILED: Failed to generate the log. Reasons of failure can be found at errors."
      },
      "googlerpcStatus": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          },
          "details": {
            "type": "array",
            "items": {
              "type": "object",
              "$ref": "#/components/schemas/protobufAny"
            }
          }
        }
      },
      "messagesReadLogStatusResponse": {
        "type": "object",
        "example": {
          "status": "READY",
          "location_csv": "https://{PLATFORM_LOG_STORAGE}/logs/anExistingLogId.csv?token={ONE_TIME_TOKEN}"
        },
        "properties": {
          "status": {
            "$ref": "#/components/schemas/dspLogStatus",
            "description": "Current status of a log."
          },
          "location_csv": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "URL of the log contents in CSV form. Will be expired in an hour."
          },
          "location_avro": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "URL of the log contents in Avro form. Will be expired in an hour."
          }
        }
      },
      "protobufAny": {
        "type": "object",
        "properties": {
          "@type": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    }
  }
}
```