---
title: "Get agent profile by id"
method: GET
path: "/agent_profiles/{id}"
tags: ["Profiles"]
---

# Get agent profile by id

`GET /agent_profiles/{id}`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/agent_profiles/{id}`
- Auth: API key in header `Authorization`

Returns agents profile.

## Path parameters

- `id` number, required

## Response `200`

Successful response

- object
  - `id` number, required: Agent profile id
  - `name` string, required: Agent profile name
  - `description` string, required: Agent profile description
  - `settings` object, required: Agent profile settings
  - `created_at` number, required: Created at (seconds)
  - `updated_at` number, required: Updated at (seconds)
  - `groups` number, required: Ids of groups which use the profile
  - `created_by` string: Name of the user who created profile. It can be absent in some profiles (e.g. default and cloud profile)
  - `updated_by` string: Name of the user who updated profile the last time. It can be absent in some profiles (e.g. default and cloud profile)

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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