---
title: "Retrieve a custom profile."
method: GET
path: "/v1/custom-profiles/{id}"
tags: ["Profiles"]
---

# Retrieve a custom profile.

`GET /v1/custom-profiles/{id}`

## Request

- Base URL: `https://help.puppet.com/api/public`
- URL: `https://help.puppet.com/api/public/v1/custom-profiles/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/puppet/apis/puppet-comply-api/docs/v1/custom-profiles/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

To use this endpoint, you must have one of the following roles:
`comply-admin`
`comply-operator`
`comply-viewer`

## Path parameters

- `id` integer, required

## Response `200`

GetCustomProfileResponse is the response for a custom profile.

- object
  - `id` integer, required: The ID of the custom profile.
  - `name` string, required: The name of the profile.
  - `profile` Profile
    - `benchmark` AssociatedBenchmark
      - `id` integer, required: The ID of the benchmark.
      - `name` string, required: The Name of the benchmark.
    - `id` integer, required: The ID of the profile.
    - `name` string, required: The name of the profile.

## Other responses

- `400`: CustomProfileNotFound is returned when profile with provided id does not exist.
- `default`: ErrorResponse is the default error response.

---

[API](https://skmtc.dev/puppet/apis/puppet-comply-api.md) - [All operations](https://skmtc.dev/puppet/apis/puppet-comply-api/llms.txt) - [OpenAPI document](https://skmtc.dev/puppet/apis/puppet-comply-api/revisions/0a7ac90117d7?raw)
