---
title: "Find a single 'AutomationSource' entity with the given id"
method: GET
path: "/atm-source/{id}"
tags: ["AutomationSource"]
---

# Find a single 'AutomationSource' entity with the given id

`GET /atm-source/{id}`

## Request

- Base URL: `https://app.testiny.io/api/v1`
- URL: `https://app.testiny.io/api/v1/atm-source/{id}`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/testiny/apis/testiny-api/docs/atm-source/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch a single entity by id - If the entity does not exist, returns a 404 error.

## Path parameters

- `id` integer, required

## Response `200`

Returns a single AutomationSource

- AutomationSource
  - `id` integer: The unique entity id - must be a positive integer
  - `project_id` integer: The project id this entity or mapping belongs to
  - `name` string: The name property
  - `display_name` string: Display name for automation source in user interface
  - `retention_days` number: The retention_days property

## Other responses

- `4XX`: The request failed because invalid request parameters or data were supplied or access was denied.
- `5XX`: The request failed because an error occurred during processing of the request.

---

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