---
title: "Get access profile by ID"
method: GET
path: "/api/access-profiles/{id}"
tags: ["Access Profiles"]
---

# Get access profile by ID

`GET /api/access-profiles/{id}`

Returns the profile plus its role attachments and the count of users holding a copy.

## Path parameters

- `id` integer, required

## Response `200`

Successful response

- object — Returned by GET /api/access-profiles/{id}. Includes role attachments and the count of users holding a copy.
  - `access_profile` object
    - `id` integer
    - `name` string
    - `description` string, nullable
    - `is_active` boolean
    - `version` integer
    - `tags` string[]
    - `provider_configs` object[]
      - `id` integer
      - `provider_name` string, required — Provider identifier (`anthropic`, `openai`, `bedrock`, ...).
      - `all_models_allowed` boolean — If true, every model from this provider is allowed.
      - `allowed_models` string[] — Explicit model list. Empty array denies all models from the provider.
      - `budgets` object[]
        - `id` string
        - `max_limit` number, required — Cap in dollars (or tokens, depending on configured pricing).
        - `reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y', required — Reset duration for a budget or rate limit.
        - `scope` string — Set server-side. `total` for global budgets, `provider:<name>` for per-provider budgets.
        - `current_usage` number
        - `last_reset` string, date-time
      - `rate_limit` object
        - `id` string
        - `token_max_limit` number, nullable
        - `token_reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y' — Reset duration for a budget or rate limit.
        - `request_max_limit` number, nullable
        - `request_reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y' — Reset duration for a budget or rate limit.
        - `token_current_usage` number
        - `request_current_usage` number
    - `budgets` object[]
      - `id` string
      - `max_limit` number, required — Cap in dollars (or tokens, depending on configured pricing).
      - `reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y', required — Reset duration for a budget or rate limit.
      - `scope` string — Set server-side. `total` for global budgets, `provider:<name>` for per-provider budgets.
      - `current_usage` number
      - `last_reset` string, date-time
    - `rate_limit` object
      - `id` string
      - `token_max_limit` number, nullable
      - `token_reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y' — Reset duration for a budget or rate limit.
      - `request_max_limit` number, nullable
      - `request_reset_duration` '1h' | '1d' | '1w' | '1M' | '1Y' — Reset duration for a budget or rate limit.
      - `token_current_usage` number
      - `request_current_usage` number
    - `calendar_aligned` boolean
    - `mcp_tool_groups` object[]
      - `tool_group_id` integer, required
    - `mcp_servers` object[]
      - `mcp_server_id` string, required
    - `mcp_tool_overrides` object[]
      - `mcp_client_id` string, required
      - `tool_name` string, required
      - `action` 'include' | 'exclude', required
    - `created_at` string, date-time
    - `updated_at` string, date-time
  - `roles` object[]
    - `id` integer
    - `access_profile_id` integer
    - `role_id` integer
    - `role_name` string
    - `is_default` boolean
  - `user_count` integer

## Other responses

- `404` — Profile not found
- `500` — Internal server error

---

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