Secrets

List secrets visible through ownership authority

Changed on

Items are ordered by created_at descending, then id descending. Without an owner filter, returns the deduplicated union of organization secrets the caller may list, project secrets the caller may list, and the caller's own user secrets.

get/orgs/{orgID}/secrets

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.

kind, 'generic' | 'oauth_token_set' | 'slack_app_credentials' | 'aws_credentials' | 'github_app_credentials'

Return only secrets that hold this type of credential.

owner_kind, 'org' | 'project' | 'user'

Filter by the immutable owner kind.

owner_project_id, string

Project ID (proj_...).

Owning project to filter by. Required when owner_kind is project.

mcp_oauth_flow_id, string

Filter to secrets that have a version created by this MCP OAuth flow.

metadata, object

Return only secrets whose metadata includes these key-value pairs.

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

Secrets visible through ownership authority.

ListSecretsResponse required
data, Secret[] required
next_cursor, string nullable required

Changes

    • warning

      added the new github_app_credentials enum value to the data/items/kind response property for the response status

    • info

      added the new enum value github_app_credentials to the query request parameter kind

    • info

      added the optional property current_digest to the response with the status

    158 more changes in this revision