List secrets
secrets_listList and filter secrets for an organization, project, or user. Retrieve paginated results ordered by creation date, with options for name, kind, owner, and metadata filtering.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter secrets by material kind. | |
| name | No | Case-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard. | |
| sort | No | Sort order for named resources that expose created and modified timestamps. | |
| limit | No | Maximum number of items to return in one page. | |
| orgID | Yes | ||
| cursor | No | Opaque pagination cursor from a previous response's next_cursor. Omit for the first page. | |
| metadata | No | Metadata key/value filters, encoded as metadata[key]=value. | |
| owner_kind | No | Filter by the immutable owner kind. | |
| owner_project_id | No | Required with owner_kind=project and invalid with other owner kinds. | |
| mcp_oauth_flow_id | No | Filter to secrets that have a version created by this MCP OAuth flow. |