Configs and Profiles

List agent profiles across projects

Changed on

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.

get/orgs/{orgID}/agent-profiles

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

Query parameters

name, string

Case-insensitive glob over the list's logical name. * matches zero or more characters, ? matches one character, and \ escapes a wildcard.

include_stats, boolean

Include each profile's stats, so a list can show instance counts and usage without a request per profile.

stats_since, string date-time

Start of the window stats.usage tallies, with include_stats. Omit to tally from the earliest recorded call.

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

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

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

ListAgentProfilesResponse required
data, AgentProfileSummary[] required
next_cursor, string nullable required

Opaque cursor for the next page, or null when this is the last page.

Changes

    • info

      added the required property data/items/stats/usage/cost/effective_usd to the response with the status

    • info

      added the required property data/items/stats/usage/cost/model_calls_with_effective_cost to the response with the status

    • info

      endpoint added