---
title: "Test a collection endpoint"
method: GET
path: "/api/collect/{writeKey}"
tags: ["Collection"]
---

# Test a collection endpoint

`GET /api/collect/{writeKey}`

## Request

- Base URL: `https://slimlytics.com`
- URL: `https://slimlytics.com/api/collect/{writeKey}`
- Auth: none required

## Path parameters

- `writeKey` string, uuid, required

## Response `200`

Non-ingesting diagnostic response

- Health
  - `status` string, required

## Other responses

- `400`: Invalid request
- `403`: Credential lacks permission
- `404`: Resource not found
- `500`: Internal service error

---

[API](https://skmtc.dev/slimlytics/apis/slimlytics-api.md) · [All operations](https://skmtc.dev/slimlytics/apis/slimlytics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/slimlytics/apis/slimlytics-api/revisions/f9a26641a254?raw)
