Secrets

Search My Secrets

Changed on

SearchMySecrets returns secrets created by the current user. Automatically scoped to current user - no user_id filter parameter.

post/api/v1/search/secrets/mine

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/search/secrets/mine
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Request body

accessRelationshipsstring[] nullable

Restrict results by the authenticated user's relationship to the secret. Empty preserves the historical creator-only behavior. When both values are supplied, creator takes precedence for secrets shared with their creator.

pageSizeinteger

The pageSize field.

pageTokenstring

The pageToken field.

querystring

Fuzzy search by display name

secretType'SECRET_TYPE_UNSPECIFIED' | 'SECRET_TYPE_TEXT' | 'SECRET_TYPE_FILE'

Filter by secret type. Unspecified returns all secret types.

sharingMode'PAPER_VAULT_SHARING_MODE_UNSPECIFIED' | 'PAPER_VAULT_SHARING_MODE_INTERNAL' | 'PAPER_VAULT_SHARING_MODE_EXTERNAL'

Filter by sharing mode. Unspecified returns all sharing modes.

sortBy'SEARCH_SORT_BY_UNSPECIFIED' | 'SEARCH_SORT_BY_CREATED_DESC' | 'SEARCH_SORT_BY_CREATED_ASC' | 'SEARCH_SORT_BY_EXPIRES_ASC' | 'SEARCH_SORT_BY_NAME_ASC'

Sort order

statusesstring[] nullable

Filter by status. Empty returns all statuses.

Response

Search response for user's own secrets

nextPageTokenstring

The nextPageToken field.

Changes

    • info

      added the new optional request property

    • breaking

      the request property became not nullable

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      added the optional property // to the response with the status