Compare a secret's value across project configurations
/v1/secrets/projects/project/compareSearches for secrets by exact name in all project configurations available to the user. Root
configurations without this secret are returned with secret: null. Without the search parameter,
an empty list is returned.
Request
Authorization
- Authorizationstringheaderrequired
Key in the format
Bearer <API-key>. Create a key on the API keys page.
Query Parameters
- project stringrequired
Project alias
- page_size integer<int64>
- page integer<int64>
- search string
Secret name, exact match
Response
- Array [
- Array [
- ]
- ]
config object
Creation date
Names of secrets excluded from the missing list
environment object
Current user's access level to the environment
Possible values: [none, viewer, editor, admin]
editorCreation date
Identifier
10Date secrets were first read via the API
Name
ProductionDisplay order
1Personal configurations <environment>/personal are allowed
Alias
productionUpdate date
Identifier
500The configuration can't be renamed or deleted
The user's personal configuration
Root configuration of the environment
Date secrets were last read via the API
missing_secrets object[]
Secrets that exist in other root configurations of the project but are missing from this one; root configuration only
Name
DATABASE_URLNote
Connection string for the main databaseValue type
Possible values: [string, json, boolean, integer, decimal, email, url, yaml, xml, date, datetime]
urlVisibility
Possible values: [masked, unmasked, restricted]
maskedName; empty for a root configuration
localAlias for requests: <environment> for a root configuration, otherwise <environment>/<name>
production/localType: original — root configuration, duplicate — branch, personal — personal configuration
Possible values: [original, duplicate, personal]
duplicateUpdate date
secret object
The override can be removed to fall back to the root config value
The override can be promoted to the root config
Creation date
Value fingerprint for comparison without revealing the value: HMAC-SHA256 with the team key, empty for restricted
9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08Identifier
7001Name
DATABASE_URLNote
Connection string for the main databaseThe secret is overridden in this branch and not inherited from the root config
reminder object
Next reminder date in YYYY-MM-DD format
2026-03-01Note
Check key rotationRepeat interval in days
90Update date
Value; empty for secrets with restricted visibility unless the request uses a service token
postgresql://user:****@db:5432/appValue type; the value is validated against it on change
Possible values: [string, json, boolean, integer, decimal, email, url, yaml, xml, date, datetime]
urlVisibility: masked — the value is hidden in the interface, unmasked — shown, restricted —
the value is not returned to users, only to a service token
Possible values: [masked, unmasked, restricted]
masked