---
title: "Get configs list"
method: GET
path: "/cdn/logs_uploader/configs"
tags: ["Logs uploader"]
---

# Get configs list

`GET /cdn/logs_uploader/configs`

Get list of logs uploader configs.

## Query parameters

- `search` string
- `resource_ids` integer[]
- `limit` integer
- `offset` integer

## Response `200`

Successful.

- union
  - LogsUploaderConfigResponse[]
    - `id` integer
    - `client_id` integer — Client that owns the config.
    - `created` string, date-time — Time when the config was created.
    - `updated` string, date-time — Time when the config was updated.
    - `enabled` boolean — Enables or disables the config.
    - `name` string — Name of the config.
    - `policy` integer — ID of the policy that should be assigned to given config.
    - `target` integer — ID of the target to which logs should be uploaded.
    - `for_all_resources` boolean — If set to true, the config will be applied to all CDN resources. If set to false, the config will be applied to the resources specified in the `resources` field.
    - `resources` integer[] — List of resource IDs to which the config should be applied.
    - `status` object — Validation status of the logs uploader config.
      - `status` 'in_progress' | 'successful' | 'failed' — Status of the validation.
      - `code` integer — Error code indicating the type of validation error.
      - `updated` string, date-time — Time when the validation status was updated.
      - `details` string — Error message if the validation failed.
  - object
    - `count` integer, required — Total number of items.
    - `next` string, nullable, required — URL to the next page of results. Null if current page is the last one.
    - `previous` string, nullable, required — URL to the previous page of results. Null if current page is the first one.
    - `results` LogsUploaderConfigResponse[], required — List of items on the current page.
      - `id` integer
      - `client_id` integer — Client that owns the config.
      - `created` string, date-time — Time when the config was created.
      - `updated` string, date-time — Time when the config was updated.
      - `enabled` boolean — Enables or disables the config.
      - `name` string — Name of the config.
      - `policy` integer — ID of the policy that should be assigned to given config.
      - `target` integer — ID of the target to which logs should be uploaded.
      - `for_all_resources` boolean — If set to true, the config will be applied to all CDN resources. If set to false, the config will be applied to the resources specified in the `resources` field.
      - `resources` integer[] — List of resource IDs to which the config should be applied.
      - `status` object — Validation status of the logs uploader config.
        - `status` 'in_progress' | 'successful' | 'failed' — Status of the validation.
        - `code` integer — Error code indicating the type of validation error.
        - `updated` string, date-time — Time when the validation status was updated.
        - `details` string — Error message if the validation failed.

## Other responses

- `403` — Feature is disabled for your account.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
