---
title: "Retrieve a source"
method: GET
path: "/workspaces/{ws_id}/sources/{id}"
tags: ["Source"]
---

# Retrieve a source

`GET /workspaces/{ws_id}/sources/{id}`

## Path parameters

- `id` string, required

## Response `200`

OK

- Source
  - `id` string
  - `name` string, nullable
  - `enabled` boolean
  - `type` 'http'
  - `config` object, required
    - `http` HTTPSourceConfig, required
      - `path` string
      - `methods` string[]
      - `response` object, nullable
        - `code` integer, required
        - `content_type` string, required
        - `body` string
  - `async` boolean — Whether to ingest events asynchronously through the queue
  - `metadata` Metadata
  - `rate_limit` RateLimit, nullable — The rate limit that uses GCRA algorithm (a variant of the leaky bucket algorithm that supports bursts).
    - `quota` integer, required — Rate limiting quota that allowed in every period.
    - `period` integer, required — Rate limiting period in seconds.
  - `created_at` integer
  - `updated_at` integer

---

[API](https://skmtc.net/webhookx-io/apis/webhookx-admin-api.md) · [All operations](https://skmtc.net/webhookx-io/apis/webhookx-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webhookx-io/webhookx-admin-api/versions/af64d4e6c0c3/schema)
