---
updatedAt: 2026-07-28T18:32:55.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Static-audience upload status

Returns the current state of a single static-audience upload (custom-properties or segments file). You
receive the full URL for this endpoint as the `status` field on the response of the corresponding ingest-url
endpoint. You can also build the URL yourself with the `type` and `file` query parameters described below.

The `status` field of the response reports where the upload is in its lifecycle. When it is `completed`,
the `ingestedAt` field carries the timestamp of completion. To know whether a specific forecast already
includes this upload, compare `ingestedAt` against `forecastEnvironment.staticAudiencesSyncDateTime` on the
forecast response. When `staticAudiencesSyncDateTime >= ingestedAt`, the snapshot the forecast used was
sampled after the upload was persisted, so the upload is reflected.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Forecast API",
    "description": "The Kevel Forecast API",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.kevel.co/v1"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/forecaster/udb/ingest-status": {
      "get": {
        "tags": [
          "Static Audiences"
        ],
        "summary": "Static-audience upload status",
        "description": "Returns the current state of a single static-audience upload (custom-properties or segments file). You\nreceive the full URL for this endpoint as the `status` field on the response of the corresponding ingest-url\nendpoint. You can also build the URL yourself with the `type` and `file` query parameters described below.\n\nThe `status` field of the response reports where the upload is in its lifecycle. When it is `completed`,\nthe `ingestedAt` field carries the timestamp of completion. To know whether a specific forecast already\nincludes this upload, compare `ingestedAt` against `forecastEnvironment.staticAudiencesSyncDateTime` on the\nforecast response. When `staticAudiencesSyncDateTime >= ingestedAt`, the snapshot the forecast used was\nsampled after the upload was persisted, so the upload is reflected.\n",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "custom-properties",
                "segments"
              ]
            },
            "description": "The audience type the upload belongs to.\n"
          },
          {
            "name": "file",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Composite identifier formatted as `<uploadedAt>-<filename>`, where `<uploadedAt>` is the epoch-millisecond\ntimestamp embedded in the upload's object key. Returned ready-to-use as part of the `status` URL on the\ningest-url response.\n"
          }
        ],
        "responses": {
          "200": {
            "description": "The current state of the upload.",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Ingest Status Response",
                  "type": "object",
                  "description": "The current state of a single file upload.\n",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "incoming",
                        "processing",
                        "completed",
                        "failed",
                        "not-found"
                      ],
                      "description": "The current state of the upload:\n\n* `incoming`: the file was received but has not yet been picked up.\n* `processing`: the file is being parsed.\n* `completed`: the file was correctly processed, and the `ingestedAt` field carries the timestamp of\n  completion.\n* `failed`: an error was encountered while processing the file.\n* `not-found`: no upload matching the request is currently tracked.\n"
                    },
                    "ingestedAt": {
                      "type": "string",
                      "nullable": true,
                      "description": "UTC date-time at which the file was processed. Only present when `status` is `completed`.\n"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The `type` or `file` parameter is missing or malformed."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Adzerk-ApiKey"
      }
    }
  }
}
```