---
title: "List agent profiles across projects"
method: GET
path: "/orgs/{orgID}/agent-profiles"
tags: ["Configs and Profiles"]
---

# List agent profiles across projects

`GET /orgs/{orgID}/agent-profiles`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/agent-profiles`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

Lists agent profiles in every project of the organization the caller can read. Each profile carries its project_id. Items are ordered by created_at descending, then id descending.

## Path parameters

- `orgID` string, required

## Query parameters

- `name` string
- `include_stats` boolean
- `stats_since` string, date-time
- `sort` 'name' | '-name' | '-updated_at' | 'updated_at' | '-created_at' | 'created_at': Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first).
- `limit` integer
- `cursor` string

## Response `200`

Agent profiles across the caller's readable projects, newest first.

- ListAgentProfilesResponse
  - `data` AgentProfileSummary[], required
    - `id` string, required
    - `org_id` string, required
    - `project_id` string, required: Project ID (proj_...).
    - `name` string, required: Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
    - `current_config_id` string, required: Agent config ID (acfg_...).
    - `current_generation` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `current_config` AgentConfigSummary, required
      - `id` string, required: Agent config ID (acfg_...).
      - `org_id` string, required
      - `project_id` string, required: Project ID (proj_...).
      - `source` string
      - `source_format` 'yaml' | 'json'
      - `effective_definition_hash` string, required
      - `model` AgentConfigModel, required
        - `provider_config` string, required: Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
        - `name` string, required: Configured model name selected by this agent config, rendered from the current configured model record.
        - `provider_model_slug` string, required: Exact provider model slug on the configured model's current revision at response time.
        - `configured_model_id` string, required
        - `current_revision_id` string, required
        - `api_format` 'openai-responses' | 'openai-chat-completions' | 'anthropic-messages', required: Wire protocol the model endpoint speaks.
        - `api_variant` string, required
        - `context_window_tokens` integer, required: Effective context budget for input and output tokens after model, project, and agent settings are applied. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.
        - `max_output_tokens` integer, nullable, required: Effective known output-token ceiling after model and project settings, or null when unknown.
        - `default_max_output_tokens` integer, nullable: Effective per-request output-token cap sent to the provider.
        - `default_cache_retention` 'none' | 'short' | 'long', required: Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.
        - `supports_tools` boolean, required
        - `supports_reasoning` boolean, required
        - `default_reasoning_effort` string, required
        - `supported_reasoning_efforts` string[], required
        - `input_modalities` string[], required
        - `output_modalities` string[], required
      - `instruction_hash` string
      - `created_at` string, date-time, required
    - `stats` AgentProfileStats: Present when the list was requested with `include_stats`.
      - `agent_count` integer, required: Unarchived top-level agents launched from the profile.
      - `usage` UsageTotals, required: Model usage by the profile's agents and their subagents since `stats_since`.
        - `model_calls` integer, required: Model calls that recorded token usage or a provider-reported cost.
        - `tokens` UsageTokenTotals, required: Summed token counts across the tallied model calls. Input totals are the sum of uncached, cache-read, and cache-write tokens; output totals include reasoning tokens.
          - `input_tokens_total` integer, required
          - `uncached_input_tokens` integer, required
          - `cache_read_input_tokens` integer, required
          - `cache_write_input_tokens` integer, required
          - `output_tokens_total` integer, required
          - `reasoning_output_tokens` integer, required
        - `cost` UsageCostTotals, required
          - `provider_reported_usd` string, required: Exact decimal sum in USD of the costs the provider reported for the tallied model calls. Calls whose provider reported no cost contribute nothing; compare model_calls_with_reported_cost against model_calls to see how complete the figure is.
          - `model_calls_with_reported_cost` integer, required
          - `effective_usd` string, required: Decimal sum in USD of the cost Omnara counts for each tallied model call: the model's own pricing when set, otherwise the provider-reported cost, otherwise a list-price estimate. Calls that could not be priced contribute nothing; compare model_calls_with_effective_cost against model_calls to see how complete the figure is.
          - `model_calls_with_effective_cost` integer, required
  - `next_cursor` string, nullable, required: Opaque cursor for the next page, or null when this is the last page.

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-11-24** `69f93619121b`: 2 info
  - added the required property `data/items/stats/usage/cost/effective_usd` to the response with the `200` status
  - added the required property `data/items/stats/usage/cost/model_calls_with_effective_cost` to the response with the `200` status
- **2026-10-06** `0a5562d0d229`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/agent-profiles/get.md)

---

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