Secrets (env. scope)
List operational metadata
List operational metadata for secrets.
List operational metadata for secrets.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/environment/secrets/metadata"{
"secrets": [
{
"name": "DATABASE_URL",
"comment": "Primary Postgres database",
"version": 12,
"has_value": true,
"created_at": "2026-05-20T08:00:00.000Z",
"updated_at": "2026-05-22T09:12:00.000Z",
"last_accessed_at": "2026-05-23T10:05:00.000Z"
}
]
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}