Secrets
List operational metadata
List operational metadata for visible secrets in the environment.
List operational metadata for visible secrets in the environment.
Path Parameters
project_identifier*string
The name or ID of the project.
environment_identifier*string
The name or ID of the environment.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/projects/string/environments/string/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
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}